Visual Studio 2012中的运行时不匹配

安基·辛格

我有一个最初是VS2008的解决方案,我已经将其迁移到VS2012,但这并没有造成问题。我的解决方案使用DCMTK静态库,因此我也使用VS 2012对其进行了编译。解决方案中总共有68个项目,其中只有一个需要DCMTK库。

现在,在编译单个项目时(在C ++中),我得到以下错误:

Error   482 error LNK1120: 4 unresolved externals      
Error   478 error LNK2019: unresolved external symbol "int __cdecl ConvertRawToJPEG(unsigned char *,unsigned char *,int,int,int &,int)" (?ConvertRawToJPEG@@YAHPAE0HHAAHH@Z) referenced in function "public: virtual long __stdcall DxsDicomFileCreator::CreateThumbnailImage16(unsigned short *)" (?CreateThumbnailImage16@DxsDicomFileCreator@@UAGJPAG@Z)
Error   479 error LNK2019: unresolved external symbol "int __cdecl GetJPEGImage(unsigned char *,int,unsigned char *,int)" (?GetJPEGImage@@YAHPAEH0H@Z) referenced in function __catch$?ExtractImageBuffer8@DxsDicomImage@@UAGJPA_WPAPAE@Z$0 
Error   480 error LNK2019: unresolved external symbol "int __cdecl GetJPEGImage16(unsigned char *,int,unsigned short *,int)" (?GetJPEGImage16@@YAHPAEHPAGH@Z) referenced in function __catch$?ExtractImageBuffer@DxsDicomImage@@UAGJPA_WPAPAG@Z$0
Error   481 error LNK2019: unresolved external symbol "public: virtual class ATL::CStringT<char,class StrTraitMFC_DLL<char,class ATL::ChTraitsCRT<char> > > __thiscall CFileFind::GetFileTitleA(void)const " (?GetFileTitleA@CFileFind@@UBE?AV?$CStringT@DV?$StrTraitMFC_DLL@DV?$ChTraitsCRT@D@ATL@@@@@ATL@@XZ) referenced in function "public: virtual long __stdcall DxsDicomPrintSCU::PrintSCU(void)" (?PrintSCU@DxsDicomPrintSCU@@UAGJXZ)
Error   377 error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease'
Error   348 error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' DxsBaseDicomSCU.obj 
Error   361 error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in DxsBaseDicomSCU.obj
Error   315 error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in DxsBaseDicomSCU.obj  
Error   80  error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in DxsBaseDicomSCU.obj  
Error   233 error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in DxsBaseDicomSCU.obj  
Error   245 error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in DxsBaseDicomSCU.obj  
Error   181 error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in DxsBaseDicomSCU.obj  
Error   211 error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in DxsBaseDicomSCU.obj  
Error   174 error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in DxsBaseDicomSCU.obj  

现在,当我使用/ MT运行时DCMTK库尝试使用/ MD运行时来构建DCMTK库时,就会出现这些错误,在这种情况下会出现以下错误:

