Curtis Olson wrote: > On 12/10/06, Craig Goodyear wrote: >> >> I am using Fedora Core 6. I have successfully installed plib-1.8.4 and >> SimGear-0.3.10. When compiling FlightGear-0.9.10, I get the following >> error. Any idea what the problem could be? >> >> Making all in GUI >> make[2]: Entering directory >> `/usr/local/src/FlightGear/FlightGear-0.9.10/src/GUI' >> if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src >> -I/usr/local/include -g -O2 -D_REENTRANT -MT new_gui.o -MD -MP -MF >> ".deps/new_gui.Tpo" -c -o new_gui.o new_gui.cxx; \ >> then mv -f ".deps/new_gui.Tpo" ".deps/new_gui.Po"; else rm -f >> ".deps/new_gui.Tpo"; exit 1; fi >> if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src >> -I/usr/local/include -g -O2 -D_REENTRANT -MT dialog.o -MD -MP -MF >> ".deps/dialog.Tpo" -c -o dialog.o dialog.cxx; \ >> then mv -f ".deps/dialog.Tpo" ".deps/dialog.Po"; else rm -f >> ".deps/dialog.Tpo"; exit 1; fi >> dialog.cxx: In member function 'puObject* >> FGDialog::makeObject(SGPropertyNode*, int, int)': >> dialog.cxx:637: error: 'puComboBox' was not declared in this scope >> dialog.cxx:637: error: 'obj' was not declared in this scope >> dialog.cxx:637: error: expected type-specifier before 'puComboBox' >> dialog.cxx:637: error: expected `;' before 'puComboBox' >> dialog.cxx:670: error: 'puLargeInput' was not declared in this scope >> dialog.cxx:670: error: 'obj' was not declared in this scope >> dialog.cxx:670: error: expected type-specifier before 'puLargeInput' >> dialog.cxx:670: error: expected `;' before 'puLargeInput' >> dialog.cxx:697: error: 'puSelectBox' was not declared in this scope >> dialog.cxx:697: error: 'obj' was not declared in this scope >> dialog.cxx:698: error: expected type-specifier before 'puSelectBox' >> dialog.cxx:698: error: expected `;' before 'puSelectBox' >> make[2]: *** [dialog.o] Error 1 >> make[2]: Leaving directory >> `/usr/local/src/FlightGear/FlightGear-0.9.10/src/GUI' >> make[1]: *** [all-recursive] Error 1 >> make[1]: Leaving directory `/usr/local/src/FlightGear/FlightGear-0.9.10 >> /src' >> make: *** [all-recursive] Error 1 >> >> > > There shouldn't be any problem with Fedora Core 6, that's what I am running > here. You might want to hunt around and make sure you don't have another > copy of plib floating around on your system. "rpm -qa | grep plib" or > search for previous installations you might have done yourself? > > Regards, > > Curt. > Thank you for the response. I did find a second copy of plib installed. I removed it and re-built SimGear without any problems. Unfortunately, that didn't correct the problem with FlightGear. I still get the above error when trying to compile FlightGear.
I currently have the following installed: freeglut-2.4.0-10.1.fc6 installed with rpm freeglut-devel-2.4.0-10.1.fc6 with with rpm compile and build openal-0.0.8 from source w/o any parameters plib-1.8.4-8.3.20061023cvs.fc6 installed with rpm plib-devel-1.8.4-8.3.20061023cvs.fc6 installed with rpm compile and build SimGear-0.3.10 from source using with-jpeg-factory and with-x parameters try to compile FlightGear-0.9.10 using with-x parameter Please indicate any different packages or install methods you are using to successfully build FlightGear. Thanks, Craig ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Flightgear-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/flightgear-users
