Mathias Fröhlich schrieb:
> On Saturday 17 June 2006 22:44, Georg Vollnhals wrote:
>> I am just trying to find that needle but I am blind!
>> But not giving up for the next hour.
> Ok, google tells me that
> 
> #define NOMINMAX
> 
> or equivalently
> 
> CPPFLAGS=-DNOMINMAX ./configure --whatever-you-like
> 
> does the trick.
> 
> Tell me if this is ok ...
> 
> Greetings
> 
>         Mathias
> 


Hi Mathias and Jon,

CPPFLAGS=-DNOMINMAX ./configure --xxxxxx

removed this error.

I already found out before your message that the
\cygwin\usr\include\w32api\windef.h

is the bad guy with the definition of

#ifndef NOMINMAX
#ifndef max
#define max(a,b) ((a)>(b)?(a):(b))
#endif
#ifndef min
#define min(a,b) ((a)<(b)?(a):(b))
#endif
#endif

Could we just place the following into the constants.h of SimGear?
#ifndef NOMINMAX
#define NOMINMAX

I did not try it but will do this night. Now I am off for an urgent walk 
with the dog before ...

BUT THERE IS ANOTHER NEW ERROR so that SimGear does not compile:


RenderTexture.cpp:1555: Fehler: >>WGL_SAMPLE_BUFFERS_ARB<< nicht 
deklariert (ers
te Verwendung dieser Funktion)
RenderTexture.cpp:1555: Fehler: (Jeder nicht deklarierte Bezeichner wird 
nur ein
mal f"ur jede Funktion, in der er vorkommt, gemeldet.)
RenderTexture.cpp:1557: Fehler: >>WGL_SAMPLES_ARB<< nicht deklariert 
(erste Verw
endung dieser Funktion)
make[3]: *** [RenderTexture.o] Fehler 1
make[3]: Leaving directory 
`/home/Besitzer/SimGear-0.3-cvs/source/simgear/screen
'

Sorry, error messages in German.
Will come back later!
Regards
Georg EDDW


_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to