Hi Robert,

Please see below...

On Thu, 12 May 2011, Robert Osfield wrote:

Hi John,

Is you version of CentOS and old or recent one?

As far as I know it's a fairly new one. If I type /proc/version I get this:

Linux version 2.6.18-238.9.1.el5 ([email protected]) (gcc
version 4.1.2 20080704 (Red Hat 4.1.2-50)) #1 SMP Tue Apr 12 18:10:13 EDT
2011


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.

I just finished rebuilding it with warnings enabled, and compressed
typescript and the CMakeCache.txt files are attached.  I hope that's not a
no-no on this list.

All I did to GraphicsCostEstimator was to add a newline at the end of the
last line.  My mistake- it wasn't a space I added but a newline.

[ 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.

You got dcmtk 3.6.1? The latest I saw to download was 3.6.0.  It's probably
not important... I hope.

I did need to use a newer version of cmake than came with CentOS.  I
installed a private copy of cmake 2.8.4 which I used to build OSG.  As a
test I used this same version to build 2.9.10 and it worked fine, so I don't
think cmake's an issue.


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

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

gcc-version: gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-50)

Thanks again,

John

Attachment: typescript.gz
Description: GNU Zip compressed data

Attachment: CMakeCache.txt.gz
Description: GNU Zip compressed data

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

Reply via email to