Hi John,

Is you version of CentOS and old or recent one?

2011/5/12 John Kelso <[email protected]>:
> When trying to build osg-2.9.14 using the same cmake command (and after
> adding a trailing space to include/osg/GraphicsCostEstimator to get rid of a
> lot of annoying compiler warnings) I get:

Could you pass on the warnings.  I'm not getting any warnings on my
Kubuntu system.  Also you can explain exactly
why and where you added a trailing space to GraphicsCostEstimator,
ideally posting the modified file as well.

>
> [ 83%] Building CXX object
> src/osgPlugins/dicom/CMakeFiles/osgdb_dicom.dir/ReaderWriterDICOM.o
> /usr/local/HEV-beta/external/osg/osg-2.9.14/OpenSceneGraph/include/osg/View:98:
> warning: ‘struct osg::View::Slave’ has virtual functions but non-virtual
> destructor
> /usr/local/HEV-beta/external/osg/osg-2.9.14/OpenSceneGraph/src/osgPlugins/dicom/ReaderWriterDICOM.cpp:
> In member function ‘virtual osgDB::ReaderWriter::ReadResult
> ReaderWriterDICOM::readImage(const std::string&, const osgDB::Options*)
> const’:
> /usr/local/HEV-beta/external/osg/osg-2.9.14/OpenSceneGraph/src/osgPlugins/dicom/ReaderWriterDICOM.cp

Curious.  I'm build against DCMTK 3.6.1 and OSG svn/trunk without any problems.

What version of g++ do you have?  On my system I have:

> g++ --version
g++ (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2

This is with Kubunut 11.04.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to