Fórum » Last.fm Client Support

Compiling lastfm-desktop on ubuntu 11.04 missing gpod/itdb.h

 
    • jzakour1 disse...
    • Usuário
    • Fev 18 2012, 13h08

    Compiling lastfm-desktop on ubuntu 11.04 missing gpod/itdb.h

    Hey,

    I'm trying to compile the lastfm-desktop beta on ubuntu 11.04 and I get the following error:

    MediaDevices/IpodDevice_linux.cpp:36:27: fatal error: gpod/itdb.h: No such file or directory
    compilation terminated.
    make[1]: *** [build/IpodDevice_linux.o] Error 1
    make[1]: *** Waiting for unfinished jobs....
    make[1]: Leaving directory `/home/eviljonny/gitdevel/lastfm-desktop/app/client'
    make: *** Error 2


    I have already installed libgpod-dev, my full dependency install line is:

    sudo apt-get install libqt4-dev pkg-config libtag1-dev libsamplerate0-dev libfftw3-dev libmad0-dev libsqlite3-dev libqt4-sql-sqlite libphonon-dev zlib1g-dev libgpod-dev

    locate shows me that it exists

    ~/gitdevel/lastfm-desktop$ locate itdb.h
    /usr/include/gpod-1.0/gpod/itdb.h


    Thanks

  • I had the same error on Ubuntu 10.10

    dirty hack:
    you can bypass it with symbolic links to the according system dirs, search for the header files to find them
    (or just copy all header files or this seems to have also worked once)

    though I am stuck at another problem: can't play radio :-(

    msg: The Webservices API key supplied does not have permission to stream / create new radio trials

    I am no subscriber, but in Germany located currently which should enable radio playing, I think (the 1.5.4.x client can play) (1)

    I'll keep adding more info here

    (1) There was also a compile error with ApiKey.h
    (I bypassed it with hardcoding the API_SECRET + API_KEY from this user account in the according cpp file)
    Perhaps this is causing it? I'll try now...

    last.fm tools: music soulmates, recommender for: bands, last.fm groups, trends, ...
    Editado por Erkan-Yilmaz em Fev 22 2012, 9h44

  • the same to you,thanks

    • jzakour1 disse...
    • Usuário
    • Fev 22 2012, 10h11
    Yeah I got other errors as well, my API secret and key files are essentially empty, I just copied the ApiKey.h.in to ApiKey.h, I've no idea if that will work but didn't get far enough to find out.

    I don't know why I didn't think to just symlink the headers! Good plan, I'll give it a go tonight.

    Thanks, I'll let you know how it goes.

    • tburny disse...
    • Forum Moderator
    • Fev 23 2012, 23h17
    I wrote a Guide :) http://www.last.fm/forum/34905/_/2032912
    Any help or tips appreciated ;)

    Combo.fm: Combine your favourite radio stations! | My Blog | scala-lastfmapi
    P.S.: Do not click here
    throw new PokemonException(); //Gotta catch 'em all
    My forum post reflects my personal opinion :)
Usuários anônimos não podem postar mensagens. É preciso fazer login ou criar uma conta para postar nos fóruns.