[osg-users] problems building osg-2.9.14, dicom plugin won't compile

2011-05-12 Thread John Kelso
Hi all, In our CentOS environment I can build osg-2.9.10 just fine with the command: cmake \ -D CMAKE_INSTALL_PREFIX=$DIR/osg-$v/installed \ -D INVENTOR_INCLUDE_DIR=`coin-config --prefix`/include \ -D INVENTOR_LIBRARY=`coin-config --prefix`/lib/libCoin.so \ -D

Re: [osg-users] problems building osg-2.9.14, dicom plugin won't compile

2011-05-12 Thread Robert Osfield
Hi John, Is you version of CentOS and old or recent one? 2011/5/12 John Kelso ke...@nist.gov: 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

Re: [osg-users] problems building osg-2.9.14, dicom plugin won't compile

2011-05-12 Thread John Kelso
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 (mockbu...@builder10.centos.org) (gcc version

Re: [osg-users] problems building osg-2.9.14, dicom plugin won't compile

2011-05-12 Thread Robert Osfield
Hi John, Thanks for the clarification and warning output. I've added a newline to the end of GraphicsCostEstimator. I can only guess that recent versions of gcc don't have problems with the lack of newline. Your gcc seems rather out of date by comparison to what I've been using for a while,