Thank you to all who helped to solve the SimGear "min" function compile error.
Jon, I got a second error while further compiling. If you also have the "RenderTexture.cpp:1555: Fehler: >>WGL_SAMPLE_BUFFERS_ARB<<" error then my very ugly workaround might help you. (I am no C-guy and all further is far behind my scope): FILE TO CHANGE: C:\cygwin\home\Besitzer\SimGear-0.3-cvs\source\simgear\screen\extensions.hxx /* * ARB_multisample */ #ifndef GL_ARB_multisample #define GL_ARB_multisample 1 #define GL_MULTISAMPLE_ARB 0x809D #define GL_SAMPLE_ALPHA_TO_COVERAGE_ARB 0x809E #define GL_SAMPLE_ALPHA_TO_ONE_ARB 0x809F #define GL_SAMPLE_COVERAGE_ARB 0x80A0 #define GL_SAMPLE_BUFFERS_ARB 0x80A8 #define GL_SAMPLES_ARB 0x80A9 #define GL_SAMPLE_COVERAGE_VALUE_ARB 0x80AA #define GL_SAMPLE_COVERAGE_INVERT_ARB 0x80AB #define GL_MULTISAMPLE_BIT_ARB 0x20000000 #define GL_DOUBLEBUFFER 0x0C32 #define GL_AUX_BUFFERS 0x0C00 ---> I put the next two lines after the endif as GL_ARB_multisample seems to be defined ---> but NOT the next both constants //#define WGL_SAMPLE_BUFFERS_ARB 0x2041 //#define WGL_SAMPLES_ARB 0x2042 #endif ----> here there are - and all is working! #define WGL_SAMPLE_BUFFERS_ARB 0x2041 #define WGL_SAMPLES_ARB Regards Georg EDDW _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel