Amarok latest SVN compilation issue

Dâniel Fraga fragabr at gmail.com
Thu Mar 12 04:01:52 UTC 2009


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.

-- 
Linux 2.6.28: Erotic Pickled Herring
http://u-br.net





More information about the Amarok mailing list