Error   3172    error LNK1120: 89 unresolved externals
Error   2157    error LNK2001: unresolved external symbol "__declspec(dllimport) __int64 const std::_BADOFF" (__imp_?_BADOFF@std@@3_JB) 
Error   2273    error LNK2001: unresolved external symbol "__declspec(dllimport) bool __cdecl std::uncaught_exception(void)" (__imp_?uncaught_exception@std@@YA_NXZ)    
Error   2714    error LNK2001: unresolved external symbol "__declspec(dllimport) class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl std::endl(class std::basic_ostream<char,struct std::char_traits<char> > &)" (__imp_?endl@std@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@1@AAV21@@Z) 
Error   2240    error LNK2001: unresolved external symbol "__declspec(dllimport) const std::basic_ios<char,struct std::char_traits<char> >::`vftable'" (__imp_??_7?$basic_ios@DU?$char_traits@D@std@@@std@@6B@) 
Error   2205    error LNK2001: unresolved external symbol "__declspec(dllimport) const std::ios_base::`vftable'" (__imp_??_7ios_base@std@@6B@)  
Error   2210    error LNK2001: unresolved external symbol "__declspec(dllimport) const std::ios_base::`vftable'" (__imp_??  _7ios_base@std@@6B@)    
Error   1743    error LNK2001: unresolved external symbol "__declspec(dllimport) private: static void __cdecl std::ios_base::_Ios_base_dtor(class std::ios_base *)" (__imp_?_Ios_base_dtor@ios_base@std@@CAXPAV12@@Z)   
Error   3164    error LNK2001: unresolved external symbol "__declspec(dllimport) protected: __thiscall std::basic_ios<char,struct std::char_traits<char> >::basic_ios<char,struct std::char_traits<char> >(void)" (__imp_??0?$basic_ios@DU?$char_traits@D@std@@@std@@IAE@XZ)    
Error   2454    error LNK2001: unresolved external symbol "__declspec(dllimport) protected: char * __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::_Pninc(void)" (__imp_?_Pninc@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IAEPADXZ)  D:\CCRC_VS\Allura_FCFD_Win7_Dev_Laxmi\Drishti\Drishti\Code\Drishti.DataTier\Drishti.DicomLibrary\oflog.lib(threads.obj) DXSDICOMLIBRARY
Error   3037    error LNK2001: unresolved external symbol "__declspec(dllimport) protected: void __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::setg(char *,char *,char *)" (__imp_?setg@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IAEXPAD00@Z) 
Error   1658    error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Lockit::~_Lockit(void)" (__imp_??1_Lockit@std@@QAE@XZ)    
Error   2788    error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::basic_iostream<char,struct std::char_traits<char> >::basic_iostream<char,struct std::char_traits<char> >(class std::basic_streambuf<char,struct std::char_traits<char> > *)" (__imp_??0?$basic_iostream@DU?$char_traits@D@std@@@std@@QAE@PAV?$basic_streambuf@DU?$char_traits@D@std@@@1@@Z)    
Error   1680    error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::locale::id::operator unsigned int(void)" (__imp_??Bid@locale@std@@QAEIXZ)  
Error   1691    error LNK2001: unresolved external symbol "__declspec(dllimport) public: bool __thiscall std::codecvt_base::always_noconv(void)const " (__imp_?always_noconv@codecvt_base@std@@QBE_NXZ) 
Error   2620    error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::flush(void)" (__imp_?flush@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV12@XZ)   
Error   2840    error LNK2001: unresolved external symbol "public: virtual void __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::_Unlock(void)" (?_Unlock@?$basic_streambuf@DU?$char_traits@D@std@@@std@@UAEXXZ)   
Error   1666    error LNK2019: unresolved external symbol "void __cdecl std::_Facet_Register(class std::_Facet_base *)" (?_Facet_Register@std@@YAXPAV_Facet_base@1@@Z) referenced in function "class std::codecvt<char,char,int> const & __cdecl std::use_facet<class std::codecvt<char,char,int> >(class std::locale const &)" (??$use_facet@V?$codecvt@DDH@std@@@std@@YAABV?$codecvt@DDH@0@ABVlocale@0@@Z)

因此,我不确定在构建静态dcmtk库时使用哪个运行时选项,以及如何继续操作。任何帮助将不胜感激,因为我是这方面的新手

编辑:

这是我在使用/ MD Runtime构建时获得的输出

