Author Topic: ld.exe: cannot find -lwxmsw28ud  (Read 15087 times)

Offline zyfarmy

  • Single posting newcomer
  • *
  • Posts: 4
ld.exe: cannot find -lwxmsw28ud
« on: November 13, 2007, 08: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?
OS: winXP SP2
Compiler: mingw 5.1.3
IDE: Code::Blocks wxMSW:  2.8.6 B

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7254
Re: ld.exe: cannot find -lwxmsw28ud
« Reply #1 on: November 13, 2007, 10:29:19 am »
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
as mentioned in the Nightly Cookbook.

Offline zyfarmy

  • Single posting newcomer
  • *
  • Posts: 4
Re: ld.exe: cannot find -lwxmsw28ud
« Reply #2 on: November 13, 2007, 02:01:36 pm »
thank you I had solve this problem
OS: winXP SP2
Compiler: mingw 5.1.3
IDE: Code::Blocks wxMSW:  2.8.6 B