On Friday 19 October 2012 08:27:33 Darrell Anderson wrote: > I'm trying to resolve bug report 1040 with respect to amarok not building > with cmake. > > Under normal conditions, the build always fails with the following: > > /dev/shm/amarok/amarok/src/amarokcore/amarokdcophandler.cpp:914: error: > 'ScriptManager' has not been declared > /dev/shm/amarok/amarok/src/amarokcore/amarokdcophandler.cpp:919: error: > 'ScriptManager' has not been declared > /dev/shm/amarok/amarok/src/amarokcore/amarokdcophandler.cpp:924: error: > 'ScriptManager' has not been declared > > I concluded that amarokdcophandler.cpp was not finding scriptmanager.h, > which is in the parent directory. > > As a test, I copied scriptmanager.h to the same directory as > amarokdcophandler.cpp. The build failures disappeared and the package > built. Try to add ${CMAKE_CURRENT_SOURCE_DIR}/.. to include_directories() > Seems that amarok/amarok/src/amarokcore/CMakeLists.txt needs to be fixed > but I don't know what to do. > > Thanks much! > > Darrell -- Serghei