`
qimo601
  • 浏览: 3446006 次
  • 性别: Icon_minigender_1
  • 来自: 苏州
社区版块
存档分类
最新评论
阅读更多

前两天,参考这个例子DCMTK3.6.0 (MT支持库)安装 完整说明 ,试了好几遍DCMTK3.6.0(MD支持库)的安装,却是失败而归。出现了如下两大类的错误。

 

错误1:already defined或者 multiply defined,调用Lib冲突

1>msvcprtd.lib(MSVCP90D.dll) : error LNK2005:

1>libcpmtd.lib(locale0.obj) : error LNK2005: __Fac_tidy already defined in msvcprtd.lib(locale0_implib.obj)

1>libcpmtd.lib(xlock.obj) : error LNK2005: "public: __thiscall std::_Lockit::_Lockit(int)" (??0_Lockit@std@@QAE@H@Z) already defined in msvcprtd.lib(MSVCP90D.dll)

1>LIBCMTD.lib(setlocal.obj) : error LNK2005: __configthreadlocale already defined in MSVCRTD.lib(MSVCR90D.dll)

1>LIBCMTD.lib(dosmap.obj) : error LNK2005: __errno already defined in MSVCRTD.lib(MSVCR90D.dll)

1>   Creating library D:\VSWorkSpace\TestA\Debug\TestA.lib and object D:\VSWorkSpace\TestA\Debug\TestA.exp

1>LINK : warning LNK4098: defaultlib 'MSVCRTD' conflicts with use of other libs; use /NODEFAULTLIB:library

1>LINK : warning LNK4098: defaultlib 'LIBCMTD' conflicts with use of other libs; use /NODEFAULTLIB:library

1>D:\VSWorkSpace\TestA\Debug\TestA.exe : fatal error LNK1169: one or more multiply defined symbols found

 

解决方法:忽略冲突的lib,在项目属性 –>Linker->Input->Ignore Specific Library 写入 LIBCMTD.lib libcpmtd.lib这样就会在->Linker->Command Line下生成命令:

/NODEFAULTLIB:"LIBCMTD.lib" /NODEFAULTLIB:"libcpmtd.lib"

 

错误2:忽略了lib文件,还是有个错误,std命名空间输入输出的错误。

解决方法:实际是因为用CMake创建DCMTK的源项目,并没有生成MD/MDd的项目。你可以用VS2008打开项目,比如查看dcmdump项目的属性,就可以知道,它还是MT/MTd的运行时库。最后是手动更改CMakeList.txt的运行时库属性值,不用在Cmake里更改。详细可以参考我的另外一篇文章。

 

错误2:

1>Linking...

1>msvcprtd.lib(MSVCP90D.dll) : error LNK2005: "public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(class std::basic_ostream<char,struct std::char_traits<char> > & (__cdecl*)(class std::basic_ostream<char,struct std::char_traits<char> > &))" (??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@P6AAAV01@AAV01@@Z@Z) already defined in dcmdata.lib(dcfilefo.obj)

1>msvcprtd.lib(MSVCP90D.dll) : error LNK2005: "class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl std::endl(class std::basic_ostream<char,struct std::char_traits<char> > &)" (?endl@std@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@1@AAV21@@Z) already defined in dcmdata.lib(dcfilefo.obj)

1>msvcprtd.lib(MSVCP90D.dll) : error LNK2005: "public: void __thiscall std::basic_ios<char,struct std::char_traits<char> >::setstate(int,bool)" (?setstate@?$basic_ios@DU?$char_traits@D@std@@@std@@QAEXH_N@Z) already defined in ofstd.lib(ofstring.obj)

1>msvcprtd.lib(MSVCP90D.dll) : error LNK2005: "public: int __thiscall std::ios_base::width(int)" (?width@ios_base@std@@QAEHH@Z) already defined in ofstd.lib(ofstring.obj)

1>msvcprtd.lib(MSVCP90D.dll) : error LNK2005: "public: int __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::sputn(char const *,int)" (?sputn@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEHPBDH@Z) already defined in ofstd.lib(ofstring.obj)

1>msvcprtd.lib(MSVCP90D.dll) : error LNK2005: "public: static bool __cdecl std::char_traits<char>::eq_int_type(int const &,int const &)" (?eq_int_type@?$char_traits@D@std@@SA_NABH0@Z) already defined in ofstd.lib(ofstring.obj)

1>msvcprtd.lib(MSVCP90D.dll) : error LNK2005: "public: static int __cdecl std::char_traits<char>::eof(void)" (?eof@?$char_traits@D@std@@SAHXZ) already defined in ofstd.lib(ofstring.obj)

1>msvcprtd.lib(MSVCP90D.dll) : error LNK2005: "public: int __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::sputc(char)" (?sputc@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEHD@Z) already defined in dcmdata.lib(dcfilefo.obj)

1>msvcprtd.lib(MSVCP90D.dll) : error LNK2005: "public: class std::basic_streambuf<char,struct std::char_traits<char> > * __thiscall std::basic_ios<char,struct std::char_traits<char> >::rdbuf(void)const " (?rdbuf@?$basic_ios@DU?$char_traits@D@std@@@std@@QBEPAV?$basic_streambuf@DU?$char_traits@D@std@@@2@XZ) already defined in ofstd.lib(ofstring.obj)

1>msvcprtd.lib(MSVCP90D.dll) : error LNK2005: "public: char __thiscall std::basic_ios<char,struct std::char_traits<char> >::fill(void)const " (?fill@?$basic_ios@DU?$char_traits@D@std@@@std@@QBEDXZ) already defined in dcmdata.lib(dcfilefo.obj)

1>msvcprtd.lib(MSVCP90D.dll) : error LNK2005: "public: int __thiscall std::ios_base::flags(void)const " (?flags@ios_base@std@@QBEHXZ) already defined in ofstd.lib(ofstring.obj)

1>msvcprtd.lib(MSVCP90D.dll) : error LNK2005: "public: int __thiscall std::ios_base::width(void)const " (?width@ios_base@std@@QBEHXZ) already defined in ofstd.lib(ofstring.obj)

1>msvcprtd.lib(MSVCP90D.dll) : error LNK2005: "public: static unsigned int __cdecl std::char_traits<char>::length(char const *)" (?length@?$char_traits@D@std@@SAIPBD@Z) already defined in ofstd.lib(ofstring.obj)

1>msvcprtd.lib(MSVCP90D.dll) : error LNK2005: "public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::flush(void)" (?flush@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV12@XZ) already defined in ofstd.lib(ofstring.obj)

1>msvcprtd.lib(MSVCP90D.dll) : error LNK2005: "public: class std::basic_ostream<char,struct std::char_traits<char> > * __thiscall std::basic_ios<char,struct std::char_traits<char> >::tie(void)const " (?tie@?$basic_ios@DU?$char_traits@D@std@@@std@@QBEPAV?$basic_ostream@DU?$char_traits@D@std@@@2@XZ) already defined in ofstd.lib(ofstring.obj)

1>msvcprtd.lib(MSVCP90D.dll) : error LNK2005: "public: bool __thiscall std::ios_base::good(void)const " (?good@ios_base@std@@QBE_NXZ) already defined in ofstd.lib(ofstring.obj)

1>msvcprtd.lib(MSVCP90D.dll) : error LNK2005: "public: void __thiscall std::basic_ostream<char,struct std::char_traits<char> >::_Osfx(void)" (?_Osfx@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEXXZ) already defined in ofstd.lib(ofstring.obj)

1>msvcprtd.lib(MSVCP90D.dll) : error LNK2005: "public: void __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::_Lock(void)" (?_Lock@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEXXZ) already defined in ofstd.lib(ofstring.obj)

1>msvcprtd.lib(MSVCP90D.dll) : error LNK2005: "public: void __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::_Unlock(void)" (?_Unlock@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEXXZ) already defined in ofstd.lib(ofstring.obj)

1>msvcprtd.lib(MSVCP90D.dll) : error LNK2005: "public: class std::locale::facet * __thiscall std::locale::facet::_Decref(void)" (?_Decref@facet@locale@std@@QAEPAV123@XZ) already defined in ofstd.lib(ofstring.obj)

1>   Creating library D:\VSWorkSpace\TestA\Debug\TestA.lib and object D:\VSWorkSpace\TestA\Debug\TestA.exp

1>ofstd.lib(ofcmdln.obj) : error LNK2001: unresolved external symbol "public: static class std::locale::id std::ctype<char>::id" (?id@?$ctype@D@std@@2V0locale@2@A)

1>oflog.lib(fileap.obj) : error LNK2001: unresolved external symbol "public: static class std::locale::id std::ctype<char>::id" (?id@?$ctype@D@std@@2V0locale@2@A)

1>oflog.lib(ntelogap.obj) : error LNK2001: unresolved external symbol "public: static class std::locale::id std::ctype<char>::id" (?id@?$ctype@D@std@@2V0locale@2@A)

1>oflog.lib(winconap.obj) : error LNK2001: unresolved external symbol "public: static class std::locale::id std::ctype<char>::id" (?id@?$ctype@D@std@@2V0locale@2@A)

1>oflog.lib(windebap.obj) : error LNK2001: unresolved external symbol "public: static class std::locale::id std::ctype<char>::id" (?id@?$ctype@D@std@@2V0locale@2@A)

1>oflog.lib(patlay.obj) : error LNK2019: unresolved external symbol "public: static class std::locale::id std::ctype<char>::id" (?id@?$ctype@D@std@@2V0locale@2@A) referenced in function "public: void __thiscall std::ios_base::clear(int,bool)" (?clear@ios_base@std@@QAEXH_N@Z)

1>oflog.lib(config.obj) : error LNK2001: unresolved external symbol "public: static class std::locale::id std::ctype<char>::id" (?id@?$ctype@D@std@@2V0locale@2@A)

1>oflog.lib(property.obj) : error LNK2001: unresolved external symbol "public: static class std::locale::id std::ctype<char>::id" (?id@?$ctype@D@std@@2V0locale@2@A)

1>oflog.lib(threads.obj) : error LNK2001: unresolved external symbol "public: static class std::locale::id std::ctype<char>::id" (?id@?$ctype@D@std@@2V0locale@2@A)

1>dcmdata.lib(dcbytstr.obj) : error LNK2001: unresolved external symbol "public: static class std::locale::id std::ctype<char>::id" (?id@?$ctype@D@std@@2V0locale@2@A)

1>dcmdata.lib(dcpixseq.obj) : error LNK2001: unresolved external symbol "public: static class std::locale::id std::ctype<char>::id" (?id@?$ctype@D@std@@2V0locale@2@A)

1>ofstd.lib(ofstd.obj) : error LNK2001: unresolved external symbol "public: static class std::locale::id std::ctype<char>::id" (?id@?$ctype@D@std@@2V0locale@2@A)

1>oflog.lib(oflog.obj) : error LNK2001: unresolved external symbol "public: static class std::locale::id std::ctype<char>::id" (?id@?$ctype@D@std@@2V0locale@2@A)

1>dcmdata.lib(dcpxitem.obj) : error LNK2001: unresolved external symbol "public: static class std::locale::id std::ctype<char>::id" (?id@?$ctype@D@std@@2V0locale@2@A)

1>dcmdata.lib(dcdirrec.obj) : error LNK2001: unresolved external symbol "public: static class std::locale::id std::ctype<char>::id" (?id@?$ctype@D@std@@2V0locale@2@A)

1>dcmdata.lib(dcdict.obj) : error LNK2001: unresolved external symbol "public: static class std::locale::id std::ctype<char>::id" (?id@?$ctype@D@std@@2V0locale@2@A)

1>dcmdata.lib(vrscan.obj) : error LNK2001: unresolved external symbol "public: static class std::locale::id std::ctype<char>::id" (?id@?$ctype@D@std@@2V0locale@2@A)

1>dcmdata.lib(dcuid.obj) : error LNK2001: unresolved external symbol "public: static class std::locale::id std::ctype<char>::id" (?id@?$ctype@D@std@@2V0locale@2@A)

1>dcmdata.lib(dcvrobow.obj) : error LNK2001: unresolved external symbol "public: static class std::locale::id std::ctype<char>::id" (?id@?$ctype@D@std@@2V0locale@2@A)

1>dcmdata.lib(dcostrmf.obj) : error LNK2001: unresolved external symbol "public: static class std::locale::id std::ctype<char>::id" (?id@?$ctype@D@std@@2V0locale@2@A)

1>dcmdata.lib(dcvr.obj) : error LNK2001: unresolved external symbol "public: static class std::locale::id std::ctype<char>::id" (?id@?$ctype@D@std@@2V0locale@2@A)

1>dcmdata.lib(dcdatset.obj) : error LNK2001: unresolved external symbol "public: static class std::locale::id std::ctype<char>::id" (?id@?$ctype@D@std@@2V0locale@2@A)

1>dcmdata.lib(dcmetinf.obj) : error LNK2001: unresolved external symbol "public: static class std::locale::id std::ctype<char>::id" (?id@?$ctype@D@std@@2V0locale@2@A)

1>dcmdata.lib(dcobject.obj) : error LNK2001: unresolved external symbol "public: static class std::locale::id std::ctype<char>::id" (?id@?$ctype@D@std@@2V0locale@2@A)

1>dcmdata.lib(dcelem.obj) : error LNK2001: unresolved external symbol "public: static class std::locale::id std::ctype<char>::id" (?id@?$ctype@D@std@@2V0locale@2@A)

1>ofstd.lib(ofstring.obj) : error LNK2001: unresolved external symbol "public: static class std::locale::id std::ctype<char>::id" (?id@?$ctype@D@std@@2V0locale@2@A)

1>dcmdata.lib(dcfilefo.obj) : error LNK2001: unresolved external symbol "public: static class std::locale::id std::ctype<char>::id" (?id@?$ctype@D@std@@2V0locale@2@A)

1>dcmdata.lib(dcitem.obj) : error LNK2001: unresolved external symbol "public: static class std::locale::id std::ctype<char>::id" (?id@?$ctype@D@std@@2V0locale@2@A)

1>dcmdata.lib(dcsequen.obj) : error LNK2001: unresolved external symbol "public: static class std::locale::id std::ctype<char>::id" (?id@?$ctype@D@std@@2V0locale@2@A)

1>ofstd.lib(ofcmdln.obj) : error LNK2019: unresolved external symbol "private: static int std::locale::id::_Id_cnt" (?_Id_cnt@id@locale@std@@0HA) referenced in function "protected: virtual int __thiscall std::basic_filebuf<char,struct std::char_traits<char> >::overflow(int)" (?overflow@?$basic_filebuf@DU?$char_traits@D@std@@@std@@MAEHH@Z)

1>ofstd.lib(ofconapp.obj) : error LNK2001: unresolved external symbol "private: static int std::locale::id::_Id_cnt" (?_Id_cnt@id@locale@std@@0HA)

1>oflog.lib(fileap.obj) : error LNK2001: unresolved external symbol "private: static int std::locale::id::_Id_cnt" (?_Id_cnt@id@locale@std@@0HA)

1>oflog.lib(ntelogap.obj) : error LNK2001: unresolved external symbol "private: static int std::locale::id::_Id_cnt" (?_Id_cnt@id@locale@std@@0HA)

1>oflog.lib(winconap.obj) : error LNK2001: unresolved external symbol "private: static int std::locale::id::_Id_cnt" (?_Id_cnt@id@locale@std@@0HA)

1>oflog.lib(windebap.obj) : error LNK2001: unresolved external symbol "private: static int std::locale::id::_Id_cnt" (?_Id_cnt@id@locale@std@@0HA)

1>oflog.lib(config.obj) : error LNK2001: unresolved external symbol "private: static int std::locale::id::_Id_cnt" (?_Id_cnt@id@locale@std@@0HA)

1>oflog.lib(property.obj) : error LNK2001: unresolved external symbol "private: static int std::locale::id::_Id_cnt" (?_Id_cnt@id@locale@std@@0HA)

1>oflog.lib(threads.obj) : error LNK2001: unresolved external symbol "private: static int std::locale::id::_Id_cnt" (?_Id_cnt@id@locale@std@@0HA)

1>oflog.lib(syncprims.obj) : error LNK2001: unresolved external symbol "private: static int std::locale::id::_Id_cnt" (?_Id_cnt@id@locale@std@@0HA)

1>dcmdata.lib(dchashdi.obj) : error LNK2001: unresolved external symbol "private: static int std::locale::id::_Id_cnt" (?_Id_cnt@id@locale@std@@0HA)

1>ofstd.lib(ofstd.obj) : error LNK2001: unresolved external symbol "private: static int std::locale::id::_Id_cnt" (?_Id_cnt@id@locale@std@@0HA)

1>oflog.lib(oflog.obj) : error LNK2001: unresolved external symbol "private: static int std::locale::id::_Id_cnt" (?_Id_cnt@id@locale@std@@0HA)

1>oflog.lib(patlay.obj) : error LNK2001: unresolved external symbol "private: static int std::locale::id::_Id_cnt" (?_Id_cnt@id@locale@std@@0HA)

1>dcmdata.lib(vrscan.obj) : error LNK2001: unresolved external symbol "private: static int std::locale::id::_Id_cnt" (?_Id_cnt@id@locale@std@@0HA)

1>dcmdata.lib(dcbytstr.obj) : error LNK2001: unresolved external symbol "private: static int std::locale::id::_Id_cnt" (?_Id_cnt@id@locale@std@@0HA)

1>dcmdata.lib(dcpixseq.obj) : error LNK2001: unresolved external symbol "private: static int std::locale::id::_Id_cnt" (?_Id_cnt@id@locale@std@@0HA)

1>dcmdata.lib(dcdicent.obj) : error LNK2001: unresolved external symbol "private: static int std::locale::id::_Id_cnt" (?_Id_cnt@id@locale@std@@0HA)

1>dcmdata.lib(dcvrat.obj) : error LNK2001: unresolved external symbol "private: static int std::locale::id::_Id_cnt" (?_Id_cnt@id@locale@std@@0HA)

1>dcmdata.lib(dcpxitem.obj) : error LNK2001: unresolved external symbol "private: static int std::locale::id::_Id_cnt" (?_Id_cnt@id@locale@std@@0HA)

1>dcmdata.lib(dcdirrec.obj) : error LNK2001: unresolved external symbol "private: static int std::locale::id::_Id_cnt" (?_Id_cnt@id@locale@std@@0HA)

1>dcmdata.lib(dcdict.obj) : error LNK2001: unresolved external symbol "private: static int std::locale::id::_Id_cnt" (?_Id_cnt@id@locale@std@@0HA)

1>dcmdata.lib(dcuid.obj) : error LNK2001: unresolved external symbol "private: static int std::locale::id::_Id_cnt" (?_Id_cnt@id@locale@std@@0HA)

1>dcmdata.lib(dcvrobow.obj) : error LNK2001: unresolved external symbol "private: static int std::locale::id::_Id_cnt" (?_Id_cnt@id@locale@std@@0HA)

1>dcmdata.lib(dcostrmf.obj) : error LNK2001: unresolved external symbol "private: static int std::locale::id::_Id_cnt" (?_Id_cnt@id@locale@std@@0HA)

1>dcmdata.lib(dcvr.obj) : error LNK2001: unresolved external symbol "private: static int std::locale::id::_Id_cnt" (?_Id_cnt@id@locale@std@@0HA)

1>dcmdata.lib(dcdatset.obj) : error LNK2001: unresolved external symbol "private: static int std::locale::id::_Id_cnt" (?_Id_cnt@id@locale@std@@0HA)

1>dcmdata.lib(dcmetinf.obj) : error LNK2001: unresolved external symbol "private: static int std::locale::id::_Id_cnt" (?_Id_cnt@id@locale@std@@0HA)

1>dcmdata.lib(dcobject.obj) : error LNK2001: unresolved external symbol "private: static int std::locale::id::_Id_cnt" (?_Id_cnt@id@locale@std@@0HA)

1>dcmdata.lib(dcelem.obj) : error LNK2001: unresolved external symbol "private: static int std::locale::id::_Id_cnt" (?_Id_cnt@id@locale@std@@0HA)

1>ofstd.lib(ofstring.obj) : error LNK2001: unresolved external symbol "private: static int std::locale::id::_Id_cnt" (?_Id_cnt@id@locale@std@@0HA)

1>dcmdata.lib(dcfilefo.obj) : error LNK2001: unresolved external symbol "private: static int std::locale::id::_Id_cnt" (?_Id_cnt@id@locale@std@@0HA)

1>dcmdata.lib(dcitem.obj) : error LNK2001: unresolved external symbol "private: static int std::locale::id::_Id_cnt" (?_Id_cnt@id@locale@std@@0HA)

1>dcmdata.lib(dcsequen.obj) : error LNK2001: unresolved external symbol "private: static int std::locale::id::_Id_cnt" (?_Id_cnt@id@locale@std@@0HA)

1>oflog.lib(ntelogap.obj) : error LNK2001: unresolved external symbol "long const std::_BADOFF" (?_BADOFF@std@@3JB)

1>oflog.lib(winconap.obj) : error LNK2001: unresolved external symbol "long const std::_BADOFF" (?_BADOFF@std@@3JB)

1>oflog.lib(windebap.obj) : error LNK2019: unresolved external symbol "long const std::_BADOFF" (?_BADOFF@std@@3JB) referenced in function "public: class OFIterator<class OFPair<class OFString,class OFString> > __thiscall OFList<class OFPair<class OFString,class OFString> >::insert(class OFIterator<class OFPair<class OFString,class OFString> >,class OFPair<class OFString,class OFString> const &)" (?insert@?$OFList@V?$OFPair@VOFString@@V1@@@@@QAE?AV?$OFIterator@V?$OFPair@VOFString@@V1@@@@@V2@ABV?$OFPair@VOFString@@V1@@@@Z)

1>ofstd.lib(ofcmdln.obj) : error LNK2001: unresolved external symbol "long const std::_BADOFF" (?_BADOFF@std@@3JB)

1>oflog.lib(config.obj) : error LNK2001: unresolved external symbol "long const std::_BADOFF" (?_BADOFF@std@@3JB)

1>oflog.lib(property.obj) : error LNK2001: unresolved external symbol "long const std::_BADOFF" (?_BADOFF@std@@3JB)

1>oflog.lib(threads.obj) : error LNK2001: unresolved external symbol "long const std::_BADOFF" (?_BADOFF@std@@3JB)

1>oflog.lib(fileap.obj) : error LNK2001: unresolved external symbol "long const std::_BADOFF" (?_BADOFF@std@@3JB)

1>dcmdata.lib(dcpixseq.obj) : error LNK2001: unresolved external symbol "long const std::_BADOFF" (?_BADOFF@std@@3JB)

1>ofstd.lib(ofstd.obj) : error LNK2001: unresolved external symbol "long const std::_BADOFF" (?_BADOFF@std@@3JB)

1>oflog.lib(oflog.obj) : error LNK2001: unresolved external symbol "long const std::_BADOFF" (?_BADOFF@std@@3JB)

1>oflog.lib(patlay.obj) : error LNK2001: unresolved external symbol "long const std::_BADOFF" (?_BADOFF@std@@3JB)

1>dcmdata.lib(dcdirrec.obj) : error LNK2001: unresolved external symbol "long const std::_BADOFF" (?_BADOFF@std@@3JB)

1>dcmdata.lib(dcdict.obj) : error LNK2001: unresolved external symbol "long const std::_BADOFF" (?_BADOFF@std@@3JB)

1>dcmdata.lib(vrscan.obj) : error LNK2001: unresolved external symbol "long const std::_BADOFF" (?_BADOFF@std@@3JB)

1>dcmdata.lib(dcbytstr.obj) : error LNK2001: unresolved external symbol "long const std::_BADOFF" (?_BADOFF@std@@3JB)

1>dcmdata.lib(dcvrobow.obj) : error LNK2001: unresolved external symbol "long const std::_BADOFF" (?_BADOFF@std@@3JB)

1>dcmdata.lib(dcostrmf.obj) : error LNK2001: unresolved external symbol "long const std::_BADOFF" (?_BADOFF@std@@3JB)

1>dcmdata.lib(dcvr.obj) : error LNK2001: unresolved external symbol "long const std::_BADOFF" (?_BADOFF@std@@3JB)

1>dcmdata.lib(dcpxitem.obj) : error LNK2001: unresolved external symbol "long const std::_BADOFF" (?_BADOFF@std@@3JB)

1>dcmdata.lib(dcmetinf.obj) : error LNK2001: unresolved external symbol "long const std::_BADOFF" (?_BADOFF@std@@3JB)

1>dcmdata.lib(dcobject.obj) : error LNK2001: unresolved external symbol "long const std::_BADOFF" (?_BADOFF@std@@3JB)

1>dcmdata.lib(dcelem.obj) : error LNK2001: unresolved external symbol "long const std::_BADOFF" (?_BADOFF@std@@3JB)

1>dcmdata.lib(dcuid.obj) : error LNK2001: unresolved external symbol "long const std::_BADOFF" (?_BADOFF@std@@3JB)

1>dcmdata.lib(dcfilefo.obj) : error LNK2001: unresolved external symbol "long const std::_BADOFF" (?_BADOFF@std@@3JB)

1>dcmdata.lib(dcitem.obj) : error LNK2001: unresolved external symbol "long const std::_BADOFF" (?_BADOFF@std@@3JB)

1>dcmdata.lib(dcsequen.obj) : error LNK2001: unresolved external symbol "long const std::_BADOFF" (?_BADOFF@std@@3JB)

1>dcmdata.lib(dcdatset.obj) : error LNK2001: unresolved external symbol "long const std::_BADOFF" (?_BADOFF@std@@3JB)

1>ofstd.lib(ofconsol.obj) : error LNK2001: unresolved external symbol "class std::basic_ostream<char,struct std::char_traits<char> > std::cerr" (?cerr@std@@3V?$basic_ostream@DU?$char_traits@D@std@@@1@A)

1>ofstd.lib(ofconsol.obj) : error LNK2001: unresolved external symbol "class std::basic_ostream<char,struct std::char_traits<char> > std::cout" (?cout@std@@3V?$basic_ostream@DU?$char_traits@D@std@@@1@A)

1>D:\VSWorkSpace\TestA\Debug\TestA.exe : fatal error LNK1120: 5 unresolved externals


0
0
分享到:
评论

相关推荐

    dicom.rar_dcmtk_dcmtk3.6_dcmtk3.6.0_dicom

    8. **文档资源**:压缩包中的“dicom.pdf”可能是DCMTK的用户手册或开发指南,包含详细的API文档、使用示例和配置说明,是学习和使用DCMTK的重要参考。 9. **社区支持**:DCMTK有一个活跃的开发者社区,用户可以...

    DCMTK3.6.0库在VS2012中的配置实例

    1. **下载与解压**: 首先,你需要从官方或者可靠的第三方源下载DCMTK3.6.0的源代码包,并将其解压到一个方便的工作目录。 2. **构建DCMTK**: 使用Visual Studio 2012打开命令行工具,进入DCMTK源码目录,运行CMake...

    dcmtk-3.6.0.zip

    DCMTK 3.6.0是该工具包的一个版本,包含了实现这一标准所需的各类接口和功能。 在DCMTK 3.6.0中,用户可以找到以下关键知识点: 1. DICOM协议:DCMTK实现了DICOM通信协议的完整堆栈,包括网络传输层(如DIMSE - ...

    Dcmtk3.6.0

    Dcmtk3.6.0, 如果从头开始理解DICOM的协议,然后完全自己编写这些代码来实现这些协议,是一件工程浩大的事情。德国offis公司开发的DCMTK,为我们提供了实现DICOM协议的一个平台,使得我们可以在它的基础上轻松的完成...

    dcmtk-3.6.0编译完成的动态库文件(包含Release和Debug两个版本)

    标题中的"dcmtk-3.6.0编译完成的动态库文件"指的是已经成功编译构建的DCMTK库,版本号为3.6.0。动态库文件通常指的是DLL(Dynamic Link Library)文件,在Windows系统中,这类文件在程序运行时被加载,可以节省内存...

    DCMTK3.6.0 CHM帮助文档

    做了一个DCMTK 3.6.0版本的CHM帮助文件,拿上来共享一下;有些粗糙,大家不要介意。

    linux系统下的 DCMTK-3.6.0

    **Linux系统下的DCMTK-3.6.0详解** DCMTK(DICOM Toolkit)是一套开源的软件库和工具集,专为处理DICOM(Digital Imaging and Communications in Medicine)标准而设计,广泛应用于医学图像通信、医学影像处理和...

    windows32位下的dcmtk-3.6.0

    包括dcmtk-3.6.0、dcmtk-3.6.0-win32-i386-support_MD和dcmtk-3.6.0-html-help(英文版),同时,附带cmake-3.2.2-win32-x86。 在win7旗舰版32位+VS2005下亲测编译通过,没有问题。

    dcmtk-3.6.0官方帮助文档

    这个3.6.0版本的官方帮助文档是开发者和使用者理解DCMTK的重要资源,提供了详尽的函数、类和方法的说明。 DCMTK的核心功能包括: 1. **DICOM网络协议实现**:DCMTK提供了实现DICOM网络协议的工具,如dcmnet库,允许...

    dcmtk-3.6.0-win32-i386-support_MD 支持库

    这个“dcmtk-3.6.0-win32-i386-support_MD”版本是针对Windows 32位平台的DCMTK支持库,包含了MD(Medical Device)相关的支持。 DICOM是医疗领域广泛采用的数据交换、存储和通信的标准,它定义了如何在不同设备...

    dcmtk-3.6.0帮助文档chm版

    dcmtk-3.6.0帮助文档chm版

    dcmtk编译安装详细文档

    从官方或者第三方镜像站点下载DCMTK的源码包,例如`dcmtk3.6.0.tar.gz`。解压后进入源码目录,创建一个名为`dcmtk-bin`的文件夹,这将是编译生成的二进制文件的存放位置。 ```bash tar -zxvf dcmtk3.6.0.tar.gz cd ...

    dcmtk-3.6.1_0924编译之后的包

    DCMTK(DICOM ToolKit)是一个开源的C++库,专为开发处理DICOM(Digital Imaging and Communications in Medicine)标准的应用程序而设计。DICOM是医疗成像领域广泛采用的数据交换格式,用于存储、传输和打印医学...

    dcmtk-3.6.1编译出来的Release版本的动态库文件

    DCMTK(DICOM ToolKit)是一套开源的C++工具包,专为开发和处理遵循DICOM(Digital Imaging and Communications in Medicine)标准的医疗影像数据而设计。DICOM是医学影像领域广泛采用的数据交换标准,它允许不同...

    DCMTK工具下载,实现dicom传输文件等功能

    首先,你需要根据你的操作系统和编译环境配置DCMTK,然后编译和安装。安装完成后,你可以通过命令行工具进行简单的测试,例如使用`dcmdump`查看DICOM文件的详细内容,或使用`dcmsend`将文件传输到另一台DICOM设备。 ...

    DCMTK入门指南-编译说明

    DCMTK入门指南-编译说明 DCMTK(DICOM_toolkit)是一个开源软件,使得开发者可以轻松地处理DICOM格式的医学图像。以下是 DCMTK 的编译说明: 环境准备 在编译 DCMTK 之前,需要准备以下环境: * 操作系统:WIN7 ...

    DCMTK3.6.2+VS2015(MD支持版)编译和安装示范

    DCMTK3.6.2+VS2015(MD支持版)编译和安装示范,本文的编译机器是Windows10 64位系统,使用VS2015和cmake3.7.2编译DCMTK源码为64位包(运行时库为MD或MDd)。

    dcmtk-3.6.2-html-help.zip

    DCMTK(DICOM Toolkit)是一个强大的开源工具包,由德国OFFIS研究所开发并维护,专为医疗图像通信标准——DICOM(Digital Imaging and Communications in Medicine)提供支持。作为三大DICOM开源库之一,DCMTK在医疗...

    DCMTK的生成及加载和一些使用的例子

    - 下载最新版本的DCMTK源代码,例如版本3.5.3的下载链接为:[ftp://dicom.offis.de/pub/dicom/offis/software/dcmtk/dcmtk353/dcmtk-3.5.3.zip](ftp://dicom.offis.de/pub/dicom/offis/software/dcmtk/dcmtk353/...

Global site tag (gtag.js) - Google Analytics