Page 1 of 1

wx-config is not giving debug library

Posted: Tue Nov 08, 2022 9:20 am
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

Re: wx-config is not giving debug library

Posted: Tue Nov 08, 2022 9:23 am
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


Re: wx-config is not giving debug library

Posted: Tue Nov 08, 2022 10:16 am
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?


Re: wx-config is not giving debug library

Posted: Wed Nov 30, 2022 1:24 am
by eranif

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