Re: Announcing wxPerl 3.006
[email protected] (Shawn H Corey) Mon, 4 Aug 2025 12:35:55 -0400
| Newsgroups | perl.wxperl.users |
|---|---|
| Message-ID | <[email protected]> |
--------------r80ee04Bt3bWsQ7asTBrsnMZ
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
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.
>
--------------r80ee04Bt3bWsQ7asTBrsnMZ
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
I keep getting an error when I try to install Wx.<br>
<br>
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<br>
PropertyGrid.c: In function ‘void
XS_Wx__ColourProperty_SetPlValue(PerlInterpreter*, CV*)’:<br>
PropertyGrid.c:27187:49: error: call of overloaded
‘wxVariant(wxColour&)’ is ambiguous<br>
27187 | wxVariant value = wxVariant(*col);<br>
| ^<br>
In file included from ../../cpp/helpers.h:19,<br>
from ../../cpp/wxapi.h:170,<br>
from PropertyGrid.c:23:<br>
/usr/include/wx-3.0/wx/variant.h:187:5: note: candidate:
‘wxVariant::wxVariant(bool, const wxString&)’<br>
187 | wxVariant(bool val, const wxString& name =
wxEmptyString);<br>
| ^~~~~~~~~<br>
/usr/include/wx-3.0/wx/variant.h:111:5: note: candidate:
‘wxVariant::wxVariant(const wxAny&)’<br>
111 | wxVariant(const wxAny& any);<br>
| ^~~~~~~~~<br>
make[2]: *** [Makefile:347: PropertyGrid.o] Error 1<br>
<br>
<pre class="moz-signature" cols="72">𝑆𝒉𝒂𝒘𝒏 𝐻 𝐶𝒐𝒓𝒆𝒚 🇨🇦</pre>
<div class="moz-cite-prefix">On 2025-08-04 11:35, Johan Vromans
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:[email protected]">
<pre wrap="" class="moz-quote-pre">On Mon, 4 Aug 2025 10:13:48 -0500, Brett Estrade wrote:
</pre>
<blockquote type="cite">
<pre wrap="" class="moz-quote-pre">What kind of help is needed?
</pre>
</blockquote>
<pre wrap="" class="moz-quote-pre">
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.
</pre>
</blockquote>
<br>
</body>
</html>
--------------r80ee04Bt3bWsQ7asTBrsnMZ--