Selon Arthur Wiebe :

> 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 ---

It's committed in CVS

-Fred

--
Frédéric Bouvier
http://frfoto.free.fr         Photo gallery - album photo
http://www.fotolia.fr/p/2278  Other photo gallery
http://fgsd.sourceforge.net/  FlightGear Scenery Designer


-------------------------------------------------------
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&kid0709&bid&3057&dat1642
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to