To compile the development CVS version of FlightGear(0.9.0) i had to
apply some small changes to SimGear and FlightGear.

The changes need probably some additional ifdefs for other platforms but
since my linux-hd crashed i can't verify that.


Changes to SimGear:
----------------------
Index: simgear/compiler.h
===================================================================
RCS file: /var/cvs/SimGear-0.3/SimGear/simgear/compiler.h,v
retrieving revision 1.1.1.1
diff -r1.1.1.1 compiler.h
73a74,77
> #ifdef __CYGWIN__
> #      define NOMINMAX
> #endif
> 
Index: simgear/sky/clouds3d/SkyContext.hpp
===================================================================
RCS file: /var/cvs/SimGear-0.3/SimGear/simgear/sky/clouds3d/SkyContext.hpp,v
retrieving revision 1.3
diff -r1.3 SkyContext.hpp
31d30
< 
33c32
< 
---
> #include "compiler.h"
Index: simgear/sky/clouds3d/SkyTexture.hpp
===================================================================
RCS file: /var/cvs/SimGear-0.3/SimGear/simgear/sky/clouds3d/SkyTexture.hpp,v
retrieving revision 1.3
diff -r1.3 SkyTexture.hpp
27a28,29
> #define __glext_h_
> #define __GLEXT_H_
Index: simgear/sky/clouds3d/SkyTextureState.cpp
===================================================================
RCS file: /var/cvs/SimGear-0.3/SimGear/simgear/sky/clouds3d/SkyTextureState.cpp,v
retrieving revision 1.6
diff -r1.6 SkyTextureState.cpp
26a27
> 
Index: simgear/sky/clouds3d/extgl.h
===================================================================
RCS file: /var/cvs/SimGear-0.3/SimGear/simgear/sky/clouds3d/extgl.h,v
retrieving revision 1.2
diff -r1.2 extgl.h
26a27,29
> #define __glext_h_
> #define __GLEXT_H_
> 
----------------------

Note to the compiler.h patch: As Norman said, it should be "#ifdef WIN32".


Changes to FlightGear:
----------------------
Index: src/Model/panelnode.cxx
===================================================================
RCS file: /var/cvs/FlightGear-0.9/FlightGear/src/Model/panelnode.cxx,v
retrieving revision 1.2
diff -r1.2 panelnode.cxx
4a5
> #include <simgear/compiler.h>
----------------------

I'd be glad if someone can verify the changes and commit them into the
CVS.

Patrick
-- 
Patrick Staehlin <[EMAIL PROTECTED]>


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

Reply via email to