Can't find plasma

Maximilian Kossick maximilian.kossick at googlemail.com
Wed Jun 4 08:26:52 CEST 2008


why is sqlcollection depending on plasma in the first place???

On Wed, Jun 4, 2008 at 4:32 AM, Alejandro Wainzinger
<aikawarazuni at gmail.com> wrote:
> Yeah, this is extremely hackish, but updating to latest plasma rev,
> and swtiching <> to "" fixes it for now.  I'm sure there's a pretty
> cmake way to get this stuff done, but I'll leave that to those more
> knowledgable for now.
>
> On Tue, Jun 3, 2008 at 4:18 PM, Big O <illogical1 at gmail.com> wrote:
>> ME TOO! I bet you don't you plasma includes installed on your machine.
>> Here's how I "fixed" it. http://amarok.pastebin.org/40447
>>
>> On Tue, Jun 3, 2008 at 7:10 PM, Alejandro Wainzinger
>> <aikawarazuni at gmail.com> wrote:
>>> I keep failing compile with this:
>>>
>>> [ 69%] Building CXX object
>>> src/collection/sqlcollection/CMakeFiles/amarok_collection-sqlcollection.dir/SqlMeta.o
>>> /usr/bin/c++   -Damarok_collection_sqlcollection_EXPORTS
>>> -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align
>>> -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security
>>> -fno-exceptions -fno-check-new -fno-common -Woverloaded-virtual
>>> -fvisibility=hidden -fvisibility-inlines-hidden -g3 -fno-inline -fPIC
>>> -I/home/xevix/kde4dev/amarok/amarok-build/src/collection/sqlcollection
>>> -I/home/xevix/kde4dev/amarok/src/collection/sqlcollection
>>> -I/home/xevix/kde4dev/amarok -I/home/xevix/kde4dev/amarok/amarok-build
>>> -I/home/xevix/kde4dev/amarok/src/collection/sqlcollection/../..
>>> -I/home/xevix/kde4dev/amarok/src/collection/sqlcollection/../../plugin
>>> -I/home/xevix/kde4dev/amarok/src/collection/sqlcollection/../../meta
>>> -I/home/xevix/kde4dev/amarok/src/collection/sqlcollection/../../collection
>>> -I/home/xevix/kde4dev/amarok/src/collection/sqlcollection/../../dialogs
>>> -I/home/xevix/kde4dev/amarok/amarok-build/src/collection/sqlcollection/../..
>>> -I/home/xevix/kde/include -I/home/xevix/kde/include/KDE
>>> -I/home/xevix/qt-copy/include/QtXmlPatterns
>>> -I/home/xevix/qt-copy/include/QtWebKit
>>> -I/home/xevix/qt-copy/include/QtHelp
>>> -I/home/xevix/qt-copy/include/QtAssistant
>>> -I/home/xevix/qt-copy/include/QtDBus
>>> -I/home/xevix/qt-copy/include/QtTest
>>> -I/home/xevix/qt-copy/include/QtUiTools
>>> -I/home/xevix/qt-copy/include/QtScript
>>> -I/home/xevix/qt-copy/include/QtSvg
>>> -I/home/xevix/qt-copy/include/QtXml
>>> -I/home/xevix/qt-copy/include/QtSql
>>> -I/home/xevix/qt-copy/include/QtOpenGL
>>> -I/home/xevix/qt-copy/include/QtNetwork
>>> -I/home/xevix/qt-copy/include/QtDesigner
>>> -I/home/xevix/qt-copy/include/Qt3Support
>>> -I/home/xevix/qt-copy/include/QtGui
>>> -I/home/xevix/qt-copy/include/QtCore -I/home/xevix/qt-copy/include/Qt
>>> -I/home/xevix/qt-copy/mkspecs/default -I/home/xevix/qt-copy/include
>>> -D_BSD_SOURCE -DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS -D_XOPEN_SOURCE=500
>>> -D_BSD_SOURCE -D_GNU_SOURCE -DQT_NO_STL -DQT_NO_CAST_TO_ASCII
>>> -D_REENTRANT -DKDE_DEPRECATED_WARNINGS
>>> -I/home/xevix/kde/include/taglib -DQT_STL -DHAVE_MP4V2 -o
>>> src/collection/sqlcollection/CMakeFiles/amarok_collection-sqlcollection.dir/SqlMeta.o
>>> -c /home/xevix/kde4dev/amarok/src/collection/sqlcollection/SqlMeta.cpp
>>> In file included from
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/../../context/ContextScene.h:18,
>>>                 from
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/../../MainWindow.h:20,
>>>                 from
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/SqlMeta.cpp:24:
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/../../context/Applet.h:18:27:
>>> error: plasma/applet.h: No such file or directory
>>> In file included from
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/../../MainWindow.h:20,
>>>                 from
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/SqlMeta.cpp:24:
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/../../context/ContextScene.h:20:27:
>>> error: plasma/corona.h: No such file or directory
>>> In file included from
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/../../context/Containment.h:19,
>>>                 from
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/../../context/ContextView.h:22,
>>>                 from
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/../../MainWindow.h:21,
>>>                 from
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/SqlMeta.cpp:24:
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/../../context/plasma/containment.h:33:29:
>>> error: plasma/animator.h: No such file or directory
>>> In file included from
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/../../context/plasma/containment.h:35,
>>>                 from
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/../../context/Containment.h:19,
>>>                 from
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/../../context/ContextView.h:22,
>>>                 from
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/../../MainWindow.h:21,
>>>                 from
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/SqlMeta.cpp:24:
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/../../context/plasma/widgets/icon.h:31:31:
>>> error: plasma/dataengine.h: No such file or directory
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/../../context/plasma/widgets/icon.h:33:34:
>>> error: plasma/plasma_export.h: No such file or directory
>>> In file included from
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/../../context/ContextView.h:27,
>>>                 from
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/../../MainWindow.h:21,
>>>                 from
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/SqlMeta.cpp:24:
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/../../context/Svg.h:19:24:
>>> error: plasma/svg.h: No such file or directory
>>> In file included from
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/../../context/ContextScene.h:18,
>>>                 from
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/../../MainWindow.h:20,
>>>                 from
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/SqlMeta.cpp:24:
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/../../context/Applet.h:28:
>>> error: 'Plasma' has not been declared
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/../../context/Applet.h:28:
>>> error: expected `{' before 'Applet'
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/../../context/Applet.h:28:
>>> error: function definition does not declare parameters
>>> In file included from
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/../../MainWindow.h:20,
>>>                 from
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/SqlMeta.cpp:24:
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/../../context/ContextScene.h:25:
>>> error: 'Plasma' has not been declared
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/../../context/ContextScene.h:25:
>>> error: expected `{' before 'Corona'
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/../../context/ContextScene.h:25:
>>> error: function definition does not declare parameters
>>> In file included from
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/../../context/plasma/containment.h:35,
>>>                 from
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/../../context/Containment.h:19,
>>>                 from
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/../../context/ContextView.h:22,
>>>                 from
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/../../MainWindow.h:21,
>>>                 from
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/SqlMeta.cpp:24:
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/../../context/plasma/widgets/icon.h:49:
>>> error: function definition does not declare parameters
>>> In file included from
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/../../context/Containment.h:19,
>>>                 from
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/../../context/ContextView.h:22,
>>>                 from
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/../../MainWindow.h:21,
>>>                 from
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/SqlMeta.cpp:24:
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/../../context/plasma/containment.h:65:
>>> error: function definition does not declare parameters
>>> In file included from
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/../../context/ContextView.h:22,
>>>                 from
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/../../MainWindow.h:21,
>>>                 from
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/SqlMeta.cpp:24:
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/../../context/Containment.h:28:
>>> error: expected class-name before '{' token
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/../../context/Containment.h:28:
>>> warning: 'class Context::Containment' has virtual functions but
>>> non-virtual destructor
>>> In file included from
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/../../context/ContextView.h:27,
>>>                 from
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/../../MainWindow.h:21,
>>>                 from
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/SqlMeta.cpp:24:
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/../../context/Svg.h:24:
>>> error: 'Svg' in namespace 'Plasma' does not name a type
>>> In file included from
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/../../context/ContextView.h:29,
>>>                 from
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/../../MainWindow.h:21,
>>>                 from
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/SqlMeta.cpp:24:
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/../../context/plasma/view.h:43:
>>> error: function definition does not declare parameters
>>> In file included from
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/../../MainWindow.h:21,
>>>                 from
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/SqlMeta.cpp:24:
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/../../context/ContextView.h:43:
>>> error: invalid use of incomplete type 'struct Plasma::View'
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/../../context/plasma/containment.h:44:
>>> error: forward declaration of 'struct Plasma::View'
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/../../context/ContextView.h:75:
>>> error: ISO C++ forbids declaration of 'Applet' with no type
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/../../context/ContextView.h:75:
>>> error: invalid use of '::'
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/../../context/ContextView.h:75:
>>> error: expected ';' before '*' token
>>> In file included from
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/../../MainWindow.h:24,
>>>                 from
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/SqlMeta.cpp:24:
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/../../context/plasma/plasma.h:184:
>>> error: expected initializer before 'scalingFactor'
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/../../context/plasma/plasma.h:193:
>>> error: expected initializer before 'locationToDirection'
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/../../context/plasma/plasma.h:198:
>>> error: expected initializer before 'roundedRectangle'
>>> In file included from
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/../../meta/MetaUtility.h:31,
>>>                 from
>>> /home/xevix/kde4dev/amarok/src/collection/sqlcollection/SqlMeta.cpp:30:
>>> /home/xevix/kde/include/taglib/fileref.h:93: warning: 'class
>>> TagLib::FileRef::FileTypeResolver' has virtual functions but
>>> non-virtual destructor
>>> make[2]: *** [src/collection/sqlcollection/CMakeFiles/amarok_collection-sqlcollection.dir/SqlMeta.o]
>>> Error 1
>>> make[2]: Leaving directory `/home/xevix/kde4dev/amarok/amarok-build'
>>> make[1]: *** [src/collection/sqlcollection/CMakeFiles/amarok_collection-sqlcollection.dir/all]
>>> Error 2
>>> make[1]: Leaving directory `/home/xevix/kde4dev/amarok/amarok-build'
>>> make: *** [all] Error 2
>>> makeobj[0]: Leaving directory `/home/xevix/kde4dev/amarok/amarok-build'
>>>
>>>
>>> Any ideas what's wrong?
>>> _______________________________________________
>>> Amarok-devel mailing list
>>> Amarok-devel at kde.org
>>> https://mail.kde.org/mailman/listinfo/amarok-devel
>>>
>>
>>
>>
>> --
>> All your gmail are belong to us.
>> _______________________________________________
>> Amarok-devel mailing list
>> Amarok-devel at kde.org
>> https://mail.kde.org/mailman/listinfo/amarok-devel
>>
> _______________________________________________
> Amarok-devel mailing list
> Amarok-devel at kde.org
> https://mail.kde.org/mailman/listinfo/amarok-devel
>


More information about the Amarok-devel mailing list