trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: October 2012

cmake help building amarok (Serghei?)

From: Darrell Anderson <humanreadable@...>
Date: Thu, 18 Oct 2012 22:27:33 -0700 (PDT)
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.

Seems that amarok/amarok/src/amarokcore/CMakeLists.txt needs to be fixed but I don't know what to do.

Thanks much!

Darrell