User forums > General (but related to Code::Blocks)

"ld.exe cannot find -lwxmsw" when compiling a wxWindow Project

(1/3) > >>

Vanchi:
Hi,

I have C::B 1.0 with the latest nightly-build-patch (7/4/6) running on a computer with Windows 2000. (Using the MinGW compiler)

When I try to compile any wxWindow project, I always get the "ld.exe cannot find -lwxmsw" error.

I serched on the web and I found a message with the same trouble as me, but I couldn't understand the solution.

http://forums.codeblocks.org/index.php?PHPSESSID=74d94bdf28a85b3a2031541331ccbab2&topic=706.msg4688

I also followed the link, but I couldn't find anything on the C::B wiki.

Do you know what I have to do?

Thanks

Michael:
Hello,

May be it could help:

http://wiki.codeblocks.org/index.php?title=Compiling_wxWidgets_2.6.2_to_develop_Code::Blocks_%28MSW%29

Best wishes,
Michael

thomas:
First of all, you must make sure that you do have a monolithic library (see Michael's post on how to get one), and then you must make sure the linker can find it (this is done by setting the wx global variable to the wxWidgets root folder).

bitcero:
try this: when you create a new wxwidgets template, in the Proyect Options Select : Using UNICODE wxWidgets DLL.
this error message in the link process when you compiled a unicode version of wxwidgets and select Using wxWidgets without the Unicode option.

i hope this help

Saludos desde COLOMBIA !! :D
 

Anuk:
I have same problem: "ld.exe cannot find -lwxmsw"

I use latest CVS of wxWindows.

I have take a look in wxWindows libs and there is no "wxmsw" lib... all libs begin with "lib......  .o". Is something wrong?

Navigation

[0] Message Index

[#] Next page

Go to full version