Guys,

Flightgear does NOT build cleanly from CVS! (setup: RedHat Linux 7.2,
with MesaLib 4.0.1)

I have reported this problem several times on this list over the last
couple of months, but nobody has responded to confirm/deny/discuss any
of these problem reports. I can't believe that these problems haven't
stung anyone else, so I'll repeat them one more time. Can someone please
give me an opinion on these, even if it's 'shut up Ross, you idiot!'. :)

So, starting from a FRESH CVS checkout...

$ ./autogen.sh

Looks good, no problems there.

$ make
...
g++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src 
-I/usr/local/include -I/usr/X11R6/include  -g -O2 -c gui.cxx
gui.cxx: In function `void helpCb (puObject *)':
gui.cxx:452: `global_fullscreen' undeclared (first use this function)
gui.cxx:452: (Each undeclared identifier is reported only once for each 
function it appears in.)
make[2]: *** [gui.o] Error 1

Doesn't anyone else get this? If not, how the hell is gui.cxx expected
to know about global_fullscreen?

OK, so I add '#include <Main/options.hxx>' to src/GUI/gui.cxx, and carry
on...

$ make
...
g++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src 
-I/usr/local/include -I/usr/X11R6/include
-DPKGLIBDIR=\"/usr/local/lib/FlightGear\" -g -O2 -c fg_io.cxx
fg_io.cxx: In function `void fgIOProcess ()':
fg_io.cxx:285: warning: passing `double' for argument 1 of 
`FGProtocol::dec_count_down (int)'
g++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src 
-I/usr/local/include -I/usr/X11R6/include
-DPKGLIBDIR=\"/usr/local/lib/FlightGear\" -g -O2 -c fg_props.cxx
fg_props.cxx: In function `bool getFullScreen ()':
fg_props.cxx:1060: `global_fullscreen' undeclared (first use this 
function)
fg_props.cxx:1060: (Each undeclared identifier is reported only once 
for each function it appears in.)
make[2]: *** [fg_props.o] Error 1

Same again! So I add '#include "options.hxx"' to src/Main/fg_props.cxx,
and carry on...

$ make
...
Now it works.

It's not exactly rocket science, now, is it?

But why is it not in CVS? How come it seems to work for other people,
but not for me? Comments welcome!!!

--
Ross


_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to