wx-config is not giving debug library

CodeLite installation/troubleshooting forum
evstevemd
CodeLite Guru
Posts: 350
Joined: Sun Nov 29, 2009 7:36 pm
Genuine User: Yes
IDE Question: C++
Contact:

wx-config is not giving debug library

Post by evstevemd »

CodeLite v 16, latest stable
OS is Windows 10
Build System CMake

I found a strange thing, ld.exe would complain missing library if I used debug version of wxWidgets. So I spent hours trying to figure out. Down a rabbit trail I found something useful that might be key to my puzzle. wx-config.exe is not spitting out debug version of library even when debug option is specified. It will always spit release version.
See the image for more information.

Is this a bug or I'm doing something wrong?
Thanks

delete.png
You do not have the required permissions to view the files attached to this post.

CodeLite 15.x
CodeLite is awesome, I just Love it!

evstevemd
CodeLite Guru
Posts: 350
Joined: Sun Nov 29, 2009 7:36 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: wx-config is not giving debug library

Post by evstevemd »

Seems like a bug but he issue have not been attended for a while and marked stale https://github.com/eranif/codelite/issues/2807

CodeLite 15.x
CodeLite is awesome, I just Love it!

evstevemd
CodeLite Guru
Posts: 350
Joined: Sun Nov 29, 2009 7:36 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: wx-config is not giving debug library

Post by evstevemd »

Testing latest bleeding edge version (16.5.0) it also spits wrong library name

Code: Select all

 -lwxmsw32u_xrcd -lwxmsw32u_webviewd -lwxmsw32u_htmld -lwxmsw32u_qad -lwxmsw32u_advd -lwxmsw32u_cored -lwxbase32u_xmld -lwxbase32u_netd -lwxbase32ud

AFAIK, it should be -lwxmsw32ud_xrc not -lwxmsw32u_xrcd

Since no body complained here, is it that people don't use debug or am just an idiot doing things wrong way?

CodeLite 15.x
CodeLite is awesome, I just Love it!

User avatar
eranif
CodeLite Plugin
Posts: 6287
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: wx-config is not giving debug library

Post by eranif »

I wonder if this has to do with this commit:
https://github.com/eranif/wx-config-msy ... 8418611d3e

Make sure you have read the HOW TO POST thread
Post Reply