Re: [Flightgear-devel] SimGear RenderTexture Patch for OSX

2006-05-04 Thread Arthur Wiebe

Thanks.

On 5/4/06, Frederic Bouvier [EMAIL PROTECTED] wrote:

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 -  1.8
 +++ RenderTexture.h   3 May 2006 22:31:00 -
 @@ -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?cmdlnkkid0709bid3057dat1642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel




--
Arthur/
- http://artooro.googlepages.com/aboutme


[Flightgear-devel] SimGear RenderTexture Patch for OSX

2006-05-03 Thread 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 -  1.8
+++ RenderTexture.h 3 May 2006 22:31:00 -
@@ -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


Re: [Flightgear-devel] MAC OS-X developer request

2006-03-07 Thread Arthur Wiebe
I'd love to test the patch as well. (I'm the developer of macflightgear--who doesn't have much time to work on it anymore.)Might not be able to test it until Saturday though.By the way James, would you like to help out with the macflightgear project? Let me know by private email if you are interested.
On 3/7/06, James Turner [EMAIL PROTECTED] wrote:
On 7 Mar 2006, at 14:49, Erik Hofman wrote:
I got an answer from someone who has been working on getting the RenderTexture class working for Mac OS-X. 
 
Who is the main OS-X developer who wants to test this code and make some adjustments if necessary? Hmm, I've done some work on this over the past few weeks, but I don't have anything that behaves yet, so I'll happily test someone else's patch.
Please sent it my way.James PS - I am not claiming to be the 'main' OS-X developer, but I may be the /only/ one at the moment ;)
--
 That which does not kill me has poor aim
  
-- Arthur/- http://sourceforge.net/users/artooro/- http://artooro.blogspot.com