Help wanted with compile error with wxWidgets3.1

Hamish McIntyre-Bhatty cygwin@hamishmb.com
Sat Nov 8 15:24:51 GMT 2025


On 07/10/2025 15:39, Hamish McIntyre-Bhatty via Cygwin wrote:
> Thanks both, I shall try these out when I get back and see if that helps.
> 
> Best,
> Hamish
> 
> On 05/10/2025 07:26, ASSI via Cygwin wrote:
>> Hamish McIntyre-Bhatty via Cygwin writes:
>>> I'm trying once again to get newer versions of wxWidgets and wxPython
>>> to work under Cygwin, but I've noticed I'm running into a new problem
>>> when simply rebuilding wxWidgets 3.1.5 that I last built around the
>>> end of March (the prefix option to configure needed to be set), and I
>>> don't understand how it ever compiled with the error I'm getting.
>>
>> You've probably used an older compiler, also Gtk had some updates in
>> that timeframe that might be relevant.
>>
>>> In amongst other errors, I get "error: wxSoundPLaybackStatus does not
>>> name a type" and various similar errors. You can get the repo with the
>>> full cygport setup here:
>>> https://gitlab.com/hamishmb/cygwin-wxwidgets3.1/-/tree/3.1.5? 
>>> ref_type=heads
>>>
>>> Can anyone give me any hints? I first tried building wxWidgets 3.1.7
>>> but that failed with a different error that I also don't know how to
>>> solve. I'm not sure how I'm meant to know which header file things are
>>> meant to be in when I get "was not declared in this scope" errors -
>>> any hints with those or do I just need to be intimately familiar with
>>> GNU source code for that?
>>
>> Since this is written in C++ you might need to explicitly set the
>> standard that is targeted (-std=gnu++14 or -std=gnu++17, whatever is the
>> newest that works with the targeted wxWidget version).
>>
>>
>> Regards,
>> Achim.
> 
> 

Actually, shouldn't the configure script handle this for me, or am I 
missing something?

Best,
Hamish


More information about the Cygwin mailing list