Author Topic: ld.exe error cannot find -lwxmsw28d  (Read 6701 times)

Offline glivert

  • Single posting newcomer
  • *
  • Posts: 4
ld.exe error cannot find -lwxmsw28d
« on: June 06, 2011, 01:39:31 am »
Hi,
problem: ld.exe||cannot find -lwxmsw28d|
OS: Win7
compiler: mingw
wxWidgets 2.8.12

Any ideas?

Online stahta01

  • Lives here!
  • ****
  • Posts: 6800
    • My Best Post
Re: ld.exe error cannot find -lwxmsw28d
« Reply #1 on: June 06, 2011, 03:17:38 am »
You likely failed to build the debug version of the wxWidgets library.

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline glivert

  • Single posting newcomer
  • *
  • Posts: 4
Re: ld.exe error cannot find -lwxmsw28d
« Reply #2 on: June 06, 2011, 07:23:49 am »
Connect wxWidgets 2.9.1 in the CodeBlocks "Link libliary" -> libwxmsw29d.a
Where is the this file(libwxmsw29d.a)?

And so error linked ld.exe||cannot find -lwxmsw29d|

On second version failed?
« Last Edit: June 06, 2011, 07:37:25 am by glivert »

Offline glivert

  • Single posting newcomer
  • *
  • Posts: 4
Re: ld.exe error cannot find -lwxmsw28d
« Reply #3 on: June 06, 2011, 08:03:57 am »
C:\wxWidgets-2.9.1\build\msw>C:\MinGW\bin\mingw32-make -f makefile.gcc BUILD=rel
ease SHARED=1 MONOLITHIC=1 UNICODE=1
if not exist ..\..\lib\gcc_dll\mswu mkdir ..\..\lib\gcc_dll\mswu
if not exist ..\..\lib\gcc_dll\mswu\wx mkdir ..\..\lib\gcc_dll\mswu\wx
if not exist ..\..\lib\gcc_dll\mswu\wx\setup.h copy ..\..\include\wx\msw\setup.h
 ..\..\lib\gcc_dll\mswu\wx\setup.h
Copy files:         1.
if not exist ..\..\lib\gcc_dll\mswu\wx\msw mkdir ..\..\lib\gcc_dll\mswu\wx\msw
gcc -E "..\..\include\wx\msw\genrcdefs.h" > "..\..\lib\gcc_dll\mswu\wx\msw\rcdef
s.h"
"gcc" not an internal or external
command, operable program or batch file.
mingw32-make: *** [..\..\lib\gcc_dll\mswu\wx\msw\rcdefs.h] Error 1


And where is the *.a files?

« Last Edit: June 06, 2011, 08:07:51 am by glivert »