Hello,
I'm trying to compile a project with wxWidgets 2.9.1 instead of 2.8.11 with CodeBlocks 10.05 and Microsoft Visual C++ 2005's command line tools.
So far, I have been successful in changing all search directories, but the linker complains:
LINK||fatal error LNK1181: cannot open input file 'wxmsw28_core.lib'|
My understanding is that such library name is generated by wxWidgets headers and the correct one should be "wxmsw29u_core.lib" (I'm compiling with _UNICODE defined). Such generated names are correct when compiling under Visual C++ IDE. I'm not able to make it work under CodeBlocks. I've copied all Visual C++ IDE's preprocessor #defines, which are these:
WIN32
__WXMSW__
_WINDOWS
_UNICODE
without success. I've also renamed the directory which contains wxWidgets 2.8.11 to be sure no old header is included by accident. WXWIN environment variable is correct:
set WXWIN=C:\wxWidgets-2.9.1
Any help? Thanks.