I ran into this recently also (RHEL8).

This github issue comment was helpful

https://github.com/slic3r/Slic3r/issues/3870#issuecomment-292682471


It will compile by changing, as that person suggested,

    ext/propgrid/PropertyGrid.c

at line 27130 from "wxVariant" to "wxAny".


On 4/17/21 3:56 PM, Nathan Glenn via RT wrote:
> Sat Apr 17 15:56:53 2021: Request 128994 was acted upon.
> Transaction: Correspondence added by garfieldn...@gmail.com
>         Queue: Wx
>       Subject: Perl Wx fails to Build -- ProperyGrid.c : error: call of 
> overloaded ‘wxVariant(wxColour&)’ is ambiguous
>     Broken in: (no value)
>      Severity: (no value)
>         Owner: Nobody
>    Requestors: imd...@gmail.com
>        Status: open
>   Ticket <URL: 
> https://urldefense.com/v3/__https://rt.cpan.org/Ticket/Display.html?id=128994__;!!P4SdNyxKAPE!VDHLICzENriKsocl7OraTHufJSKfhrVTvn1X1vtWSq-mEmIIDx8lm8cILdg42nU$
>   >
> 
> 
> I'm no XS/C expert, but just looking at the SetPlValue methods in 
> PGProperty.xsp, I think maybe the wxWidgets API changed? If you view the 
> constructors here 
> (https://urldefense.com/v3/__https://docs.wxwidgets.org/3.0/classwx_variant.html__;!!P4SdNyxKAPE!VDHLICzENriKsocl7OraTHufJSKfhrVTvn1X1vtWSq-mEmIIDx8lm8cIVnnzk98$
>  ), then you can see that wxVariant(wxObject*) exists; however, in 
> PGProperty.xsp, objects are dereferenced before being passed to wxVariant, so 
> maybe the signatures don't match.
> 

-- 
  Bruce Ravel  ------------------------------------ bra...@bnl.gov

  National Institute of Standards and Technology
  Synchrotron Science Group at NSLS-II
  Lead Beamline Scientist, 6BM (BMM)
  Building 743, Room 114
  Upton NY, 11973

  Homepage:    http://bruceravel.github.io/home/
  Beamline:    https://www.bnl.gov/ps/beamlines/beamline.php?r=6-BM
  Software:    https://github.com/bruceravel
  Demeter:     http://bruceravel.github.io/demeter/

Reply via email to