Author Topic: cannot find -lwxmsw28ud  (Read 6324 times)

Offline lycenhol

  • Single posting newcomer
  • *
  • Posts: 3
cannot find -lwxmsw28ud
« on: December 24, 2008, 06:49:02 pm »
I set up Code::Blocks and wxWindget with Wiki.
Now I have ths error "cannot find -lwxmsw28ud"
How to solve it?
Thanks

Offline TDragon

  • Lives here!
  • ****
  • Posts: 943
    • TDM-GCC
Re: cannot find -lwxmsw28ud
« Reply #1 on: December 24, 2008, 10:28:01 pm »
You mistakenly selected a debug version of wxWidgets in the wizard. This is usually not recommended. (Make sure to check the box for the advanced options page and ensure that using the debug version isn't enabled.)
https://jmeubank.github.io/tdm-gcc/ - TDM-GCC compiler suite for Windows (GCC 9.2.0 2020-03-08, 32/64-bit, no extra DLLs)

zsybuck

  • Guest
Re: cannot find -lwxmsw28ud
« Reply #2 on: December 26, 2008, 08:14:44 am »
Who can describe the reason why wxmsw28ud is not recommended ? I think sometimes it is needed to use the debug version, for debugging and tracing.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7785
    • My Best Post
Re: cannot find -lwxmsw28ud
« Reply #3 on: December 26, 2008, 08:37:29 am »
Who can describe the reason why wxmsw28ud is not recommended ? I think sometimes it is needed to use the debug version, for debugging and tracing.

If you are just debugging Code::Blocks you do not need the wxmsw28ud unless the Code::Blocks error is causing an crash in the wxWidget's DLL.

Also, the Code::Blocks gives a few warnings when running it against the wxmsw28ud that may think there is a real problem instead of just a possible problem.

If you are Compiling your own wxWidget's project and are having problems, I would suggest using the (wxmsw28ud) wxWidgets debug DLL. But, like the Code::Blocks own project it might give misleading warnings.

Tim S
« Last Edit: December 26, 2008, 08:41:26 am by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 6077
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: cannot find -lwxmsw28ud
« Reply #4 on: December 27, 2008, 07:28:30 am »
Yes, I think
the OP should link "wxmsw28u" instead of "wxmsw28ud" to solve the problem.
By the way, I manually build the "wxmsw28ud" to debug into the wxWidgets source. I want to know how the function call stack, how the message routing,and so on. But in my computer, the wxmsw28ud_gcc_custom.dll file size is 92M(how does it become so large :(,) and the wxmsw28u_gcc_custom.dll is only 9M.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.