[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Stuck on KiCad dependency wxPython
From: |
Danny Milosavljevic |
Subject: |
Re: Stuck on KiCad dependency wxPython |
Date: |
Thu, 22 Sep 2016 10:27:54 +0200 |
Hi Leo,
the part that is failing is Python distutils build_ext. It uses
Python*/Lib/distutils/sysconfig.py in order to find out the flags. And that
does
distutils/sysconfig.py: cpp = cpp + ' ' + os.environ['CPPFLAGS']
^^^^^^^^^^^^^^^^^^^^^^
So we should set an environment variable :)
See attached (dirty) patch...
Best would be to set it to what wxwidgets' wx-config program reports (i.e.
CPPFLAGS=`wx-config --cflags`) - but I don't know how to do that yet.
wxpython.patch
Description: Text Data
- Re: Stuck on KiCad dependency wxPython,
Danny Milosavljevic <=