Forum » Last.fm Client Support

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

 
    • jzakour1 pisze...
    • Użytkownik
    • 18 II 2012, 13:08

    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, ...
    Edytowane przez Erkan-Yilmaz dnia 22 II 2012, 9:44

  • the same to you,thanks

    • jzakour1 pisze...
    • Użytkownik
    • 22 II 2012, 10:11
    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 pisze...
    • Forum Moderator
    • 23 II 2012, 23:17
    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 :)
Anonimowi użytkownicy nie mogą wysyłać wiadomości. Zaloguj się lub utwórz konto, aby móc wysyłać wiadomości na forum.