Hi, Recently there was a thread about compile errors for the dicom plug-in when it was built against itk and these were proven to be a result of aggressive warnings/errors by gcc.
I just tried to build 2.8.2rc2 and got the same build errors myself so I had a
quick look at the itk code. It seems that all that is required is to define
VCL_CAN_STATIC_CONST_INIT_FLOAT to be zero.
I have attached a patch file for the CMakeLists.txt file for the dicom plugin.
It doesn't test for platform/compiler but then setting that define to zero
shouldn't be a problem on any other platform/compiler AFAIK so may as well be
consistent.
Paul Fotheringham.
PS. My first ever patch so hopefully it works!
CMakeLists.txt.patch
Description: Binary data
_______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
