Hello. In several tutorials I've seen several projects built as DEBUG target against wxWidgets RELEASE... And I succeeded myself using GCC compiler from C::B. But, today, I'm trying the same thing using the MSVC9 compiler and linker return errors saying this :
error LNK2019: unresolved external symbol "void __cdecl wxOnAssert
And here are my build options:
- Compiler : /Zi /MD /Zc:wchar_t /W3 /GF /Gd /TP /EHsc /FI"wx_pch.h" /Yc"wx_pch.h" /EHsc /FI"wx_pch.h" /Yc"wx_pch.h" /Fp"obj\Debug\wx29_minitest.pch"
- Defines : WIN32 __WIN32__ __WXMSW__ wxUSE_UNICODE _WINDOWS _CRT_SECURE_DEPRECATE _CRT_NONSTDC_NO_DEPRECATE _VC80_UPGRADE=0x0600 _DEBUG
- Ordered LIBs list : msvcrt.lib wxmsw29u.lib wxpng.lib wxjpeg.lib wxtiff.lib wxzlib.lib winmm.lib rpcrt4.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comctl32.lib wsock32.lib odbc32.lib
- Linker options : /NODEFAULTLIB:libcmt.lib /NODEFAULTLIB:msvcrt.lib /INCREMENTAL:NO /SUBSYSTEM:WINDOWS
So, it asks for something related to debugging while I'm using RELEASE MONOLITHIC UNICODE NO-SHARED version of wxWidgets 2.9.3 (even if my project is in DEBUG target).
So, do I have missed something OR is it impossible to build a DEBUG project against wx29 RELEASE lib using MSVC9 compiler ?