Here is a patch to RenderTexture.h that needs to be applied in order for it to compile. At least for me using Xcode 2.2.1 and OSX 10.4.6.
Index: RenderTexture.h =================================================================== RCS file: /var/cvs/SimGear-0.3/source/simgear/screen/RenderTexture.h,v retrieving revision 1.8 diff -u -8 -p -r1.8 RenderTexture.h --- RenderTexture.h 11 Mar 2006 22:20:19 -0000 1.8 +++ RenderTexture.h 3 May 2006 22:31:00 -0000 @@ -49,16 +49,19 @@ * Mar. 2006, Added MAC OS X support, Alexander Powell */ #include <simgear/compiler.h> #if !defined( _WIN32 ) && !defined( __MACH__ ) # include <X11/Xlib.h> #endif #include SG_GL_H +#if defined( __MACH__) +# include <OpenGL/CGLTypes.h> +#endif #ifndef _WIN32 # include SG_GLX_H #endif #include <string> #include <vector> /* The pixel format for the pbuffer is controlled by the mode string passed !!!! --- End of patch --- -- <Arthur/> - http://artooro.googlepages.com/aboutme
RenderTexture.diff
Description: Binary data