[Kstars-devel] Problems compiling parts of KStars for KDE 4.0

Pablo de Vicente pablo.devicente at gmail.com
Mon Dec 19 23:13:28 CET 2005


Hello,

   I am trying to resume my contribution to KStars and first I am trying to 
compile KStars using KDE 4.0. But I have been unsuccessful up to now.

I have two questions. What is an .la file?. I only know of .so (dynamical 
libraries) and .a (static libraries), but I know nothing about .la libraries. 
I ask because the first error I get compiling KStars from kdeedu top 
directory is:

WARNING: use unsermake instead of make or use a wrapper script, e.g. 
makeobj!!!
/home/kde/kde-svn/trunk/kdenonbeta/unsermake/unsermake all
kstars/kstars/Makefile.am: no rule to create 
target: ./kstars/kstars/widgets/libkstarswidgets.la(./kstars/kstars/kstars)
make: *** [all] Error 1

As you can see it does not compile because it cannot find a rule to create 
libkstarswidgets.la. Any idea of what I am doing wrong?.

So I moved to kstars/kstars/widgets and tried to compile the code there to see 
if a libkstarswidgets.la library was created. But I also got another error 
here:

compiling /home/kde/kde-svn/trunk/KDE/kdeedu/kstars/kstars/widgets/kstarsplotwidget.cpp
g++ -DHAVE_CONFIG_H -I../../../kstars/kstars/widgets 
-I/home/kde/kde-svn/trunk/KDE/kdeedu/kstars/kstars/widgets -I../../.. 
-I/home/kde/kde-svn/trunk/KDE/kdeedu/kstars/kstars/widgets/.. 
-I/home/kde/kde-svn/trunk/KDE/kdeedu -I/usr/local/kde/include 
-I/usr/local/Trolltech/Qt-4.1.0-rc1/include 
-I/usr/local/Trolltech/Qt-4.1.0-rc1/include/Qt 
-I/usr/local/Trolltech/Qt-4.1.0-rc1/include/QtCore 
-I/usr/local/Trolltech/Qt-4.1.0-rc1/include/QtGui 
-I/usr/local/Trolltech/Qt-4.1.0-rc1/include/QtXml 
-I/usr/local/Trolltech/Qt-4.1.0-rc1/include/Qt3Support -I. 
-DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef 
-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion 
-Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security 
-Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common 
-DQT_CLEAN_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_NO_STL -DQT_NO_COMPAT 
-DQT_NO_TRANSLATION -DQT3_SUPPORT 
-c /home/kde/kde-svn/trunk/KDE/kdeedu/kstars/kstars/widgets/kstarsplotwidget.cpp 
-o ../../../kstars/kstars/widgets/kstarsplotwidget.o 
-Wp,-MD,../../../kstars/kstars/widgets/.deps/kstarsplotwidget.TUo
/home/kde/kde-svn/trunk/KDE/kdeedu/kstars/kstars/widgets/kstarsplotwidget.h:125: 
error: 'DRect' does not name a type

and many other errors related to the fact that DRect is not defined. 

I thought that was defined in kdeedu/libkdeedu/kdeeduplot but I found no type 
or class named DRect there. Is DRect a QRectf object?. If one changes it by 
QRectf that part compiles, but I am not sure this is what is supposed to be.

After that I get more errors... but I will come back to those after this is 
sorted out.

thanks

Pablo.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kstars-devel/attachments/20051219/2ef059f4/attachment.pgp


More information about the Kstars-devel mailing list