You are not logged in.

#1 2008-11-16 09:49:30

lomandel
Member
Registered: 2008-10-30
Posts: 4

FlightGear launch control make issue

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

#2 2008-11-16 09:53:45

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: FlightGear launch control make issue

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

#3 2008-11-16 10:08:47

lomandel
Member
Registered: 2008-10-30
Posts: 4

Re: FlightGear launch control make issue

Neat-o smile added it there and then in settings.cxx aswell,  and worked perfectly. thx for the help big_smile

Last edited by lomandel (2008-11-16 10:09:28)

Offline

Board footer

Powered by FluxBB