Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: lycenhol on December 24, 2008, 06:49:02 pm

Title: cannot find -lwxmsw28ud
Post by: lycenhol 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
Title: Re: cannot find -lwxmsw28ud
Post by: TDragon 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.)
Title: Re: cannot find -lwxmsw28ud
Post by: zsybuck 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.
Title: Re: cannot find -lwxmsw28ud
Post by: stahta01 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
Title: Re: cannot find -lwxmsw28ud
Post by: ollydbg 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.