Closed asmwarrior closed 7 months ago
Thank you for posting that @asmwarrior!
Currently, I put wx-config.exe
from Codelite in %PATH%
, works well also with custom-built wx installations.
Apparently there is a spinoff at https://github.com/eranif/wx-config-msys2, probably it can be installed from MSYS2 directly
Currently, I put
wx-config.exe
from Codelite in%PATH%
, works well also with custom-built wx installations.
Good to hear. But I'm not sure why the above steps work. How does a wx-config.exe
find a valid wx installation?
I have the default path and build set in environment variables %WXWIN%
and %WXCFG%
, but also the --prefix
option should work
OK, I just looked at the source code of wx-config.exe, it indeed try to find environment variable named WXWIN
, see the source code here:
Also, it try to find a WXCFG
, see here:
So, I think this issue can be closed.
Hi, I just see this:
Which looks like you need a "wx-config.exe" under Windows?
If that is correct, how does the "wx-config.exe" know about the wxWidgets library's location?
For me, under Windows + Code::Blocks, I use this kind of setting:
asmwarrior/cb_projects_for_wxWidgets: Code::Blocks projects for building wxWidgets sample code
With such kinds of setting, I can either build a wx project against the wx library from msys2 or my self built wx library.