error LNK2028: unresolved token

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
freitas
Posts: 2
Joined: Mon, 2012-03-05, 13:35

error LNK2028: unresolved token

#1 Post by freitas » Mon, 2012-03-05, 16:10

Hi,

When I build my project, I got following errors.

Code: Select all

1>ServidorDCMTK.obj : error LNK2028: unresolved token (0A000010) "public: virtual void __clrcall log4cplus::OnlyOnceErrorHandler::reset(void)" (?reset@OnlyOnceErrorHandler@log4cplus@@$$FUAMXXZ) referenced in function "void __clrcall `dynamic initializer for 'const log4cplus::OnlyOnceErrorHandler::`vftable'{for `log4cplus::ErrorHandler'}''(void)" (???__E??_7OnlyOnceErrorHandler@log4cplus@@6BErrorHandler@1@@@@YMXXZ@?A0xff740ee0@@$$FYMXXZ)
1>ServidorDCMTK.obj : error LNK2028: unresolved token (0A000011) "public: virtual void __clrcall log4cplus::OnlyOnceErrorHandler::error(class OFString const &)" (?error@OnlyOnceErrorHandler@log4cplus@@$$FUAMXABVOFString@@@Z) referenced in function "void __clrcall `dynamic initializer for 'const log4cplus::OnlyOnceErrorHandler::`vftable'{for `log4cplus::ErrorHandler'}''(void)" (???__E??_7OnlyOnceErrorHandler@log4cplus@@6BErrorHandler@1@@@@YMXXZ@?A0xff740ee0@@$$FYMXXZ)
1>ServidorDCMTK.obj : error LNK2028: unresolved token (0A000012) "public: virtual void __clrcall log4cplus::SimpleLayout::formatAndAppend(class std::basic_ostream<char,struct std::char_traits<char> > &,class log4cplus::spi::InternalLoggingEvent const &)" (?formatAndAppend@SimpleLayout@log4cplus@@$$FUAMXAAV?$basic_ostream@DU?$char_traits@D@std@@@std@@ABVInternalLoggingEvent@spi@2@@Z) referenced in function "void __clrcall `dynamic initializer for 'const log4cplus::SimpleLayout::`vftable'''(void)" (???__E??_7SimpleLayout@log4cplus@@6B@@@YMXXZ@?A0xff740ee0@@$$FYMXXZ)
1>ServidorDCMTK.obj : error LNK2028: unresolved token (0A000013) "public: virtual class OFauto_ptr<class log4cplus::spi::InternalLoggingEvent> __clrcall log4cplus::spi::InternalLoggingEvent::clone(void)const " (?clone@InternalLoggingEvent@spi@log4cplus@@$$FUBM?AV?$OFauto_ptr@VInternalLoggingEvent@spi@log4cplus@@@@XZ) referenced in function "void __clrcall `dynamic initializer for 'const log4cplus::spi::InternalLoggingEvent::`vftable'''(void)" (???__E??_7InternalLoggingEvent@spi@log4cplus@@6B@@@YMXXZ@?A0xff740ee0@@$$FYMXXZ)
1>ServidorDCMTK.obj : error LNK2028: unresolved token (0A000014) "public: virtual unsigned int __clrcall log4cplus::spi::InternalLoggingEvent::getType(void)const " (?getType@InternalLoggingEvent@spi@log4cplus@@$$FUBMIXZ) referenced in function "void __clrcall `dynamic initializer for 'const log4cplus::spi::InternalLoggingEvent::`vftable'''(void)" (???__E??_7InternalLoggingEvent@spi@log4cplus@@6B@@@YMXXZ@?A0xff740ee0@@$$FYMXXZ)
1>ServidorDCMTK.obj : error LNK2028: unresolved token (0A000015) "public: virtual bool __clrcall OFConditionString::deletable(void)const " (?deletable@OFConditionString@@$$FUBM_NXZ) referenced in function "void __clrcall `dynamic initializer for 'const OFConditionString::`vftable'''(void)" (???__E??_7OFConditionString@@6B@@@YMXXZ@?A0xff740ee0@@$$FYMXXZ)
1>ServidorDCMTK.obj : error LNK2028: unresolved token (0A000016) "public: virtual char const * __clrcall OFConditionString::text(void)const " (?text@OFConditionString@@$$FUBMPBDXZ) referenced in function "void __clrcall `dynamic initializer for 'const OFConditionString::`vftable'''(void)" (???__E??_7OFConditionString@@6B@@@YMXXZ@?A0xff740ee0@@$$FYMXXZ)
1>ServidorDCMTK.obj : error LNK2028: unresolved token (0A000017) "public: virtual enum OFStatus __clrcall OFConditionString::status(void)const " (?status@OFConditionString@@$$FUBM?AW4OFStatus@@XZ) referenced in function "void __clrcall `dynamic initializer for 'const OFConditionString::`vftable'''(void)" (???__E??_7OFConditionString@@6B@@@YMXXZ@?A0xff740ee0@@$$FYMXXZ)
1>ServidorDCMTK.obj : error LNK2028: unresolved token (0A000018) "public: virtual unsigned long __clrcall OFConditionString::codeAndModule(void)const " (?codeAndModule@OFConditionString@@$$FUBMKXZ) referenced in function "void __clrcall `dynamic initializer for 'const OFConditionString::`vftable'''(void)" (???__E??_7OFConditionString@@6B@@@YMXXZ@?A0xff740ee0@@$$FYMXXZ)
1>ServidorDCMTK.obj : error LNK2028: unresolved token (0A000019) "public: virtual class OFConditionBase const * __clrcall OFConditionString::clone(void)const " (?clone@OFConditionString@@$$FUBMPBVOFConditionBase@@XZ) referenced in function "void __clrcall `dynamic initializer for 'const OFConditionString::`vftable'''(void)" (???__E??_7OFConditionString@@6B@@@YMXXZ@?A0xff740ee0@@$$FYMXXZ)
1>ServidorDCMTK.obj : error LNK2028: unresolved token (0A00001A) "public: virtual bool __clrcall OFConditionConst::deletable(void)const " (?deletable@OFConditionConst@@$$FUBM_NXZ) referenced in function "void __clrcall `dynamic initializer for 'const OFConditionConst::`vftable'''(void)" (???__E??_7OFConditionConst@@6B@@@YMXXZ@?A0xff740ee0@@$$FYMXXZ)
1>ServidorDCMTK.obj : error LNK2028: unresolved token (0A00001B) "public: virtual char const * __clrcall OFConditionConst::text(void)const " (?text@OFConditionConst@@$$FUBMPBDXZ) referenced in function "void __clrcall `dynamic initializer for 'const OFConditionConst::`vftable'''(void)" (???__E??_7OFConditionConst@@6B@@@YMXXZ@?A0xff740ee0@@$$FYMXXZ)
1>ServidorDCMTK.obj : error LNK2028: unresolved token (0A00001C) "public: virtual enum OFStatus __clrcall OFConditionConst::status(void)const " (?status@OFConditionConst@@$$FUBM?AW4OFStatus@@XZ) referenced in function "void __clrcall `dynamic initializer for 'const OFConditionConst::`vftable'''(void)" (???__E??_7OFConditionConst@@6B@@@YMXXZ@?A0xff740ee0@@$$FYMXXZ)
1>ServidorDCMTK.obj : error LNK2028: unresolved token (0A00001D) "public: virtual unsigned long __clrcall OFConditionConst::codeAndModule(void)const " (?codeAndModule@OFConditionConst@@$$FUBMKXZ) referenced in function "void __clrcall `dynamic initializer for 'const OFConditionConst::`vftable'''(void)" (???__E??_7OFConditionConst@@6B@@@YMXXZ@?A0xff740ee0@@$$FYMXXZ)
1>ServidorDCMTK.obj : error LNK2028: unresolved token (0A00001E) "public: virtual class OFConditionBase const * __clrcall OFConditionConst::clone(void)const " (?clone@OFConditionConst@@$$FUBMPBVOFConditionBase@@XZ) referenced in function "void __clrcall `dynamic initializer for 'const OFConditionConst::`vftable'''(void)" (???__E??_7OFConditionConst@@6B@@@YMXXZ@?A0xff740ee0@@$$FYMXXZ)
1>ServidorDCMTK.obj : error LNK2028: unresolved token (0A000028) "public: void __clrcall log4cplus::helpers::SharedObject::addReference(void)const " (?addReference@SharedObject@helpers@log4cplus@@$$FQBMXXZ) referenced in function "private: void __clrcall log4cplus::helpers::SharedObjectPtr<class log4cplus::spi::Filter>::addref(void)const " (?addref@?$SharedObjectPtr@VFilter@spi@log4cplus@@@helpers@log4cplus@@$$FABMXXZ)
1>ServidorDCMTK.obj : error LNK2028: unresolved token (0A000037) "public: virtual __clrcall log4cplus::ErrorHandler::~ErrorHandler(void)" (??1ErrorHandler@log4cplus@@$$FUAM@XZ) referenced in function "public: virtual __clrcall log4cplus::OnlyOnceErrorHandler::~OnlyOnceErrorHandler(void)" (??1OnlyOnceErrorHandler@log4cplus@@$$FUAM@XZ)
1>ServidorDCMTK.obj : error LNK2028: unresolved token (0A000039) "public: virtual __clrcall log4cplus::helpers::LogLogUser::~LogLogUser(void)" (??1LogLogUser@helpers@log4cplus@@$$FUAM@XZ) referenced in function "public: virtual __clrcall log4cplus::Layout::~Layout(void)" (??1Layout@log4cplus@@$$FUAM@XZ)
1>ServidorDCMTK.obj : error LNK2028: unresolved token (0A00003B) "public: virtual __clrcall log4cplus::spi::InternalLoggingEvent::~InternalLoggingEvent(void)" (??1InternalLoggingEvent@spi@log4cplus@@$$FUAM@XZ) referenced in function "public: virtual void * __clrcall log4cplus::spi::InternalLoggingEvent::`vector deleting destructor'(unsigned int)" (??_EInternalLoggingEvent@spi@log4cplus@@$$FUAMPAXI@Z)
1>ServidorDCMTK.obj : error LNK2028: unresolved token (0A00003C) "class OFString __clrcall log4cplus::thread::getCurrentThreadName(void)" (?getCurrentThreadName@thread@log4cplus@@$$FYM?AVOFString@@XZ) referenced in function "public: class OFString const & __clrcall log4cplus::spi::InternalLoggingEvent::getThread(void)const " (?getThread@InternalLoggingEvent@spi@log4cplus@@$$FQBMABVOFString@@XZ)
1>ServidorDCMTK.obj : error LNK2028: unresolved token (0A00003D) "class log4cplus::NDC & __clrcall log4cplus::getNDC(void)" (?getNDC@log4cplus@@$$FYMAAVNDC@1@XZ) referenced in function "public: class OFString const & __clrcall log4cplus::spi::InternalLoggingEvent::getNDC(void)const " (?getNDC@InternalLoggingEvent@spi@log4cplus@@$$FQBMABVOFString@@XZ)
1>ServidorDCMTK.obj : error LNK2028: unresolved token (0A00003E) "public: class OFString __clrcall log4cplus::NDC::get(void)" (?get@NDC@log4cplus@@$$FQAM?AVOFString@@XZ) referenced in function "public: class OFString const & __clrcall log4cplus::spi::InternalLoggingEvent::getNDC(void)const " (?getNDC@InternalLoggingEvent@spi@log4cplus@@$$FQBMABVOFString@@XZ)
1>ServidorDCMTK.obj : error LNK2028: unresolved token (0A00003F) "public: class OFString & __clrcall OFString::operator=(class OFString const &)" (??4OFString@@$$FQAMAAV0@ABV0@@Z) referenced in function "public: class OFString const & __clrcall log4cplus::spi::InternalLoggingEvent::getNDC(void)const " (?getNDC@InternalLoggingEvent@spi@log4cplus@@$$FQBMABVOFString@@XZ)
1>ServidorDCMTK.obj : error LNK2028: unresolved token (0A000040) "public: virtual class OFString const & __clrcall log4cplus::spi::InternalLoggingEvent::getMessage(void)const " (?getMessage@InternalLoggingEvent@spi@log4cplus@@$$FUBMABVOFString@@XZ) referenced in function "void __clrcall `dynamic initializer for 'const log4cplus::spi::InternalLoggingEvent::`vftable'''(void)" (???__E??_7InternalLoggingEvent@spi@log4cplus@@6B@@@YMXXZ@?A0xff740ee0@@$$FYMXXZ)
1>ServidorDCMTK.obj : error LNK2028: unresolved token (0A000045) "protected: virtual __clrcall log4cplus::helpers::SharedObject::~SharedObject(void)" (??1SharedObject@helpers@log4cplus@@$$FMAM@XZ) referenced in function "protected: virtual void * __clrcall log4cplus::helpers::SharedObject::`vector deleting destructor'(unsigned int)" (??_ESharedObject@helpers@log4cplus@@$$FMAMPAXI@Z)
1>ServidorDCMTK.obj : error LNK2028: unresolved token (0A000046) "struct _RTL_CRITICAL_SECTION * __clrcall log4cplus::thread::createNewMutex(void)" (?createNewMutex@thread@log4cplus@@$$FYMPAU_RTL_CRITICAL_SECTION@@XZ) referenced in function "protected: __clrcall log4cplus::helpers::SharedObject::SharedObject(class log4cplus::helpers::SharedObject const &)" (??0SharedObject@helpers@log4cplus@@$$FIAM@ABV012@@Z)
1>ServidorDCMTK.obj : error LNK2028: unresolved token (0A00006A) "public: __clrcall OFString::OFString(class OFString const &,unsigned int,unsigned int)" (??0OFString@@$$FQAM@ABV0@II@Z) referenced in function "public: __clrcall OFConditionString::OFConditionString(class OFConditionString const &)" (??0OFConditionString@@$$FQAM@ABV0@@Z)
1>ServidorDCMTK.obj : error LNK2028: unresolved token (0A00006C) "public: __clrcall OFString::~OFString(void)" (??1OFString@@$$FQAM@XZ) referenced in function "public: virtual __clrcall OFConditionString::~OFConditionString(void)" (??1OFConditionString@@$$FUAM@XZ)
1>ServidorDCMTK.obj : error LNK2028: unresolved token (0A000072) "public: __clrcall OFMutex::~OFMutex(void)" (??1OFMutex@@$$FQAM@XZ) referenced in function "public: virtual __clrcall OFConsole::~OFConsole(void)" (??1OFConsole@@$$FUAM@XZ)
1>ServidorDCMTK.obj : error LNK2019: unresolved external symbol "public: __clrcall OFMutex::~OFMutex(void)" (??1OFMutex@@$$FQAM@XZ) referenced in function "public: virtual __clrcall OFConsole::~OFConsole(void)" (??1OFConsole@@$$FUAM@XZ)
1>ServidorDCMTK.obj : error LNK2019: unresolved external symbol "public: __clrcall OFString::OFString(class OFString const &,unsigned int,unsigned int)" (??0OFString@@$$FQAM@ABV0@II@Z) referenced in function "public: __clrcall OFConditionString::OFConditionString(class OFConditionString const &)" (??0OFConditionString@@$$FQAM@ABV0@@Z)
1>ServidorDCMTK.obj : error LNK2019: unresolved external symbol "public: __clrcall OFString::~OFString(void)" (??1OFString@@$$FQAM@XZ) referenced in function "public: virtual __clrcall OFConditionString::~OFConditionString(void)" (??1OFConditionString@@$$FUAM@XZ)
1>ServidorDCMTK.obj : error LNK2019: unresolved external symbol "struct _RTL_CRITICAL_SECTION * __clrcall log4cplus::thread::createNewMutex(void)" (?createNewMutex@thread@log4cplus@@$$FYMPAU_RTL_CRITICAL_SECTION@@XZ) referenced in function "protected: __clrcall log4cplus::helpers::SharedObject::SharedObject(class log4cplus::helpers::SharedObject const &)" (??0SharedObject@helpers@log4cplus@@$$FIAM@ABV012@@Z)
1>ServidorDCMTK.obj : error LNK2019: unresolved external symbol "protected: virtual __clrcall log4cplus::helpers::SharedObject::~SharedObject(void)" (??1SharedObject@helpers@log4cplus@@$$FMAM@XZ) referenced in function "protected: virtual void * __clrcall log4cplus::helpers::SharedObject::`vector deleting destructor'(unsigned int)" (??_ESharedObject@helpers@log4cplus@@$$FMAMPAXI@Z)
1>ServidorDCMTK.obj : error LNK2019: unresolved external symbol "public: class OFString & __clrcall OFString::operator=(class OFString const &)" (??4OFString@@$$FQAMAAV0@ABV0@@Z) referenced in function "public: class OFString const & __clrcall log4cplus::spi::InternalLoggingEvent::getNDC(void)const " (?getNDC@InternalLoggingEvent@spi@log4cplus@@$$FQBMABVOFString@@XZ)
1>ServidorDCMTK.obj : error LNK2019: unresolved external symbol "public: class OFString __clrcall log4cplus::NDC::get(void)" (?get@NDC@log4cplus@@$$FQAM?AVOFString@@XZ) referenced in function "public: class OFString const & __clrcall log4cplus::spi::InternalLoggingEvent::getNDC(void)const " (?getNDC@InternalLoggingEvent@spi@log4cplus@@$$FQBMABVOFString@@XZ)
1>ServidorDCMTK.obj : error LNK2019: unresolved external symbol "class log4cplus::NDC & __clrcall log4cplus::getNDC(void)" (?getNDC@log4cplus@@$$FYMAAVNDC@1@XZ) referenced in function "public: class OFString const & __clrcall log4cplus::spi::InternalLoggingEvent::getNDC(void)const " (?getNDC@InternalLoggingEvent@spi@log4cplus@@$$FQBMABVOFString@@XZ)
1>ServidorDCMTK.obj : error LNK2019: unresolved external symbol "class OFString __clrcall log4cplus::thread::getCurrentThreadName(void)" (?getCurrentThreadName@thread@log4cplus@@$$FYM?AVOFString@@XZ) referenced in function "public: class OFString const & __clrcall log4cplus::spi::InternalLoggingEvent::getThread(void)const " (?getThread@InternalLoggingEvent@spi@log4cplus@@$$FQBMABVOFString@@XZ)
1>ServidorDCMTK.obj : error LNK2019: unresolved external symbol "public: virtual __clrcall log4cplus::spi::InternalLoggingEvent::~InternalLoggingEvent(void)" (??1InternalLoggingEvent@spi@log4cplus@@$$FUAM@XZ) referenced in function "public: virtual void * __clrcall log4cplus::spi::InternalLoggingEvent::`vector deleting destructor'(unsigned int)" (??_EInternalLoggingEvent@spi@log4cplus@@$$FUAMPAXI@Z)
1>ServidorDCMTK.obj : error LNK2019: unresolved external symbol "public: virtual __clrcall log4cplus::helpers::LogLogUser::~LogLogUser(void)" (??1LogLogUser@helpers@log4cplus@@$$FUAM@XZ) referenced in function "public: virtual __clrcall log4cplus::Layout::~Layout(void)" (??1Layout@log4cplus@@$$FUAM@XZ)
1>ServidorDCMTK.obj : error LNK2019: unresolved external symbol "public: virtual __clrcall log4cplus::ErrorHandler::~ErrorHandler(void)" (??1ErrorHandler@log4cplus@@$$FUAM@XZ) referenced in function "public: virtual __clrcall log4cplus::OnlyOnceErrorHandler::~OnlyOnceErrorHandler(void)" (??1OnlyOnceErrorHandler@log4cplus@@$$FUAM@XZ)
1>ServidorDCMTK.obj : error LNK2019: unresolved external symbol "public: void __clrcall log4cplus::helpers::SharedObject::addReference(void)const " (?addReference@SharedObject@helpers@log4cplus@@$$FQBMXXZ) referenced in function "private: void __clrcall log4cplus::helpers::SharedObjectPtr<class log4cplus::spi::Filter>::addref(void)const " (?addref@?$SharedObjectPtr@VFilter@spi@log4cplus@@@helpers@log4cplus@@$$FABMXXZ)
1>ServidorDCMTK.obj : error LNK2019: unresolved external symbol "public: virtual bool __clrcall OFConditionConst::deletable(void)const " (?deletable@OFConditionConst@@$$FUBM_NXZ) referenced in function "void __clrcall `dynamic initializer for 'const OFConditionConst::`vftable'''(void)" (???__E??_7OFConditionConst@@6B@@@YMXXZ@?A0xff740ee0@@$$FYMXXZ)
1>ServidorDCMTK.obj : error LNK2019: unresolved external symbol "public: virtual char const * __clrcall OFConditionConst::text(void)const " (?text@OFConditionConst@@$$FUBMPBDXZ) referenced in function "void __clrcall `dynamic initializer for 'const OFConditionConst::`vftable'''(void)" (???__E??_7OFConditionConst@@6B@@@YMXXZ@?A0xff740ee0@@$$FYMXXZ)
1>ServidorDCMTK.obj : error LNK2019: unresolved external symbol "public: virtual enum OFStatus __clrcall OFConditionConst::status(void)const " (?status@OFConditionConst@@$$FUBM?AW4OFStatus@@XZ) referenced in function "void __clrcall `dynamic initializer for 'const OFConditionConst::`vftable'''(void)" (???__E??_7OFConditionConst@@6B@@@YMXXZ@?A0xff740ee0@@$$FYMXXZ)
1>ServidorDCMTK.obj : error LNK2019: unresolved external symbol "public: virtual unsigned long __clrcall OFConditionConst::codeAndModule(void)const " (?codeAndModule@OFConditionConst@@$$FUBMKXZ) referenced in function "void __clrcall `dynamic initializer for 'const OFConditionConst::`vftable'''(void)" (???__E??_7OFConditionConst@@6B@@@YMXXZ@?A0xff740ee0@@$$FYMXXZ)
1>ServidorDCMTK.obj : error LNK2019: unresolved external symbol "public: virtual class OFConditionBase const * __clrcall OFConditionConst::clone(void)const " (?clone@OFConditionConst@@$$FUBMPBVOFConditionBase@@XZ) referenced in function "void __clrcall `dynamic initializer for 'const OFConditionConst::`vftable'''(void)" (???__E??_7OFConditionConst@@6B@@@YMXXZ@?A0xff740ee0@@$$FYMXXZ)
1>ServidorDCMTK.obj : error LNK2019: unresolved external symbol "public: virtual bool __clrcall OFConditionString::deletable(void)const " (?deletable@OFConditionString@@$$FUBM_NXZ) referenced in function "void __clrcall `dynamic initializer for 'const OFConditionString::`vftable'''(void)" (???__E??_7OFConditionString@@6B@@@YMXXZ@?A0xff740ee0@@$$FYMXXZ)
1>ServidorDCMTK.obj : error LNK2019: unresolved external symbol "public: virtual char const * __clrcall OFConditionString::text(void)const " (?text@OFConditionString@@$$FUBMPBDXZ) referenced in function "void __clrcall `dynamic initializer for 'const OFConditionString::`vftable'''(void)" (???__E??_7OFConditionString@@6B@@@YMXXZ@?A0xff740ee0@@$$FYMXXZ)
1>ServidorDCMTK.obj : error LNK2019: unresolved external symbol "public: virtual enum OFStatus __clrcall OFConditionString::status(void)const " (?status@OFConditionString@@$$FUBM?AW4OFStatus@@XZ) referenced in function "void __clrcall `dynamic initializer for 'const OFConditionString::`vftable'''(void)" (???__E??_7OFConditionString@@6B@@@YMXXZ@?A0xff740ee0@@$$FYMXXZ)
1>ServidorDCMTK.obj : error LNK2019: unresolved external symbol "public: virtual unsigned long __clrcall OFConditionString::codeAndModule(void)const " (?codeAndModule@OFConditionString@@$$FUBMKXZ) referenced in function "void __clrcall `dynamic initializer for 'const OFConditionString::`vftable'''(void)" (???__E??_7OFConditionString@@6B@@@YMXXZ@?A0xff740ee0@@$$FYMXXZ)
1>ServidorDCMTK.obj : error LNK2019: unresolved external symbol "public: virtual class OFConditionBase const * __clrcall OFConditionString::clone(void)const " (?clone@OFConditionString@@$$FUBMPBVOFConditionBase@@XZ) referenced in function "void __clrcall `dynamic initializer for 'const OFConditionString::`vftable'''(void)" (???__E??_7OFConditionString@@6B@@@YMXXZ@?A0xff740ee0@@$$FYMXXZ)
1>ServidorDCMTK.obj : error LNK2019: unresolved external symbol "public: virtual class OFauto_ptr<class log4cplus::spi::InternalLoggingEvent> __clrcall log4cplus::spi::InternalLoggingEvent::clone(void)const " (?clone@InternalLoggingEvent@spi@log4cplus@@$$FUBM?AV?$OFauto_ptr@VInternalLoggingEvent@spi@log4cplus@@@@XZ) referenced in function "void __clrcall `dynamic initializer for 'const log4cplus::spi::InternalLoggingEvent::`vftable'''(void)" (???__E??_7InternalLoggingEvent@spi@log4cplus@@6B@@@YMXXZ@?A0xff740ee0@@$$FYMXXZ)
1>ServidorDCMTK.obj : error LNK2019: unresolved external symbol "public: virtual unsigned int __clrcall log4cplus::spi::InternalLoggingEvent::getType(void)const " (?getType@InternalLoggingEvent@spi@log4cplus@@$$FUBMIXZ) referenced in function "void __clrcall `dynamic initializer for 'const log4cplus::spi::InternalLoggingEvent::`vftable'''(void)" (???__E??_7InternalLoggingEvent@spi@log4cplus@@6B@@@YMXXZ@?A0xff740ee0@@$$FYMXXZ)
1>ServidorDCMTK.obj : error LNK2019: unresolved external symbol "public: virtual class OFString const & __clrcall log4cplus::spi::InternalLoggingEvent::getMessage(void)const " (?getMessage@InternalLoggingEvent@spi@log4cplus@@$$FUBMABVOFString@@XZ) referenced in function "void __clrcall `dynamic initializer for 'const log4cplus::spi::InternalLoggingEvent::`vftable'''(void)" (???__E??_7InternalLoggingEvent@spi@log4cplus@@6B@@@YMXXZ@?A0xff740ee0@@$$FYMXXZ)
1>ServidorDCMTK.obj : error LNK2019: unresolved external symbol "public: virtual void __clrcall log4cplus::SimpleLayout::formatAndAppend(class std::basic_ostream<char,struct std::char_traits<char> > &,class log4cplus::spi::InternalLoggingEvent const &)" (?formatAndAppend@SimpleLayout@log4cplus@@$$FUAMXAAV?$basic_ostream@DU?$char_traits@D@std@@@std@@ABVInternalLoggingEvent@spi@2@@Z) referenced in function "void __clrcall `dynamic initializer for 'const log4cplus::SimpleLayout::`vftable'''(void)" (???__E??_7SimpleLayout@log4cplus@@6B@@@YMXXZ@?A0xff740ee0@@$$FYMXXZ)
1>ServidorDCMTK.obj : error LNK2019: unresolved external symbol "public: virtual void __clrcall log4cplus::OnlyOnceErrorHandler::reset(void)" (?reset@OnlyOnceErrorHandler@log4cplus@@$$FUAMXXZ) referenced in function "void __clrcall `dynamic initializer for 'const log4cplus::OnlyOnceErrorHandler::`vftable'{for `log4cplus::ErrorHandler'}''(void)" (???__E??_7OnlyOnceErrorHandler@log4cplus@@6BErrorHandler@1@@@@YMXXZ@?A0xff740ee0@@$$FYMXXZ)
1>ServidorDCMTK.obj : error LNK2019: unresolved external symbol "public: virtual void __clrcall log4cplus::OnlyOnceErrorHandler::error(class OFString const &)" (?error@OnlyOnceErrorHandler@log4cplus@@$$FUAMXABVOFString@@@Z) referenced in function "void __clrcall `dynamic initializer for 'const log4cplus::OnlyOnceErrorHandler::`vftable'{for `log4cplus::ErrorHandler'}''(void)" (???__E??_7OnlyOnceErrorHandler@log4cplus@@6BErrorHandler@1@@@@YMXXZ@?A0xff740ee0@@$$FYMXXZ)
I'm using Microsoft Visual Studio, link dcmdata.lib; dcmnet.lib; oflog.lib; ofstd.lib;

My code:

Code: Select all

#include "stdafx.h"
#include "Form1.h"
#include "dcmtk\dcmnet\assoc.h"


using namespace ServidorDCMTK;

[STAThreadAttribute]
int main(array<System::String ^> ^args)
{
	// Enabling Windows XP visual effects before any controls are created
	Application::EnableVisualStyles();
	Application::SetCompatibleTextRenderingDefault(false); 
	T_ASC_Network *net;
//	 int opt_acse_timeout = 30;
//	 OFCmdUnsignedInt   opt_port = 0;
	//OFCondition cond = ASC_initializeNetwork(NET_ACCEPTOR, OFstatic_cast(int, opt_port), opt_acse_timeout, &net);

	// Create the main window and run it
	Application::Run(gcnew Form1());
	return 0;
}
Please, help

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest