Hi Robert -- The Version header contains four CPP defines. OSG_VERSION_MAJOR OSG_VERSION_MINOR OSG_VERSION_RELEASE OSG_VERSION_REVISION How and when are these incremented? Could you add comments that describe this process? Could you add a map of past releases to how these values are set? One problem I recently ran into was that these numbers were still 1, 2, 0, and 0 long after the 1.2 release, even though an incompatible change had occurred (parameters to drawImplementation) and there was no way to check at compile time for a difference between the SVN head (which contained the change) and the 1.2 release (which didn't). The problem has been resolved at this time, of course. How do you recommend someone check for OSG version at compile time? To check for version at least 1.2, for example, apparently I have to do this: #if ((OSG_VERSION_MAJOR>=1) && (OSG_VERSION_MINOR>=2)) Thanks, Paul Martz Skew Matrix Software LLC http://www.skew-matrix.com <http://www.skew-matrix.com/> 303 859 9466
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
