[Kstars-devel] Problems compiling KStars for KDE 3.1.4

Pablo de Vicente pvicentea at wanadoo.es
Wed Sep 24 16:32:51 CEST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

El Miércoles 24 de Septiembre de 2003 13:37, Pablo de Vicente escribió:
>  Today I have found some problems compiling KStars for KDE 3.1.4. They have
> appeared when I changed KSNumbers.cpp and KSNumbers.h and more files got
> recompiled.
>
>  I get the following errors:
>
> g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/kde
> -I/usr/share/qt3/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT
> -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W
> -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi
> -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion
> -Wchar-subscripts -fno-builtin -g -O2 -fno-exceptions -fno-check-new
> -fno-common
> -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST  -c -o kstarsactions.o `test -f
> 'kstarsactions.cpp' || echo './'`kstarsactions.cpp
> In file included from kstarsactions.cpp:64:
> scriptbuilder.h:126: syntax error before `*'
> kstarsactions.cpp: In method `void KStars::slotSetZoom()':
> kstarsactions.cpp:656: warning: taking address of temporary
> make[1]: *** [kstarsactions.o] Error 1
> make[1]: Leaving directory
> `/home/pablo/kde/kde-3-head-cvs/kdeedu/kstars/kstars'
> make: *** [all-recursive] Error 1
>
> I do not understand these errors and I cannot check if these errors where
> similar to those mentioned by Lauri Watts because I do not have her email
> right now. Can somebody help?.

 It was my fault. It seems that I changed scriptnamedialog.ui from 3.2 to 3.1 
(locally) and I forgot to close the version number with ", therefore ui 
produced a wrong scriptnamedialog.h which caused compilation errors in  
scriptbuilder.h and kstarsactions.cpp.


This is fixed now.

regards,

Pablo.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/cZ0ESItUpHl6kJERAnnNAJ91IxrCth6M7fH/5jWc/I1Ep+xHaACfSh++
yDxK+tR6lBZ6AblMgjrbrQs=
=06nK
-----END PGP SIGNATURE-----


More information about the Kstars-devel mailing list