On Saturday 20 October 2012 01:08:58 Darrell Anderson wrote: > > Everything seems fine. Maybe you have somewhere another > > scriptmanager.h which is included accidentally? > > Ah, um, well... > > You might be on to something. > > There is another scriptmanager.h on the system, installed by the tdelibs > package. :) > > /opt/trinity/include/scriptmanager.h > > GIT sources: tdelibs/interfaces/kscript/scriptmanager.h > > So how do I edit CMakeLists.txt, or amarokdcophandler.cpp or > amarokdcophandler.h to use the local scriptmanager.h and not the one > installed in /opt/trinity/include? > > Darrell Well, this a side effect of altering CXX flags, the order of searching is broken. As a workaround, change #include "scriptmanager.h" to #include "../scriptmanager.h" -- Serghei