News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

ld.exe error cannot find -lwxmsw28d

Started by glivert, June 06, 2011, 01:39:31 AM

Previous topic - Next topic

glivert

Hi,
problem: ld.exe||cannot find -lwxmsw28d|
OS: Win7
compiler: mingw
wxWidgets 2.8.12

Any ideas?

stahta01

You likely failed to build the debug version of the wxWidgets library.

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

glivert

#2
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?

glivert

#3
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?