I keep getting an error when I try to install Wx.
g++ -pthread -c -I. -I..
-I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.0
-I/usr/include/wx-3.0 -I. -I.
-I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.0
-I/usr/include/wx-3.0 -I. -I../..
-I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.0
-I/usr/include/wx-3.0 -D_REENTRANT -D_GNU_SOURCE -fwrapv
-fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"0.01\"
-DXS_VERSION=\"0.01\" -fPIC
"-I/home/shawn/perl5/perlbrew/perls/perl-5.40.0/lib/5.40.1/x86_64-linux-thread-multi/CORE"
-DWXPL_EXT -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__
-D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DWXPL_EXT
-D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ PropertyGrid.c
PropertyGrid.c: In function ‘void
XS_Wx__ColourProperty_SetPlValue(PerlInterpreter*, CV*)’:
PropertyGrid.c:27187:49: error: call of overloaded
‘wxVariant(wxColour&)’ is ambiguous
27187 | wxVariant value = wxVariant(*col);
| ^
In file included from ../../cpp/helpers.h:19,
from ../../cpp/wxapi.h:170,
from PropertyGrid.c:23:
/usr/include/wx-3.0/wx/variant.h:187:5: note: candidate:
‘wxVariant::wxVariant(bool, const wxString&)’
187 | wxVariant(bool val, const wxString& name = wxEmptyString);
| ^~~~~~~~~
/usr/include/wx-3.0/wx/variant.h:111:5: note: candidate:
‘wxVariant::wxVariant(const wxAny&)’
111 | wxVariant(const wxAny& any);
| ^~~~~~~~~
make[2]: *** [Makefile:347: PropertyGrid.o] Error 1
𝑆𝒉𝒂𝒘𝒏 𝐻 𝐶𝒐𝒓𝒆𝒚 🇨🇦
On 2025-08-04 11:35, Johan Vromans wrote:
On Mon, 4 Aug 2025 10:13:48 -0500, Brett Estrade wrote:
What kind of help is needed?
While I managed to get most of wxPerl functional again, the build tools
for wxPerl were developed to deal with all sorts of compilers and systems
and wx versions, which make them utterly complex and hard to maintain.
wxPerl and the toolchain (mostly Alien::wxWidgets) is old and needs
modernizing to make it more future proof. Old code that is no longer
relevant for modern systems must be removed.
This would require Alien and XS (and XSpp) experience.