Hi Bob, I am not familiar with DCMTK. I am going just to make some general comments.
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 > > > This usually mean that you are mixing code linked with shared C runtime (osg) with code linked to static C runtime. I think you should rebuild dcmtk libs with shared runtime (/MD msvc flag instead of /MT) > > Code: > error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' > doesn't match value '2' in ReaderWriterDICOM.obj > > > And this means that you are mixing release and debug code. To build debug dicom plugin, you need to use the debug dcmtk libraries. Mourad
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

