Adam submitted a patch to <simgear/compiler.h> which #defines the include location of gl.h, glut.h, and glu.h along with patched files that eliminate direct references and #include the #defined symbol instead. This change propogates through simgear and flightgear and depricates the FG_GLUT_H symbol in the FlightGear configure.ac script. The changes should now all be in CVS. You will need to "cvs update" both SimGear and FlightGear. This change allows a clean build [hopefully] :-) on OSX and should affect any other platform.

Regards,

Curt.

--
Curtis Olson        http://www.flightgear.org/~curt
HumanFIRST Program  http://www.humanfirst.umn.edu/
FlightGear Project  http://www.flightgear.org
Unique text:        2f585eeea02e2c79d7b1d8c4963bae2d



Adam Dershowitz wrote:

Here is the list of files, just to help with the paths:

SimGear:
Index: simgear/compiler.h
Index: simgear/scene/material/matlib.cxx
Index: simgear/scene/sky/dome.cxx
Index: simgear/scene/sky/clouds3d/SkyCloud.cpp
Index: simgear/scene/sky/clouds3d/SkyDynamicTextureManager.hpp
Index: simgear/scene/sky/clouds3d/SkyLight.cpp
Index: simgear/scene/sky/clouds3d/SkyMaterial.hpp
Index: simgear/scene/sky/clouds3d/SkyMinMaxBox.cpp
Index: simgear/scene/sky/clouds3d/SkyRenderableInstanceCloud.cpp
Index: simgear/scene/sky/clouds3d/SkyRenderableInstanceGroup.cpp
Index: simgear/scene/sky/clouds3d/SkyTexture.hpp
Index: simgear/scene/sky/clouds3d/SkyTextureManager.cpp
Index: simgear/scene/sky/clouds3d/glut_shapes.c
Index: simgear/scene/sky/clouds3d/glut_shapes.h
Index: simgear/screen/GLBitmaps.cxx
Index: simgear/screen/extensions.hxx
Index: simgear/screen/screen-dump.cxx
Index: simgear/screen/screen-dump.hxx
Index: simgear/screen/texture.cxx
Index: simgear/screen/texture.hxx
Index: simgear/screen/tr.cxx
Index: simgear/screen/tr.h
Index: simgear/xgl/xgl.h

FlightGear files
Index: src/ATC/ATCdisplay.cxx
Index: src/Cockpit/cockpit.cxx
Index: src/Cockpit/hud.cxx
Index: src/Cockpit/panel.cxx
Index: src/GUI/gui_funcs.cxx
Index: src/GUI/layout-test.cxx
Index: src/Main/fg_os.cxx
Index: src/Main/splash.cxx
Index: src/Network/ATC-Inputs.cxx
Index: src/Time/light.cxx
Index: src/Time/light.hxx
Index: utils/Modeller/3dconvert.cxx


By the way this list includes the version of ATC-Inputs.cxx with the includes that you suggested, rather than just commented out code, so that it should work properly.

Thanks for taking care of this.  It will be nice to be able to build on a
Mac from src with no changes.
Please let me, and the developer list, know when you have made these changes
in CVS.

Thanks,

-- Adam




_______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to