User forums > Using Code::Blocks
ld.exe: cannot find -lwxmsw28ud
(1/1)
zyfarmy:
i am a new one for c::b
when i building a test program with WxWinget ,i have a problem like subject;i compiling Wxwinget with "mingw32-make -f makefile.gcc MONOLITHIC=1 SHARED=1 UNICODE=1 BUILD=release" how i should do?
Jenna:
It seems you try to compile the debug target,because the linker searches for "wxmsw28ud".
If you choose the release target, it should compile/link without error.
Nevertheless the best way is to also build a debug-version of wxWidgets with the following instructions
--- Code: ---mingw32-make -f makefile.gcc MONOLITHIC=1 SHARED=1 UNICODE=1 BUILD=debug clean
mingw32-make -f makefile.gcc MONOLITHIC=1 SHARED=1 UNICODE=1 BUILD=debug
--- End code ---
as mentioned in the Nightly Cookbook.
zyfarmy:
thank you I had solve this problem
Navigation
[0] Message Index
Go to full version