Hi, I tried to compile OSG 2.9.16 with the dicom plugin using DCMTK 3.6.0 on Win7 x64 VS2010, but I get linker errors:
For release build: Code: 1>osgDB.lib(osg77-osgDB.dll) : error LNK2005: "public: void __cdecl std::basic_ifstream<char,struct std::char_traits<char> >::`vbase destructor'(void)" (??_D?$basic_ifstream@DU?$char_traits@D@std@@@std@@QEAAXXZ) already defined in dcmimgle.lib(didispfn.obj) 1>osgDB.lib(osg77-osgDB.dll) : error LNK2005: "public: __cdecl std::basic_ifstream<char,struct std::char_traits<char> >::basic_ifstream<char,struct std::char_traits<char> >(char const *,int,int)" (??0?$basic_ifstream@DU?$char_traits@D@std@@@std@@QEAA@PEBDHH@Z) already defined in dcmimgle.lib(didispfn.obj) 1> Creating library D:/CMake_Build/OSG/lib/osgPlugins-2.9.16/osgdb_dicom.lib and object D:/CMake_Build/OSG/lib/osgPlugins-2.9.16/osgdb_dicom.exp 1>D:\CMake_Build\OSG\bin\osgPlugins-2.9.16\osgdb_dicom.dll : fatal error LNK1169: one or more multiply defined symbols found Debug is even worse, tons of Code: error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in ReaderWriterDICOM.obj and the same errors as in release... Has anyone successfully compiled that? I had this problem also for OSG 2.9.14. With 2.9.11, it worked. Thank you! Cheers, Bob ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=40536#40536 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

