You are not logged in.
I wanted to get the gui wizard for flightgear, but it wasnt in the repos, so i downloaded the tarball form sourceforge and went to configure and make.
When i did ./configure in the fgrun directory, it seemed to work with no errors, but when i type make, it outputs
Making all in src
make[1]: Entering directory `/home/steven/ui/fgrun-1/fgrun-1.0.1/src'
make all-am
make[2]: Entering directory `/home/steven/ui/fgrun-1/fgrun-1.0.1/src'
g++ -DHAVE_CONFIG_H -I. -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -MT advanced.o -MD -MP -MF .deps/advanced.Tpo -c -o advanced.o advanced.cxx
advanced.cxx: In member function 'void Advanced::cb_fdm_i(Fl_Choice*, void*)':
advanced.cxx:59: error: 'strcmp' was not declared in this scope
make[2]: *** [advanced.o] Error 1
make[2]: Leaving directory `/home/steven/ui/fgrun-1/fgrun-1.0.1/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/steven/ui/fgrun-1/fgrun-1.0.1/src'
make: *** [all-recursive] Error 1
i have no idea even where to begin...
Offline
seems that you need to edit advanced.cxx and add #include <string.h>
see that http://gcc.gnu.org/gcc-4.3/porting_to.html
Give what you have. To someone, it may be better than you dare to think.
Offline
Neat-o added it there and then in settings.cxx aswell, and worked perfectly. thx for the help
Last edited by lomandel (2008-11-16 10:09:28)
Offline