How do I get the compiler flags for wxWidgets from the command line?

not-a-seagull's Avatar


21 Jan, 2020 11:52 PM

Here is a portion of my current appveyor.yml

 - ps: mkdir -p $env:WXWIN
 - cd %WXWIN%
 - appveyor DownloadFile -FileName wx-libs.7z
 - 7z x wx-libs.7z
 - del wx-libs.7z
 - appveyor DownloadFile -FileName wx-include.7z
 - 7z x wx-include.7z
 - del wx-include.7z

I am trying to install wxWidgets into an Appveyor container. I need to have the wx-config command available in order to determine which flags I need to use. I tried using wx-config-win; however, it gave the error that it could not find a successful WX installation. It still gave this error even after I switched to using the Chocolatey package for installation.

How do other people install wxWidgets on Appveyor? Barring that, how can I determine which flags I need to compile?

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac