User forums > Help
wxwidgets compiling problem "cannot find -lwxmsw28u_core"
windows_usr:
--- Quote from: code2d on May 24, 2007, 04:08:30 am ---I recently downloaded wxWidgets 2.8.4 and tried to build is release. I got the newest nightly build and used the following instructions that I got of the wiki.
--- Quote ---
Now it is time to compile wxWidgets, open the command prompt and change to the wxWidgets directory:
cd <WXWIN>\build\msw
SET PATH=<MINGW>\bin;<MINGW>\mingw32\bin
NOTE: This is normally SET PATH=C:\MingGW\bin;C:\MingGW\mingw32\bin
Now the first thing to do is to clean up the source:
mingw32-make -f makefile.gcc MONOLITHIC=1 SHARED=1 UNICODE=1 BUILD=release clean
NOTE: Make sure you use exactly the same options for this step and for the build step below. The clean target uses these variables and only cleans the specified version of the generated object and library files (so it will actually not clean the intended files if these variables are not identical).
NOTE: If you still have problems with compiling after cleaning, you could try to manually remove the gcc_msw directory under the build\msw directory. This directory is the place where the object files are stored.
When everything is clean you can start actually compiling wxWidgets:
mingw32-make -f makefile.gcc MONOLITHIC=1 SHARED=1 UNICODE=1 BUILD=release
NOTE: These options are the officially supported Code::Blocks options. If you want another version of wxWidgets (debug or non-unicode) you still have to make sure you build a MONOLITHIC version (one big DLL) for linking Code::Blocks against.
Now you can get a cup of coffee or do something else because this step takes some time. Make sure there was no compilation error before you continue.
--- End quote ---
After I am done and into code blocks and finished setting up the project and try to build I get the error
--- Quote ---free, release,
cannot find -lwxmsw28u_core
--- End quote ---
Any Ideas what is the problem?
-thanks
--- End quote ---
I ever had this problem as well and i found if i dont pick debug build (only pick release build), it work fine.
Navigation
[0] Message Index
[*] Previous page
Go to full version