Registered Member
|
Hello
I use openSUSE 11.0 and KDE 4.2.0. I'd like to compile plasma-weather but I get an error when I run make. I assume that I miss a devel package but how, if so, do I find out which I miss? CMakeFiles/plasma_applet_weather.dir/plasma-weather.o: In function `Plasma_Weather::parseData()': /home/michael/Downloads/weather/plasma-weather.cpp:106: undefined reference to `QDomDocument::QDomDocument(QString const&)' Thanks a lot -bushveld
Last edited by neverendingo on Thu Feb 05, 2009 7:12 pm, edited 1 time in total.
openSUSE 11.2 and KDE 4.4.0 -- Vita brevis! --
|
Administrator
|
Undefined references usually indicate that it is not linking aganist something. I assume you mean the weather Plasmoid located in extragear/base/plasma/applets/weather. If so, it built, linked and installed fine for me.
QDomDocument is part of the QtXml module of the Qt toolkit. There should be no problems building.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Thanks
guess I need to stopp this here (at least for me). I have not found the mentioned QT packages with openSUSE an I really run out of time. THanks for the help! -bushveld
openSUSE 11.2 and KDE 4.4.0 -- Vita brevis! --
|
Administrator
|
QtXml is usually part of the normal Qt package. Please try with a clean build directory and the latest updated packages.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Hi,,
here a liittle different bug after an update to the latest KDE 4.2.0 rel 83.1... But still no luck... I have no idea what I can do at this point.. [100%] Building CXX object CMakeFiles/plasma_applet_weather.dir/config.o Linking CXX shared module lib/plasma_applet_weather.so CMakeFiles/plasma_applet_weather.dir/plasma-weather.o: In function `Plasma_Weather::parseData()': /home/michael/Downloads/weather/plasma-weather.cpp:106: undefined reference to `QDomDocument::QDomDocument(QString const&)' thanks again -bushveld
openSUSE 11.2 and KDE 4.4.0 -- Vita brevis! --
|
Administrator
|
Could you run make like this, and post the output here?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Sure,
hope you find more infos -bushveld Here is the line where the problem starts IHMO....
openSUSE 11.2 and KDE 4.4.0 -- Vita brevis! --
|
Administrator
|
Try executing this command in /home/michael/Downloads/weather
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Great,
now the make works but the checkinstall make install fails with a similar problem. I have not understood what the above mention hint from you does but it worked for make. thx -bushveld
openSUSE 11.2 and KDE 4.4.0 -- Vita brevis! --
|
Registered Member
|
Hi,
finally something I can provide instead of just asking for help... For some reason it doesn't seem to link to the Qt XML library. So I added ${QT_QTXML_LIBRARY} to the target_link_libraries section of the CMakeLists.txt file and it works fine! Thanks to all -bushveld
openSUSE 11.2 and KDE 4.4.0 -- Vita brevis! --
|
Administrator
|
You may wish to inform the developer(s) of this Plasma widget so they can fix it upstream.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Allready done
-bushveld
openSUSE 11.2 and KDE 4.4.0 -- Vita brevis! --
|
Administrator
|
Could you please mark the thread as solved? Thanks in advance.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Hi,
this is the second time I solve a thread and it is not marked.... Will now unsovle it and solve it again... -bushveld [img=http://img246.imageshack.us/img246/9941/19352943xv4.th.jpg]
Last edited by bushveld on Mon Feb 02, 2009 11:24 am, edited 1 time in total.
openSUSE 11.2 and KDE 4.4.0 -- Vita brevis! --
|
Registered users: bancha, Bing [Bot], Google [Bot], Sogou [Bot]