Re: [osg-users] Visual Studio Community 2015 Build Issues
Hi Robert, I successfully compiled OSG-3.4 RC 8 with Visual Studio 2015. I'll be sure to report let you know if I find any issues with the build. Thanks! On Sun, Aug 2, 2015 at 12:16 AM, Robert Osfield wrote: > Hi Sam, > > Fixes these compile errors and warnings will requires binary changes to > the OSG-3.2 branch so I think we'll need to just say that the OSG-3.2 > branch works with prior versions of VS, such as VS2013 and before. > > In the prep for the OSG-3.4 release I have been able to make the required > changes to VS2015 support so could you please try out OSG svn/trunk, the > OSG-3.4 branch or one of the OSG-3.4 release candidate 8 that I tagged last > Friday. > > Cheers, > Robert. > > On 2 August 2015 at 06:52, sam wrote: > >> Hi All, >> >> I am trying to compile OSG 3.2.1 and running into the below issues: >> >> 1>-- Build started: Project: osgViewer, Configuration: Debug Win32 >> -- >> 1> AcrossAllScreens.cpp >> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(55): >> warning C4589: Constructor of abstract class 'osg::Operation' ignores >> initializer for virtual base class 'osg::Referenced' >> 1> >> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(55): >> note: virtual base classes are only initialized by the most-derived type >> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(81): >> warning C4589: Constructor of abstract class 'osg::Operation' ignores >> initializer for virtual base class 'osg::Referenced' >> 1> >> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(81): >> note: virtual base classes are only initialized by the most-derived type >> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(85): >> warning C4589: Constructor of abstract class 'osg::Operation' ignores >> initializer for virtual base class 'osg::Referenced' >> 1> >> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(85): >> note: virtual base classes are only initialized by the most-derived type >> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgUtil/UpdateVisitor(99): >> warning C4456: declaration of 'callback' hides previous local declaration >> 1> >> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgUtil/UpdateVisitor(93): >> note: see declaration of 'callback' >> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgViewer/ViewerBase(338): >> error C2249: 'osg::Object::operator =': no accessible path to private >> member declared in virtual base 'osg::Object' >> 1> >> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/Object(197): >> note: see declaration of 'osg::Object::operator =' >> 1> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/Object(52): >> note: see declaration of 'osg::Object' >> 1> >> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgViewer/ViewerBase(338): >> note: This diagnostic occurred in the compiler generated function >> 'osgViewer::ViewerBase &osgViewer::ViewerBase::operator =(const >> osgViewer::ViewerBase &)' >> 1> PanoramicSphericalDisplay.cpp >> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(55): >> warning C4589: Constructor of abstract class 'osg::Operation' ignores >> initializer for virtual base class 'osg::Referenced' >> 1> >> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(55): >> note: virtual base classes are only initialized by the most-derived type >> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(81): >> warning C4589: Constructor of abstract class 'osg::Operation' ignores >> initializer for virtual base class 'osg::Referenced' >> 1> >> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(81): >> note: virtual base classes are only initialized by the most-derived type >> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(85): >> warning C4589: Constructor of abstract class 'osg::Operation' ignores >> initializer for virtual base class 'osg::Referenced' >> 1> >> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(85): >> note: virtual base classes are only initialized by the most-derived type >> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgUtil/UpdateVisitor(99): >> warning C4456: declaration of 'callback' hides previous local declaration >> 1> >> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgUtil/UpdateVisitor(93): >> note: see declaration of 'callback' >> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgViewer/ViewerBase(338): >> error C2249: 'osg::Object::operator =': no accessible path to private >> member declared in virtual base 'osg::Object' >> 1> >> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/Object(197): >> note: see declaration of 'osg::Object::operator =' >> 1> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/Object(52): >> note: see declaration of 'osg
Re: [osg-users] Visual Studio Community 2015 Build Issues
Hi Sam, Fixes these compile errors and warnings will requires binary changes to the OSG-3.2 branch so I think we'll need to just say that the OSG-3.2 branch works with prior versions of VS, such as VS2013 and before. In the prep for the OSG-3.4 release I have been able to make the required changes to VS2015 support so could you please try out OSG svn/trunk, the OSG-3.4 branch or one of the OSG-3.4 release candidate 8 that I tagged last Friday. Cheers, Robert. On 2 August 2015 at 06:52, sam wrote: > Hi All, > > I am trying to compile OSG 3.2.1 and running into the below issues: > > 1>-- Build started: Project: osgViewer, Configuration: Debug Win32 > -- > 1> AcrossAllScreens.cpp > 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(55): > warning C4589: Constructor of abstract class 'osg::Operation' ignores > initializer for virtual base class 'osg::Referenced' > 1> > D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(55): > note: virtual base classes are only initialized by the most-derived type > 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(81): > warning C4589: Constructor of abstract class 'osg::Operation' ignores > initializer for virtual base class 'osg::Referenced' > 1> > D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(81): > note: virtual base classes are only initialized by the most-derived type > 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(85): > warning C4589: Constructor of abstract class 'osg::Operation' ignores > initializer for virtual base class 'osg::Referenced' > 1> > D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(85): > note: virtual base classes are only initialized by the most-derived type > 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgUtil/UpdateVisitor(99): > warning C4456: declaration of 'callback' hides previous local declaration > 1> > D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgUtil/UpdateVisitor(93): > note: see declaration of 'callback' > 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgViewer/ViewerBase(338): > error C2249: 'osg::Object::operator =': no accessible path to private > member declared in virtual base 'osg::Object' > 1> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/Object(197): > note: see declaration of 'osg::Object::operator =' > 1> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/Object(52): > note: see declaration of 'osg::Object' > 1> > D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgViewer/ViewerBase(338): > note: This diagnostic occurred in the compiler generated function > 'osgViewer::ViewerBase &osgViewer::ViewerBase::operator =(const > osgViewer::ViewerBase &)' > 1> PanoramicSphericalDisplay.cpp > 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(55): > warning C4589: Constructor of abstract class 'osg::Operation' ignores > initializer for virtual base class 'osg::Referenced' > 1> > D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(55): > note: virtual base classes are only initialized by the most-derived type > 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(81): > warning C4589: Constructor of abstract class 'osg::Operation' ignores > initializer for virtual base class 'osg::Referenced' > 1> > D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(81): > note: virtual base classes are only initialized by the most-derived type > 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(85): > warning C4589: Constructor of abstract class 'osg::Operation' ignores > initializer for virtual base class 'osg::Referenced' > 1> > D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(85): > note: virtual base classes are only initialized by the most-derived type > 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgUtil/UpdateVisitor(99): > warning C4456: declaration of 'callback' hides previous local declaration > 1> > D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgUtil/UpdateVisitor(93): > note: see declaration of 'callback' > 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgViewer/ViewerBase(338): > error C2249: 'osg::Object::operator =': no accessible path to private > member declared in virtual base 'osg::Object' > 1> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/Object(197): > note: see declaration of 'osg::Object::operator =' > 1> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/Object(52): > note: see declaration of 'osg::Object' > 1> > D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgViewer/ViewerBase(338): > note: This diagnostic occurred in the compiler generated function > 'osgViewer::ViewerBase &osgViewer::ViewerBase::operator =(const > osgViewer::ViewerBase &)' > 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\src\osgV
[osg-users] Visual Studio Community 2015 Build Issues
Hi All, I am trying to compile OSG 3.2.1 and running into the below issues: 1>-- Build started: Project: osgViewer, Configuration: Debug Win32 -- 1> AcrossAllScreens.cpp 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(55): warning C4589: Constructor of abstract class 'osg::Operation' ignores initializer for virtual base class 'osg::Referenced' 1> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(55): note: virtual base classes are only initialized by the most-derived type 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(81): warning C4589: Constructor of abstract class 'osg::Operation' ignores initializer for virtual base class 'osg::Referenced' 1> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(81): note: virtual base classes are only initialized by the most-derived type 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(85): warning C4589: Constructor of abstract class 'osg::Operation' ignores initializer for virtual base class 'osg::Referenced' 1> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(85): note: virtual base classes are only initialized by the most-derived type 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgUtil/UpdateVisitor(99): warning C4456: declaration of 'callback' hides previous local declaration 1> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgUtil/UpdateVisitor(93): note: see declaration of 'callback' 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgViewer/ViewerBase(338): error C2249: 'osg::Object::operator =': no accessible path to private member declared in virtual base 'osg::Object' 1> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/Object(197): note: see declaration of 'osg::Object::operator =' 1> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/Object(52): note: see declaration of 'osg::Object' 1> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgViewer/ViewerBase(338): note: This diagnostic occurred in the compiler generated function 'osgViewer::ViewerBase &osgViewer::ViewerBase::operator =(const osgViewer::ViewerBase &)' 1> PanoramicSphericalDisplay.cpp 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(55): warning C4589: Constructor of abstract class 'osg::Operation' ignores initializer for virtual base class 'osg::Referenced' 1> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(55): note: virtual base classes are only initialized by the most-derived type 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(81): warning C4589: Constructor of abstract class 'osg::Operation' ignores initializer for virtual base class 'osg::Referenced' 1> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(81): note: virtual base classes are only initialized by the most-derived type 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(85): warning C4589: Constructor of abstract class 'osg::Operation' ignores initializer for virtual base class 'osg::Referenced' 1> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(85): note: virtual base classes are only initialized by the most-derived type 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgUtil/UpdateVisitor(99): warning C4456: declaration of 'callback' hides previous local declaration 1> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgUtil/UpdateVisitor(93): note: see declaration of 'callback' 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgViewer/ViewerBase(338): error C2249: 'osg::Object::operator =': no accessible path to private member declared in virtual base 'osg::Object' 1> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/Object(197): note: see declaration of 'osg::Object::operator =' 1> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/Object(52): note: see declaration of 'osg::Object' 1> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgViewer/ViewerBase(338): note: This diagnostic occurred in the compiler generated function 'osgViewer::ViewerBase &osgViewer::ViewerBase::operator =(const osgViewer::ViewerBase &)' 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\src\osgViewer\config\PanoramicSphericalDisplay.cpp(273): warning C4456: declaration of 'buffer' hides previous local declaration 1> D:\Programming\Libraries\OpenSceneGraph-3.2.1\src\osgViewer\config\PanoramicSphericalDisplay.cpp(227): note: see declaration of 'buffer' 1> SingleScreen.cpp 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(55): warning C4589: Constructor of abstract class 'osg::Operation' ignores initializer for virtual base class 'osg::Referenced' 1> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(55): note: virtual base classes are only initialized by the most-derived type 1>D:\Programming\Librar