D
Dave Kelley
Guest
I have a large bit of code I have been developing and compiling & testing in Visual Studio 2010, using "Debug mode" (Debug settings, etc.. whatever you want to call it). It compiles and runs fine. Yet when I change the pull-down to "Release", I cannot compile the code. I'm also using the Windows SDK (v7.0), and it appears that most of these errors from from .h files not directly included in my project (they're includes of includes..).
An example of the errors I'm getting are (sorry, I can't seem to copy the errors so they look like they do on the screen):
Error 1 error LNK2001: unresolved external symbol "public: __thiscall CBaseList::~CBaseList(void)" (??1CBaseList@@QAE@XZ) C:\Users\Dave\Documents\Visual Studio 2010\W32Test\crossbar.obj
Error 2 error LNK2001: unresolved external symbol _IID_IAMCrossbar C:\Users\Dave\Documents\Visual Studio 2010\W32Test\crossbar.obj
Error 3 error LNK2001: unresolved external symbol _IID_IBaseFilter C:\Users\Dave\Documents\Visual Studio 2010\W32Test\crossbar.obj
Error 4 error LNK2001: unresolved external symbol "public: __thiscall CBaseList::CBaseList(wchar_t const *,int)" (??0CBaseList@@QAE@PB_WH@Z) C:\Users\Dave\Documents\Visual Studio 2010\W32Test\crossbar.obj
Has anyone had an issue with getting linker errors when they switch to "Release mode"?
- Dave Kelley
Continue reading...
An example of the errors I'm getting are (sorry, I can't seem to copy the errors so they look like they do on the screen):
Error 1 error LNK2001: unresolved external symbol "public: __thiscall CBaseList::~CBaseList(void)" (??1CBaseList@@QAE@XZ) C:\Users\Dave\Documents\Visual Studio 2010\W32Test\crossbar.obj
Error 2 error LNK2001: unresolved external symbol _IID_IAMCrossbar C:\Users\Dave\Documents\Visual Studio 2010\W32Test\crossbar.obj
Error 3 error LNK2001: unresolved external symbol _IID_IBaseFilter C:\Users\Dave\Documents\Visual Studio 2010\W32Test\crossbar.obj
Error 4 error LNK2001: unresolved external symbol "public: __thiscall CBaseList::CBaseList(wchar_t const *,int)" (??0CBaseList@@QAE@PB_WH@Z) C:\Users\Dave\Documents\Visual Studio 2010\W32Test\crossbar.obj
Has anyone had an issue with getting linker errors when they switch to "Release mode"?
- Dave Kelley
Continue reading...