Hi Mark, I am trying to work out why you have the build problem. Is there a chance you've done an in source build previously that set the include/osg/GL prior the OSG_GL_CONTEXT was added, then you're out of source build is not overriding this as the out of date in source version of include/osg/GL is being picked up?
Robert. On 10 May 2018 at 16:05, Bolstad, Mark <bolst...@janelia.hhmi.org> wrote: > I’m getting a compile failure on OS X 10.12 with the latest version: > > DisplaySettings.cpp:243:25: error: > use of undeclared identifier 'OSG_GL_CONTEXT_VERSION' > _glContextVersion = OSG_GL_CONTEXT_VERSION; > ^ > 1 error generated. > > I’ve traced this down to an order of includes issue. flags.cmake has the > order of -I <osg_source_include> followed by -I <osg_build_dir_include>. The > order needs to be reversed as it is in the build dir where OSG_GL_CONTEXT is > set. > > Mark > >> On May 6, 2018, at 2:55 AM, Robert Osfield <robert.osfi...@gmail.com> wrote: >> >> Hi All, >> >> I have tagged 3.6.1-rc3 : >> >> >> https://github.com/openscenegraph/OpenSceneGraph/tree/OpenSceneGraph-3.6.1-rc3 >> >> There a several bugs fixes since rc2, details below in ChangeLog and >> also a purge of use of std::auto_ptr<> as this is deprecated in C++11 >> and will be removed in C++17. >> >> Please test and report success/failure. >> >> Thanks, >> Robert. >> >> >> -- ChangeLog since rc2 >> >> Sat, 5 May 2018 15:47:28 +0100 >> Author : Robert Osfield >> Restructed the handling of SCREEN_COORD scaling to better handle window >> resizing >> >> Sat, 5 May 2018 12:31:00 +0100 >> Author : Robert Osfield >> Added C++ specific path for calling std::map<>::erase() to avoid >> issues with std::map<>::erase implementation that invalidates >> iterators >> >> Sat, 5 May 2018 12:28:45 +0100 >> Author : Robert Osfield >> Replaced std::auto_ptr<> usage as it's deprecated in C++11 and will be >> removed in C++17 >> >> Fri, 4 May 2018 16:11:31 +0100 >> Author : OpenSceneGraph git repository >> Merge pull request #545 from emminizer/fix-gl3-text-bad-modeText only >> applies GL_TEXTURE_2D modes when fixed function is availabl… >> >> Fri, 4 May 2018 06:44:13 -0400 >> Author : Daniel Emminizer >> Text only applies GL_TEXTURE_2D modes when fixed function is >> available. Prevents GL3 Core Profile console spam. >> >> Fri, 4 May 2018 10:54:02 +0100 >> Author : Robert Osfield >> Added non const version of State::getActiveDisplaySettings() >> >> Fri, 4 May 2018 09:44:43 +0100 >> Author : Robert Osfield >> Added check for null to prevent null entries getting into the cache >> >> Fri, 18 Nov 2016 14:56:05 +0000 >> Author : Robert Osfield >> Added osg::MakeString class to make it easier to create std::string's >> using std::ostream style << usage. >> >> Fri, 4 May 2018 09:22:54 +0100 >> Author : Robert Osfield >> Fixed null pointer warning >> >> Thu, 3 May 2018 12:56:08 +0200 >> Author : Björn Blissing >> Check existence of path before reading imageWhen loading texture >> images inside the FBX plugin check that the path >> exists before trying to read the image. This is done to avoid >> unnecessary warnings inside the readRefImageFile function. >> _______________________________________________ >> osg-users mailing list >> osg-users@lists.openscenegraph.org >> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org