User forums > Using Code::Blocks
wxWidgets
Biplab:
The link I've posted works fine. Anyway alternative link is-
http://www.fileden.com/files/4628/wxwidgets_wizard_Rev6.zip
manutd:
Thanks, the linked worked but I am still getting the same errors. How did you compile the wxWidgets library? I first typed:
./configure --enable-optimise --enable-stl --enable-unicode --disable-threads --enable-static --disable-shared --enable-monolithic
Then:
make
And now I'm getting the errors. What else do I need to do?
Biplab:
Generally in Windows I don't use MSYS. I use mingw32-make directly.
--- Code: ---mingw32-make -f makefile.gcc BUILD=release SHARED=0 UNICODE=1 MONOLITHIC=1
--- End code ---
I think the error is coming due to as if you generate wx lib through configure script the lib path is different. Ignore the warning and prepare your project file with the wizard. Later modify the following lib paths.
After the project is generated, go to Project > Build options, then go to Directories tab and change the $(#wx)\lib\vc_dll\mswu directory in each sub-tabs to something like $(#wx)\lib\msw-unicode-release-static-2.8. Please check the directory as I've never used MSYS to build wx lib.
The project should now compile.
Otherwise download wxPack from http://wxpack.sourceforge.net/. wxPack comes with wxWidgets 2.8.0 libs compiled with GCC and MSVC 7.1 and the modified project wizard will work without any problem with that.
manutd:
OK, I download wxPack and got it building, but now it is say it can't find wxmsw26u_gcc.dll. What gives?
rjmyst3:
wxmsw26u_gcc.dll needs to be in your PATH so Windows can find it when you launch your program. The easiest way to do that is to copy it into your program's directory. You should be able to find that dll in $(WXWIN)\lib\gcc_dll.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version