On Fri, 2006-11-17 at 15:17 +0100, Frederic Bouvier wrote: > Quoting Dave Perry : > > > I wanted to try the osg updates. Plib is from cvs several months ago. > > Successfully compiled and installed osg from > > OSG_OP_OT-1.2-Flightgear.tar per the README.txt. > > > > Checked out the current cvs for SimGear. Did > > sh autogen.sh > > ./configure --build=i686 --with-jpeg-factory > > make > > > > and get the following error. > > > > Making all in screen > > make[3]: Entering directory > > `/usr/local/source-osg/source/simgear/screen' > > if g++ -DHAVE_CONFIG_H -I. -I. -I../../simgear -I../.. -I../.. > > -DGLX_GLXEXT_PROTOTYPES -g -O2 -D_REENTRANT -MT GLBitmaps.o -MD -MP > > -MF ".deps/GLBitmaps.Tpo" -c -o GLBitmaps.o GLBitmaps.cxx; \ > > then mv -f ".deps/GLBitmaps.Tpo" ".deps/GLBitmaps.Po"; else rm -f > > ".deps/GLBitmaps.Tpo"; exit 1; fi > > if g++ -DHAVE_CONFIG_H -I. -I. -I../../simgear -I../.. -I../.. > > -DGLX_GLXEXT_PROTOTYPES -g -O2 -D_REENTRANT -MT jpgfactory.o -MD -MP > > -MF ".deps/jpgfactory.Tpo" -c -o jpgfactory.o jpgfactory.cxx; \ > > then mv -f ".deps/jpgfactory.Tpo" ".deps/jpgfactory.Po"; else rm -f > > ".deps/jpgfactory.Tpo"; exit 1; fi > > jpgfactory.cxx: In member function ‘int trJpgFactory::render()’: > > jpgfactory.cxx:243: error: ‘frustum’ was not declared in this scope > > jpgFactory.cxx has not been ported to OSG. It still use plib ssg code. > > -Fred
I checked out the latest svn plib and compiled it and recompiled simgear. I still get the same error. Without the ---with-jpeg-factory, simgear compiles OK, but then the cvs flightgear won't compile. It appears that an include .h file is missing causing the undefined variables. Where to look? Dave -- Dave Perry <[EMAIL PROTECTED]> ------------------------------------------------------------------------- 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-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel