[Kstars-devel] problem compiling cvs to add a little feature
Alessio Sangalli
alesan at manoweb.com
Wed May 19 11:13:11 CEST 2004
Jason Harris wrote:
> On Tuesday 18 May 2004 02:18 pm, Alessio Sangalli wrote:
>
>>Jason Harris wrote:
>>
>>>>I would like to contribute some work to Kstars. Now I've quite finished
>>>>with the new house and I should have more time for Kstars :)
>>>
>>>Excellent! If you want, you can start with improving the filtering in
>>>the Find Object window. Or take a look at the "TODO" section of the 3.3
>>>feature plan:
>>>http://developer.kde.org/development-versions/kde-3.3-features.html
>>
>>Yes but I need to be able to compile kstars at least :(
>>
>
> For now, you can just skip the indi directory by changing the file
> kstars/kstars/Makefile.am. Make the "kstars_LDADD" and "SUBDIRS" lines look
> like this:
>
> -----------
> kstars_LDADD = tools/libkstarstools.a
> $(top_builddir)/libkdeedu/kdeeduplot/libkdeeduplot.la
> $(top_builddir)/libkdeedu/extdate/libextdate.la -lkdeprint -lm
>
> SUBDIRS = tools . data icons
> -----------
>
> then run 'make -f Makefile.cvs' and './configure' again (both in kdeedu dir).
Ok, unfortunately I have another problem:
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I/usr/kde/3.2/include
-I/usr/qt/3/include -I/usr/X11R6/include -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 -Wwrite-strings -O2
-Wformat-security -Wmissing-format-attribute -fno-exceptions
-fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST
-DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE -MT
kstarsdcop.o -MD -MP -MF ".deps/kstarsdcop.Tpo" \
-c -o kstarsdcop.o `test -f 'kstarsdcop.cpp' || echo
'./'`kstarsdcop.cpp; \
then mv -f ".deps/kstarsdcop.Tpo" ".deps/kstarsdcop.Po"; \
else rm -f ".deps/kstarsdcop.Tpo"; exit 1; \
fi
kstarsdcop.cpp: In member function `virtual void
KStars::popupMessage(int, int,
QString)':
kstarsdcop.cpp:104: warning: unused parameter `int x'
kstarsdcop.cpp:104: warning: unused parameter `int y'
kstarsdcop.cpp:104: warning: unused parameter `QString message'
kstarsdcop.cpp: In member function `virtual void KStars::drawLine(int, int,
int, int, int)':
kstarsdcop.cpp:108: warning: unused parameter `int x1'
kstarsdcop.cpp:108: warning: unused parameter `int y1'
kstarsdcop.cpp:108: warning: unused parameter `int x2'
kstarsdcop.cpp:108: warning: unused parameter `int y2'
kstarsdcop.cpp:108: warning: unused parameter `int speed'
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I/usr/kde/3.2/include
-I/usr/qt/3/include -I/usr/X11R6/include -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 -Wwrite-strings -O2
-Wformat-security -Wmissing-format-attribute -fno-exceptions
-fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST
-DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE -MT
kstarsinit.o -MD -MP -MF ".deps/kstarsinit.Tpo" \
-c -o kstarsinit.o `test -f 'kstarsinit.cpp' || echo
'./'`kstarsinit.cpp; \
then mv -f ".deps/kstarsinit.Tpo" ".deps/kstarsinit.Po"; \
else rm -f ".deps/kstarsinit.Tpo"; exit 1; \
fi
kstarsinit.cpp: In member function `void KStars::initActions()':
kstarsinit.cpp:125: error: `setCheckedState' undeclared (first use this
function)
kstarsinit.cpp:125: error: (Each undeclared identifier is reported only once
for each function it appears in.)
make[2]: *** [kstarsinit.o] Error 1
make[2]: Leaving directory `/usr/src/kdeedu/kstars/kstars'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/kdeedu/kstars/kstars'
make: *** [all-recursive] Error 1
monika kstars #
> ./configure --prefix=/path/to/fake/target --with-qt-dir=$QTDIR
> --includedir=$KDEDIR/include --libdir=$KDEDIR/lib
I have used this options... could this be the problem?
ciao
Alessio Sangalli
More information about the Kstars-devel
mailing list