News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Linker Errors

Started by mspoerr, October 21, 2007, 11:07:12 PM

Previous topic - Next topic

stahta01

I think the Visual C++ Express Editions do not have the debug libraries/DLLs. So, try to only do release builds or research the issue using Google.

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]

uelkfr

#16
Thank, you. I have found problem. This wxWidgets wizard in CodeBlocks links wrong library wxmsw28u.lib, which in debug version should be wxmsw28ud.lib.

Fix:
Project > Build Options... > Linker Settings > Link Libraries: i have changed wxmsw28u.lib to wxmsw28ud.lib and now it works fine

Now I'm looking solution for other issue. I don't want to return to MinGW, because it doesnt support spaces in paths e.g. C:\Program Files\, but I need some debugger. I will go now googling CDB debugger :)


Biplab

Quote from: uelkfr on June 15, 2008, 02:24:36 PM
9) unchecked "Use __WXDEBUG__ and Debug wxWidgets lib" (GCC Only), Debug Target "GUI Mode Application", Release Target "GUI Mode Application"

Please note the words in Red colour. That option is meant for GCC; not for any other compiler. It's clearly written there.
Be a part of the solution, not a part of the problem.