KDE Developer
|
Hi! I'm trying to write some code using "Amarok.h" and "EngineController.h". in CMakeLists.txt i added in "include_directories" the path of the sources of amarok, but i still get undefined references when linking. what does my CMakeLists.txt misses?
Error:
|
KDE Developer
|
i answer by myself i had to put "amaroklib" in the "target_link_libraries" section.
|
Registered users: bancha, Bing [Bot], daret, Evergrowing, Google [Bot], lockheed, sandyvee, Sogou [Bot]