1>dcmimgle.lib(dimoimg.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(unsigned short)" (__imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@G@Z)
1>dcmimgle.lib(digsdlut.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(unsigned short)" (__imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@G@Z)
1>dcmpstat.lib(dviface.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(unsigned short)" (__imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@G@Z) referenced in function "private: class OFCondition __thiscall DVInterface::createQueryRetrieveServerConfigFile(char const *)" (?createQueryRetrieveServerConfigFile@DVInterface@@AAE?AVOFCondition@@PBD@Z)
1>dcmdata.lib(dcobject.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(unsigned short)" (__imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@G@Z)
1>dcmdata.lib(dcelem.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(unsigned short)" (__imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@G@Z)
1>dcmdata.lib(dcsequen.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(unsigned short)" (__imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@G@Z)
1>ofstd.lib(ofconapp.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(int)" (__imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@H@Z)
1>oflog.lib(fileap.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(int)" (__imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@H@Z)
1>oflog.lib(oflog.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(int)" (__imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@H@Z)
1>oflog.lib(appender.obj) : error LNK2001: unresolved external symbol  "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(int)" (__imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@H@Z)
1>oflog.lib(syncprims.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(int)" (__imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@H@Z)
1>dcmnet.lib(dul.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(int)" (__imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@H@Z)
1>dcmnet.lib(dimdump.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(int)" (__imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@H@Z)
1>dcmqrdb.lib(dcmqrdbi.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(int)" (__imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@H@Z)
1>oflog.lib(patlay.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(int)" (__imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@H@Z)
1>dcmdata.lib(dcdicent.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(int)" (__imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@H@Z)
1>dcmimgle.lib(digsdfn.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(int)" (__imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@H@Z)
1>dcmimgle.lib(diciefn.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(int)" (__imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@H@Z)
1>dcmnet.lib(assoc.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(int)" (__imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@H@Z)
1>dcmpstat.lib(dviface.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(int)" (__imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@H@Z) referenced in function "private: class OFCondition __thiscall DVInterface::createQueryRetrieveServerConfigFile(char const *)" (?createQueryRetrieveServerConfigFile@DVInterface@@AAE?AVOFCondition@@PBD@Z)
1>dcmdata.lib(dcpxitem.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(int)" (__imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@H@Z)
1>dcmdata.lib(dcvrobow.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(int)" (__imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@H@Z)
1>dcmdata.lib(dchashdi.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(int)" (__imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@H@Z)
1>dcmpstat.lib(dviface.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(long)" (__imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@J@Z) referenced in function "private: class OFCondition __thiscall DVInterface::createQueryRetrieveServerConfigFile(char const *)" (?createQueryRetrieveServerConfigFile@DVInterface@@AAE?AVOFCondition@@PBD@Z)
1>dcmnet.lib(assoc.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(long)" (__imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@J@Z)
1>dcmqrdb.lib(dcmqrdbi.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(long)" (__imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@J@Z)
1>dcmsr.lib(dsrimgfr.obj) : error LNK2001: unresolved external symbol  "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(long)" (__imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@J@Z)
1>dcmimage.lib(dicoimg.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(unsigned long)" (__imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@K@Z)
1>dcmsr.lib(dsrtcosp.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(unsigned long)" (__imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@K@Z)
1>oflog.lib(threads.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(unsigned long)" (__imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@K@Z)
1>dcmimgle.lib(dimoimg.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(unsigned long)" (__imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@K@Z)
1>dcmimgle.lib(dimoimg3.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(unsigned long)" (__imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@K@Z)
1>dcmimgle.lib(dimoimg4.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(unsigned long)" (__imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@K@Z)
1>dcmimgle.lib(dimoimg5.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(unsigned long)" (__imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@K@Z)
1>dcmdata.lib(dcsequen.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(unsigned long)" (__imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@K@Z)
1>dcmdata.lib(dcdirrec.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(unsigned long)" (__imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@K@Z)
1>dcmimgle.lib(digsdfn.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(unsigned long)" (__imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@K@Z)
1>dcmimgle.lib(diciefn.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(unsigned long)" (__imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@K@Z)
1>dcmdata.lib(dcpixseq.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(unsigned long)" (__imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@K@Z)
1>dcmdata.lib(dcpxitem.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(unsigned long)" (__imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@K@Z)
1>dcmdata.lib(dcobject.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(unsigned long)" (__imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@K@Z)
1>dcmdata.lib(dcelem.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(unsigned long)" (__imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@K@Z)
1>dcmpstat.lib(dviface.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(unsigned long)" (__imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@K@Z) referenced in function "private: class OFCondition __thiscall DVInterface::createQueryRetrieveServerConfigFile(char const *)" (?createQueryRetrieveServerConfigFile@DVInterface@@AAE?AVOFCondition@@PBD@Z)
1>dcmpstat.lib(dvsighdl.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(unsigned long)" (__imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@K@Z)
1>dcmdata.lib(dcitem.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(unsigned long)" (__imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@K@Z)
1>dcmdata.lib(dcddirif.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(unsigned long)" (__imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@K@Z)
1>dcmsr.lib(dsrdoc.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) const std::basic_ostream<char,struct std::char_traits<char> >::`vftable'" (__imp_??_7?$basic_ostream@DU?$char_traits@D@std@@@std@@6B@)
1>dcmpstat.lib(dvsighdl.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) const std::basic_ostream<char,struct std::char_traits<char> >::`vftable'" (__imp_??_7?$basic_ostream@DU?$char_traits@D@std@@@std@@6B@) referenced in function "private: void __thiscall DVSignatureHandler::updateSignatureValidationOverview(void)" (?updateSignatureValidationOverview@DVSignatureHandler@@AAEXXZ)
1>dcmnet.lib(assoc.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) const std::basic_ostream<char,struct std::char_traits<char> >::`vftable'" (__imp_??_7?$basic_ostream@DU?$char_traits@D@std@@@std@@6B@)
1>dcmnet.lib(dul.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) const std::basic_ostream<char,struct std::char_traits<char> >::`vftable'" (__imp_??_7?$basic_ostream@DU?$char_traits@D@std@@@std@@6B@)
1>dcmnet.lib(dimdump.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) const std::basic_ostream<char,struct std::char_traits<char> >::`vftable'" (__imp_??_7?$basic_ostream@DU?$char_traits@D@std@@@std@@6B@)
 1>dcmnet.lib(dimdump.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(class std::ios_base & (__cdecl*)(class std::ios_base &))" (__imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@P6AAAVios_base@1@AAV21@@Z@Z) referenced in function "void __cdecl DIMSE_printNStatusString(class std::basic_ostream<char,struct std::char_traits<char> > &,int)" (?DIMSE_printNStatusString@@YAXAAV?$basic_ostream@DU?$char_traits@D@std@@@std@@H@Z)
 1>dcmnet.lib(dulparse.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(class std::ios_base & (__cdecl*)(class std::ios_base &))" (__imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@P6AAAVios_base@1@AAV21@@Z@Z)
 1>dcmdata.lib(dcsequen.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(class std::ios_base & (__cdecl*)(class std::ios_base &))" (__imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@P6AAAVios_base@1@AAV21@@Z@Z)
1>dcmdata.lib(dcvrat.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(class std::ios_base & (__cdecl*)(class std::ios_base &))" (__imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@P6AAAVios_base@1@AAV21@@Z@Z)
1>dcmdata.lib(dcvrobow.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(class std::ios_base & (__cdecl*)(class std::ios_base &))" (__imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@P6AAAVios_base@1@AAV21@@Z@Z)
 1>dcmnet.lib(dul.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(class std::ios_base & (__cdecl*)(class std::ios_base &))" (__imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@P6AAAVios_base@1@AAV21@@Z@Z)
1>dcmdata.lib(dcitem.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(class std::ios_base & (__cdecl*)(class std::ios_base &))" (__imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@P6AAAVios_base@1@AAV21@@Z@Z)
 1>dcmdata.lib(dcpxitem.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(class std::ios_base & (__cdecl*)(class std::ios_base &))" (__imp_??6?$basic_ostream@DU? $char_traits@D@std@@@std@@QAEAAV01@P6AAAVios_base@1@AAV21@@Z@Z)


1>..\..\Bin\DXSDICOMLIBRARY.dll : fatal error LNK1120: 89 unresolved externals
安基·辛格

我解决了上述问题,终于在奋斗了几天后找到了解决方案。现在,我正在/ MD中构建解决方案,并确保链接到的库也使用相同的设置进行编译。

关于解决方案,当我们在x86中构建项目时,在Linker选项的忽略特定默认库中添加了msvcprt.lib,但是现在在x64中构建时,这似乎是主要问题。我从忽略特定的默认库中删除了msvcprt.lib,然后构建正常且成功。

我仍然不知道的一件事是为什么它在x86上能正常工作,但在x64上却不能正常工作。

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

通过Visual Studio运行时忽略IE中的缓存

来自分类Dev

在没有MSVCRT运行时的情况下在Visual Studio 2012中编译C

来自分类Dev

Visual Studio 2012中的Visual C ++运行时可分发2010

来自分类Dev

在Visual Studio上运行时程序变慢

来自分类Dev

在不同凭据下运行时,在Visual Studio当前实例中打开文件

来自分类Dev

如何在运行时在Visual Studio中编辑C#代码,而不是编辑并继续

来自分类Dev

每次我运行时,Visual Studio都会构建项目

来自分类Dev

为什么Visual Studio运行时库源代码存储在两个目录中?

来自分类Dev

从Visual Studio运行时,PowerShell脚本结果不同

来自分类Dev

如何使用msbuild使用2012 C ++运行时库构建Visual Studio 2010项目?

来自分类Dev

Visual Studio 2012最终不兼容

来自分类Dev

运行时未部署Visual Studio

来自分类Dev

从Visual Studio运行时,STARTUPINFO.wShowWindow为0

来自分类Dev

在Visual Basic(Visual Studio 2019)的运行时中创建的ListView中的索引选择

来自分类Dev

脚本在Visual Studio中运行,但从批处理文件运行时则无法运行

来自分类Dev

Visual Studio 2019中的ANTLR4运行时问题

来自分类Dev

Visual Studio 2012错误“不包含定义”

来自分类Dev

Visual Studio 2010无法安装VC 9.0运行时

来自分类Dev

在不同凭据下运行时,在Visual Studio当前实例中打开文件

来自分类Dev

如何在运行时在Visual Studio中编辑C#代码,而不是编辑并继续

来自分类Dev

Visual Studio 2010的Visual C ++ 2012运行时库先决条件

来自分类Dev

如何在Visual Studio-2010中的运行时刷新SQL Server数据库表?

来自分类Dev

Visual Studio运行注释

来自分类Dev

MFPF 7.1-Windows 8.1应用程序在Visual Studio中运行时出现错误

来自分类Dev

在 PATH 上找不到运行时“节点”。在 Ubuntu 18.04 上运行的 Visual Studio Code 中

来自分类Dev

在 Visual Studio 解决方案中设置所有项目的运行时库

来自分类Dev

是否可以在 Visual Studio 2017 中运行时编辑代码,即使启用了“编辑并继续”?

来自分类Dev

ASP.NET (Visual Studio) 中的 HTML 代码出现 Javascript 运行时错误

来自分类Dev

为什么我的 prgram 在 codechef ide 中显示运行时错误,而它不在 Visual Studio 中?

Related 相关文章

  1. 1

    通过Visual Studio运行时忽略IE中的缓存

  2. 2

    在没有MSVCRT运行时的情况下在Visual Studio 2012中编译C

  3. 3

    Visual Studio 2012中的Visual C ++运行时可分发2010

  4. 4

    在Visual Studio上运行时程序变慢

  5. 5

    在不同凭据下运行时,在Visual Studio当前实例中打开文件

  6. 6

    如何在运行时在Visual Studio中编辑C#代码,而不是编辑并继续

  7. 7

    每次我运行时,Visual Studio都会构建项目

  8. 8

    为什么Visual Studio运行时库源代码存储在两个目录中?

  9. 9

    从Visual Studio运行时,PowerShell脚本结果不同

  10. 10

    如何使用msbuild使用2012 C ++运行时库构建Visual Studio 2010项目?

  11. 11

    Visual Studio 2012最终不兼容

  12. 12

    运行时未部署Visual Studio

  13. 13

    从Visual Studio运行时,STARTUPINFO.wShowWindow为0

  14. 14

    在Visual Basic(Visual Studio 2019)的运行时中创建的ListView中的索引选择

  15. 15

    脚本在Visual Studio中运行,但从批处理文件运行时则无法运行

  16. 16

    Visual Studio 2019中的ANTLR4运行时问题

  17. 17

    Visual Studio 2012错误“不包含定义”

  18. 18

    Visual Studio 2010无法安装VC 9.0运行时

  19. 19

    在不同凭据下运行时,在Visual Studio当前实例中打开文件

  20. 20

    如何在运行时在Visual Studio中编辑C#代码,而不是编辑并继续

  21. 21

    Visual Studio 2010的Visual C ++ 2012运行时库先决条件

  22. 22

    如何在Visual Studio-2010中的运行时刷新SQL Server数据库表?

  23. 23

    Visual Studio运行注释

  24. 24

    MFPF 7.1-Windows 8.1应用程序在Visual Studio中运行时出现错误

  25. 25

    在 PATH 上找不到运行时“节点”。在 Ubuntu 18.04 上运行的 Visual Studio Code 中

  26. 26

    在 Visual Studio 解决方案中设置所有项目的运行时库

  27. 27

    是否可以在 Visual Studio 2017 中运行时编辑代码,即使启用了“编辑并继续”?

  28. 28

    ASP.NET (Visual Studio) 中的 HTML 代码出现 Javascript 运行时错误

  29. 29

    为什么我的 prgram 在 codechef ide 中显示运行时错误,而它不在 Visual Studio 中?

热门标签

归档