Amarok latest SVN compilation issue

Ian Monroe ian.monroe at gmail.com
Thu Mar 12 12:50:27 UTC 2009


On Wed, Mar 11, 2009 at 11:01 PM, Dâniel Fraga <fragabr at gmail.com> wrote:
> On Wed, 11 Mar 2009 20:48:29 -0500
> Ian Monroe <ian.monroe at gmail.com> wrote:
>
>> On Tue, Mar 10, 2009 at 12:56 PM, Dâniel Fraga <fragabr at gmail.com> wrote:
>> > /home/fraga/svn/amarok/cmake/modules/QtScriptBindingsTest.cpp:36: error: 'QString' was not declared in this scope
>> > /home/fraga/svn/amarok/cmake/modules/QtScriptBindingsTest.cpp:36: error: 'foreach' was not declared in this scope
>> > /home/fraga/svn/amarok/cmake/modules/QtScriptBindingsTest.cpp:37: error: expected `;' before '{' token
>> > /home/fraga/svn/amarok/cmake/modules/QtScriptBindingsTest.cpp:45: error: expected `}' at end of input
>
>        Thanks Ian! The error:
>
> [  4%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscriptshell_QTextCodecPlugin.o
> /usr/local/Trolltech/Qt-4.5.0/include/QtCore/qmetatype.h: In static member function 'static int QMetaTypeId2<T>::qt_metatype_id() [with T = QList<int>]':
> /usr/local/Trolltech/Qt-4.5.0/include/QtCore/qmetatype.h:199:   instantiated from 'int qMetaTypeId(T*) [with T = QList<int>]'
> /usr/local/Trolltech/Qt-4.5.0/include/QtScript/qscriptengine.h:372:   instantiated from 'T qscriptvalue_cast(const QScriptValue&) [with T = QList<int>]'
> /home/fraga/svn/amarok/b/src/scriptengine/generator/generator/generated_cpp/com_trolltech_qt_core/qtscriptshell_QTextCodecPlugin.cpp:128:   instantiated from here
> /usr/local/Trolltech/Qt-4.5.0/include/QtCore/qmetatype.h:189: error: 'qt_metatype_id' is not a member of 'QMetaTypeId<QList<int> >'
> make[2]: *** [src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscriptshell_QTextCodecPlugin.o] Error 1
> make[1]: *** [src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/all] Error 2
> make: *** [all] Error 2
>
>        And now I can't cd CMakeTmp/generator/CMakeFiles/CMakeTmp because it isn't created.

Go ahead post again the output of the running of cmake
--debug-trycompile .. in the empty build directory.

But yea sorry. Now its in CMakeFiles/CMakeTmp. Run make there, and
then run ./cmTryCompileExec and paste any make errors or any output
from the latter. also echo $? after running cmTryCompileExec.

Ian



More information about the Amarok mailing list