I've had this build problem for a long time (at least 5 months) but my arthritis has been too bad to follow up 8-(
I would really like to get it fixed in the source tree however. Just including <OpenGL/CGLTypes.h> as done in version 1.9 doesn't build, I must include <OpenGL/OpenGL.h> instead. when I try to build in a terminal window on mac os x (10.4.8), with latest plib (svn), simgear (cvs), flightgear (cvs), I get a build break, as shown below in the section called build listing: ---------- patch start ---- Index: SimGear/simgear/screen/RenderTexture.h =================================================================== RCS file: /var/cvs/SimGear-0.3/SimGear/simgear/screen/RenderTexture.h,v retrieving revision 1.9 diff -u -r1.9 RenderTexture.h --- SimGear/simgear/screen/RenderTexture.h 4 May 2006 05:58:59 -0000 1.9 +++ SimGear/simgear/screen/RenderTexture.h 27 Oct 2006 15:59:15 -0000 @@ -55,7 +55,7 @@ #endif #include SG_GL_H #if defined( __MACH__) -# include <OpenGL/CGLTypes.h> +# include <OpenGL/OpenGL.h> /* CGLTypes.h> */ #endif #ifndef _WIN32 # include SG_GLX_H ---------- patch end --- Could someone with write authority to simgear cvs please apply this patch? Thanks! Ima ------------ build listing --------------- g4:/src] ima% gcc --version powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5363) Copyright (C) 2005 Free Software Foundation, Inc. g++ -DHAVE_CONFIG_H -I. -I. -I../../simgear -I../.. -I../.. - DGLX_GLXEXT_PROTOTYPES -I/src/fgdev9.10/include -g -O2 -D_REENTRANT -c -o RenderTexture.o `test -f 'RenderTexture.cpp' || echo './'`RenderTexture.cpp RenderTexture.cpp: In member function 'bool RenderTexture::Initialize (int, int, bool, bool)': RenderTexture.cpp:496: error: 'CGLGetCurrentContext' was not declared in this scope RenderTexture.cpp:517: error: 'CGLChoosePixelFormat' was not declared in this scope RenderTexture.cpp:537: error: 'CGLCreateContext' was not declared in this scope RenderTexture.cpp:545: error: 'CGLDestroyPixelFormat' was not declared in this scope RenderTexture.cpp:549: error: 'CGLCreatePBuffer' was not declared in this scope RenderTexture.cpp:559: error: 'CGLGetVirtualScreen' was not declared in this scope RenderTexture.cpp:564: error: 'CGLSetPBuffer' was not declared in this scope RenderTexture.cpp:737: error: 'CGLSetCurrentContext' was not declared in this scope RenderTexture.cpp:767: error: 'CGLSetCurrentContext' was not declared in this scope RenderTexture.cpp: In member function 'bool RenderTexture::_Invalidate ()': RenderTexture.cpp:832: error: 'CGLGetCurrentContext' was not declared in this scope RenderTexture.cpp:833: error: 'CGLSetCurrentContext' was not declared in this scope RenderTexture.cpp:835: error: 'CGLDestroyContext' was not declared in this scope RenderTexture.cpp:836: error: 'CGLDestroyPBuffer' was not declared in this scope RenderTexture.cpp: In member function 'bool RenderTexture::Resize (int, int)': RenderTexture.cpp:989: error: 'CGLGetCurrentContext' was not declared in this scope RenderTexture.cpp:990: error: 'CGLSetCurrentContext' was not declared in this scope RenderTexture.cpp:992: error: 'CGLDestroyContext' was not declared in this scope RenderTexture.cpp:993: error: 'CGLDestroyPBuffer' was not declared in this scope RenderTexture.cpp: In member function 'bool RenderTexture::BeginCapture()': RenderTexture.cpp:1040: error: 'CGLGetCurrentContext' was not declared in this scope RenderTexture.cpp: In member function 'bool RenderTexture::EndCapture ()': RenderTexture.cpp:1082: error: 'CGLSetCurrentContext' was not declared in this scope RenderTexture.cpp: In member function 'bool RenderTexture::BindBuffer (int)': RenderTexture.cpp:1249: error: 'CGLGetCurrentContext' was not declared in this scope RenderTexture.cpp:1249: error: 'CGLTexImagePBuffer' was not declared in this scope RenderTexture.cpp: In member function 'bool RenderTexture::_MakeCurrent()': RenderTexture.cpp:2583: error: 'CGLSetCurrentContext' was not declared in this scope make: *** [RenderTexture.o] Error 1 [g4:simgear/simgear/screen] ima% mv rendertexture.h.TEMP RenderTexture.h # copy over patched file... [g4:simgear/simgear/screen] ima% make source='RenderTexture.cpp' object='RenderTexture.o' libtool=no \ depfile='.deps/RenderTexture.Po' tmpdepfile='.deps/RenderTexture.TPo' \ depmode=gcc3 /bin/sh ../../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I../../simgear -I../.. -I../.. - DGLX_GLXEXT_PROTOTYPES -I/src/fgdev9.10/include -g -O2 -D_REENTRANT -c -o RenderTexture.o `test -f 'RenderTexture.cpp' || echo './'`RenderTexture.cpp [g4:simgear/simgear/screen] ima% ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel