wxwidgets DEBUG 编译错误解决.ld.exe: cannot find -lwxmsw28ud

 

 
« on: November 13, 2007, 07:37:28 AM »
 

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?
 
  Logged

OS: winXP SP2
Compiler: mingw 5.1.3
IDE: Code::Blocks
wxMSW:  2.8.6 B
jens
Almost regular
* *
Posts: 197


WWW
« Reply #1 on: November 13, 2007, 09:29:19 AM »
 

It seems you try to compile the debug target,because the linker searches for "wxmsw28u d".
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
as mentioned in the Nightly Cookbook.

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值