Build fails with swig 3.0.9

Bug #1592027 reported by Chris Pavlina
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Medium
Unassigned

Bug Description

I had to downgrade swig from 3.0.9 on my Linux box to properly build with Python scripting.

Error: the swig import helper was not fixed, check /tmp/kibuild/pcbnew/pcbnew.py
       and fix this script: fix_swig_imports.py
pcbnew/CMakeFiles/pcbnew_kiface.dir/build.make:78: recipe for target 'pcbnew/pcbnew_wrap.cxx' failed
make[2]: *** [pcbnew/pcbnew_wrap.cxx] Error 2
make[2]: *** Deleting file 'pcbnew/pcbnew_wrap.cxx'

Building bzr 6927 on Linux with swig 3.0.9, wxgtk 3.0.2, wxpython 3.0.2.0, Python 2.7.11.

I've attached pcbnew.py from the failed build.

Tags: pcbnew swig
Revision history for this message
Chris Pavlina (pavlina-chris) wrote :
Revision history for this message
jean-pierre charras (jp-charras) wrote :

Could you try the attached script

Revision history for this message
Chris Pavlina (pavlina-chris) wrote :

That works for me, thanks.

Changed in kicad:
status: New → 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.