Amarok 2 build issues with libmtp

Mark Kretschmann kretschmann at kde.org
Wed Sep 10 21:04:45 CEST 2008


Hey all (and especially Xevix),

lately I've been reading a lot about build troubles involving libmtp.
I hear that Amarok depends on the newer version of this library than
most distros provide. Typical error log:

/home/jo/downloads/amarok-1.90/build/src/collection/mtpcollection/../../../../src/collection/mtpcollection/handler/MtpHandler.h:156:
error: 'LIBMTP_raw_device_t' has not been declared
/home/jo/downloads/amarok-1.90/build/src/collection/mtpcollection/../../../../src/collection/mtpcollection/handler/MtpHandler.h:167:
error: ISO C++ forbids declaration of 'LIBMTP_raw_device_t' with no
type
/home/jo/downloads/amarok-1.90/build/src/collection/mtpcollection/../../../../src/collection/mtpcollection/handler/MtpHandler.h:167:
error: expected ';' before '*' token
make[2]: *** [src/collection/mtpcollection/CMakeFiles/amarok_collection-mtpcollection.dir/amarok_collection-mtpcollection_automoc.o]
Fehler 1
make[1]: *** [src/collection/mtpcollection/CMakeFiles/amarok_collection-mtpcollection.dir/all]
Fehler 2
make: *** [all] Fehler 2


So I'm wondering, why does our CMake check not detect the correct version?

-- 
Mark Kretschmann
Amarok Developer
www.kde.org - amarok.kde.org


More information about the Amarok-devel mailing list