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

not-a-seagull's Avatar

not-a-seagull

21 Jan, 2020 11:52 PM

Here is a portion of my current appveyor.yml

 - ps: mkdir -p $env:WXWIN
 - cd %WXWIN%
 - appveyor DownloadFile https://github.com/wxWidgets/wxWidgets/releases/download/v3.1.3/wxMSW-3.1.3_gcc730_ReleaseDLL.7z -FileName wx-libs.7z
 - 7z x wx-libs.7z
 - del wx-libs.7z
 - appveyor DownloadFile https://github.com/wxWidgets/wxWidgets/releases/download/v3.1.3/wxWidgets-3.1.3-headers.7z -FileName wx-include.7z
 - 7z x wx-include.7z
 - del wx-include.7z
 - cd %APPVEYOR_BUILD_FOLDER%

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

Generic

? 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

 

01 Oct, 2024 04:27 PM
26 Sep, 2024 03:49 PM
26 Sep, 2024 09:02 AM
25 Sep, 2024 07:07 PM
24 Sep, 2024 08:39 PM
24 Sep, 2024 06:47 AM