When I went to do a full build of simgear January 27th, I am having a problem with the build of RenderTexture.cpp. I have been unable to download newer source since then due to a network problem that breaks CVS on my local network.


Mac OS X doesn't generally support glx.h

If someone has X11 developer sources installed on mac os x, the glx file exists on:

/usr/X11R6/include/GL

but I don't think that I should be using that GLX file as I am NOT building a version of FG for X, but rather for native mac os x.

Does anyone have any suggestions for how to build simgear/screen without requiring GLX? (I tried explicitly giving --without-x during configure but it didn't seem to help).

The first error message is:

g++ -DHAVE_CONFIG_H -I. -I. -I../../simgear -I../.. -DGLX_GLXEXT_PROTOTYPES -I/Users/ima/Desktop/FlightGear/fgdev9.8/include -g -O2 -D_REENTRANT -c -o RenderTexture.o `test -f 'RenderTexture.cpp' || echo './'`RenderTexture.cpp
In file included from RenderTexture.cpp:58:
../../simgear/screen/RenderTexture.h:56:20: OpenGL/glx.h: No such file or directory


.. followed by these errors

In file included from RenderTexture.cpp:58:
../../simgear/screen/RenderTexture.h:342: error: 'GLXContext' is used as a
type, but is not defined as a type.
../../simgear/screen/RenderTexture.h:343: error: 'GLXPbuffer' is used as a
type, but is not defined as a type.
../../simgear/screen/RenderTexture.h:345: error: 'GLXDrawable' is used as a
type, but is not defined as a type.
../../simgear/screen/RenderTexture.h:346: error: 'GLXContext' is used as a
type, but is not defined as a type.
RenderTexture.cpp: In constructor `RenderTexture::RenderTexture(const char*)':
RenderTexture.cpp:127: error: class `RenderTexture' does not have any field
named `_hGLContext'
RenderTexture.cpp:128: error: class `RenderTexture' does not have any field
named `_hPBuffer'
.. and so on


Sorry, I seem especially clueless lately. 8-(
TIA for any help!

Best regards,

Ima


_______________________________________________ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to