Hi Torben,
The error output is about the min macro and invalid token right to '::' (line
70+)
Does anyone know what this error could be about? Has anyone used GL3
successfully on a windows machine?
I haven't built OSG with GL3, but when MSVC complains about min/max,
it's usually because someone somewhere included windows.h without first
defining WIN32_LEAN_AND_MEAN or NOMINMAX (the former implies the
latter). This happens because somewhere in the headers included by
windows.h, min and max are defined as macros. So anywhere code uses the
names min or max after that, it will be replaced by the preprocessor and
then anything before (like std::numeric_limits<double>:: in the line you
quoted) will cause a compiler error.
I guess you'll have to find where windows.h was included (any of the
headers included in Matrix_implementation.h, and headers included by
those, etc.) and add the appropriate define to stop it from defining the
min and max macros.
Hope this helps,
J-S
--
______________________________________________________
Jean-Sebastien Guay [email protected]
http://www.cm-labs.com/
http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org