EDN Admin
Well-known member
I have 6 linking errors:
<ol>
Error 1 error LNK2019: unresolved external symbol "void __stdcall DbgAssert(wchar_t const *,wchar_t const *,int)" ( mailto:?DbgAssert@@YGXPB_W0H@Z ?DbgAssert@@YGXPB_W0H@Z ) referenced in function "int __cdecl AppInit(struct HINSTANCE__ *,struct HINSTANCE__ *,int)" ( mailto:?AppInit@@YAHPAUHINSTANCE__@@0H@Z ?AppInit@@YAHPAUHINSTANCE__@@0H@Z ) amcap.obj
Error 2 error LNK2001: unresolved external symbol "void __stdcall DbgAssert(wchar_t const *,wchar_t const *,int)" ( mailto:?DbgAssert@@YGXPB_W0H@Z ?DbgAssert@@YGXPB_W0H@Z ) crossbar.obj
Error 3 error LNK2001: unresolved external symbol "void __stdcall DbgAssert(wchar_t const *,wchar_t const *,int)" ( mailto:?DbgAssert@@YGXPB_W0H@Z ?DbgAssert@@YGXPB_W0H@Z ) SampleCGB.obj
Error 4 error LNK2019: unresolved external symbol "void __cdecl DbgLogInfo(unsigned long,unsigned long,wchar_t const *,...)" ( mailto:?DbgLogInfo@@YAXKKPB_WZZ ?DbgLogInfo@@YAXKKPB_WZZ ) referenced in function "public: __thiscall CCrossbar::CCrossbar(struct IPin *,long *)" ( mailto:??0CCrossbar@@QAE@PAUIPin@@PAJ@Z ??0CCrossbar@@QAE@PAUIPin@@PAJ@Z ) crossbar.obj
Error 5 error LNK2019: unresolved external symbol "public: __thiscall CBaseList::CBaseList(wchar_t const *,int)" ( mailto:??0CBaseList@@QAE@PB_WH@Z ??0CBaseList@@QAE@PB_WH@Z ) referenced in function "public: __thiscall CGenericList<class CRouting>::CGenericList<class CRouting>(wchar_t const *,int,int,int)" ( mailto:??0?$CGenericList@VCRouting@@@@QAE@PB_WHHH@Z ??0?$CGenericList@VCRouting@@@@QAE@PB_WHHH@Z ) crossbar.obj
Error 6 fatal error LNK1120: 3 unresolved externals DebugAmCap.exe </ol>
Someone mentioned something about making sure the baseclass library and the amcap sample are compiled with the same settings in regards to the wchar_t type. How do I make sure they are the same? Where is this property in Visual Studio 2005?
Any help?
Thanks,
Patrick
View the full article
<ol>
Error 1 error LNK2019: unresolved external symbol "void __stdcall DbgAssert(wchar_t const *,wchar_t const *,int)" ( mailto:?DbgAssert@@YGXPB_W0H@Z ?DbgAssert@@YGXPB_W0H@Z ) referenced in function "int __cdecl AppInit(struct HINSTANCE__ *,struct HINSTANCE__ *,int)" ( mailto:?AppInit@@YAHPAUHINSTANCE__@@0H@Z ?AppInit@@YAHPAUHINSTANCE__@@0H@Z ) amcap.obj
Error 2 error LNK2001: unresolved external symbol "void __stdcall DbgAssert(wchar_t const *,wchar_t const *,int)" ( mailto:?DbgAssert@@YGXPB_W0H@Z ?DbgAssert@@YGXPB_W0H@Z ) crossbar.obj
Error 3 error LNK2001: unresolved external symbol "void __stdcall DbgAssert(wchar_t const *,wchar_t const *,int)" ( mailto:?DbgAssert@@YGXPB_W0H@Z ?DbgAssert@@YGXPB_W0H@Z ) SampleCGB.obj
Error 4 error LNK2019: unresolved external symbol "void __cdecl DbgLogInfo(unsigned long,unsigned long,wchar_t const *,...)" ( mailto:?DbgLogInfo@@YAXKKPB_WZZ ?DbgLogInfo@@YAXKKPB_WZZ ) referenced in function "public: __thiscall CCrossbar::CCrossbar(struct IPin *,long *)" ( mailto:??0CCrossbar@@QAE@PAUIPin@@PAJ@Z ??0CCrossbar@@QAE@PAUIPin@@PAJ@Z ) crossbar.obj
Error 5 error LNK2019: unresolved external symbol "public: __thiscall CBaseList::CBaseList(wchar_t const *,int)" ( mailto:??0CBaseList@@QAE@PB_WH@Z ??0CBaseList@@QAE@PB_WH@Z ) referenced in function "public: __thiscall CGenericList<class CRouting>::CGenericList<class CRouting>(wchar_t const *,int,int,int)" ( mailto:??0?$CGenericList@VCRouting@@@@QAE@PB_WHHH@Z ??0?$CGenericList@VCRouting@@@@QAE@PB_WHHH@Z ) crossbar.obj
Error 6 fatal error LNK1120: 3 unresolved externals DebugAmCap.exe </ol>
Someone mentioned something about making sure the baseclass library and the amcap sample are compiled with the same settings in regards to the wchar_t type. How do I make sure they are the same? Where is this property in Visual Studio 2005?
Any help?
Thanks,
Patrick
View the full article