Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: glivert on June 06, 2011, 01:39:31 am

Title: ld.exe error cannot find -lwxmsw28d
Post by: glivert 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?
Title: Re: ld.exe error cannot find -lwxmsw28d
Post by: stahta01 on June 06, 2011, 03:17:38 am
You likely failed to build the debug version of the wxWidgets library.

Tim S.
Title: Re: ld.exe error cannot find -lwxmsw28d
Post by: glivert 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?
Title: Re: ld.exe error cannot find -lwxmsw28d
Post by: glivert 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?