Hi Stuart, I don't recall resent changes to the files mentioned in your compiler output, this makes a bit more difficult to point point what might have caused this problem.
When was the last time you build OSG master? Was it with the same OS/Compiler set? Did you come across problems then? Robert. On 28 March 2017 at 13:25, Stuart Mentzer <[email protected]> wrote: > Hi Robert, > > Getting an error with a VC++ 2015 64-bit build on Windows 10: > > cd /d > C:\Projects\OSG\OpenSceneGraph.VC.r\OSG\src\osgWrappers\serializers\osgVolume > && C:\PROGRA~2\MICROS~1.0\VC\bin\amd64\cl.exe /TP > -D_CRT_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS > -Dosgdb_serializers_osgvolume_EXPORTS > -IC:\Projects\OSG\OpenSceneGraph\include > -IC:\Projects\OSG\OpenSceneGraph.VC.r\OSG\include /DWIN32 /D_WINDOWS /W3 /GR > /EHsc /W4 /wd4589 /wd4706 /wd4127 /wd4100 /Zp16 /nologo /EHsc /DNOMINMAX > /DNDEBUG /O2 /GS- /MD > /FoCMakeFiles\osgdb_serializers_osgvolume.dir\MultipassTechnique.cpp.obj > /FdCMakeFiles\osgdb_serializers_osgvolume.dir/ /FS -c > C:\Projects\OSG\OpenSceneGraph\src\osgWrappers\serializers\osgVolume\MultipassTechnique.cpp > > C:\Projects\OSG\OpenSceneGraph\include\osg/ref_ptr(41): error C2027: use of > undefined type 'osg::Texture2D' > C:\Projects\OSG\OpenSceneGraph\include\osg/FrameBufferObject(264): note: see > declaration of 'osg::Texture2D' > C:\Projects\OSG\OpenSceneGraph\include\osg/ref_ptr(41): note: while compiling > class template member function 'osg::ref_ptr<osg::Texture2D>::~ref_ptr(void)' > C:\Projects\OSG\OpenSceneGraph\include\osgVolume/MultipassTechnique(116): > note: see reference to function template instantiation > 'osg::ref_ptr<osg::Texture2D>::~ref_ptr(void)' being compiled > C:\Projects\OSG\OpenSceneGraph\include\osgVolume/MultipassTechnique(70): > note: see reference to class template instantiation > 'osg::ref_ptr<osg::Texture2D>' being compiled > C:\Projects\OSG\OpenSceneGraph\include\osg/ref_ptr(41): error C2227: left of > '->unref' must point to class/struct/union/generic type > src\osgWrappers\serializers\osgVolume\CMakeFiles\osgdb_serializers_osgvolume.dir\build.make:352: > recipe for target > 'src/osgWrappers/serializers/osgVolume/CMakeFiles/osgdb_serializers_osgvolume.dir/MultipassTechnique.cpp.obj' > failed > make[2]: *** > [src/osgWrappers/serializers/osgVolume/CMakeFiles/osgdb_serializers_osgvolume.dir/MultipassTechnique.cpp.obj] > Error 2 > > I didn't have a chance to look into the code to debug it but looks like maybe > a missing include. > > Cheers, > Stuart[/code] > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=70576#70576 > > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

