Author Topic: Linker Errors  (Read 27097 times)

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7590
    • My Best Post
Re: Linker Errors
« Reply #15 on: June 15, 2008, 03:20:05 pm »
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++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline uelkfr

  • Single posting newcomer
  • *
  • Posts: 4
Re: Linker Errors
« Reply #16 on: June 15, 2008, 03:27:44 pm »
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 :)

« Last Edit: June 15, 2008, 04:33:51 pm by uelkfr »

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: Linker Errors
« Reply #17 on: June 15, 2008, 05:17:13 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.