Build Error with wxWidgets >3.1.0

Bug #1678623 reported by Bernhard Stegmaier
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Low
Chris Pavlina

Bug Description

KiCad won't build with wxWidgets mast after
  https://github.com/wxWidgets/wxWidgets/commit/98294467553fe4dd766419c4e5aa6bc9502d65c7
and new component selector:
<<<
[ 58%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/dialogs/dialog_choose_component.cpp.o
/Volumes/OSXData/Users/bstegmaier/KiCad/kicad/eeschema/dialogs/dialog_choose_component.cpp:263:21: error: no matching
      constructor for initialization of 'wxDataViewEvent'
    wxDataViewEvent evt( wxEVT_DATAVIEW_SELECTION_CHANGED );
                    ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/OSXData/Users/bstegmaier/KiCad/wx-master/include/wx-3.1/wx/dataview.h:812:5: note: candidate constructor not
      viable: no known conversion from 'const wxEventTypeTag<wxDataViewEvent>' to 'const wxDataViewEvent' for 1st
      argument
    wxDataViewEvent(const wxDataViewEvent& event)
    ^
/Volumes/OSXData/Users/bstegmaier/KiCad/wx-master/include/wx-3.1/wx/dataview.h:787:5: note: candidate constructor not
      viable: requires 0 arguments, but 1 was provided
    wxDataViewEvent()
    ^
/Volumes/OSXData/Users/bstegmaier/KiCad/wx-master/include/wx-3.1/wx/dataview.h:804:5: note: candidate constructor not
      viable: requires 3 arguments, but 1 was provided
    wxDataViewEvent(wxEventType evtType,
    ^
/Volumes/OSXData/Users/bstegmaier/KiCad/wx-master/include/wx-3.1/wx/dataview.h:794:5: note: candidate constructor not
      viable: requires at least 3 arguments, but 1 was provided
    wxDataViewEvent(wxEventType evtType,
    ^
1 error generated.
make[2]: *** [eeschema/CMakeFiles/eeschema_kiface.dir/dialogs/dialog_choose_component.cpp.o] Error 1
make[1]: *** [eeschema/CMakeFiles/eeschema_kiface.dir/all] Error 2
make: *** [all] Error 2
>>>

Changed in kicad:
status: New → Triaged
importance: Undecided → Low
assignee: nobody → Chris Pavlina (pavlina-chris)
tags: added: componentchooser
Revision history for this message
Chris Pavlina (pavlina-chris) wrote :

I believe this is fixed by ac688e68. Please reopen if not.

Changed in kicad:
status: Triaged → Fix Committed
Changed in kicad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.