kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #11637
Re: WxPython scripting status
10/11/13 08:18, Dick Hollenbeck kirjoitti:
> Hi Vesa,
>
> See here:
>
> http://packages.ubuntu.com/saucy/libwxgtk2.8-dev
>
> This package above, which is an existing prerequisite, gets installed, and depends on
> wx2.8-headers which should therefore get installed, and it includes wxPython.h. So it
> should be fine. See if package wx2.8-headers is installed please.
Hi Dick,
It's great to see you have time for this kind of 'customer' support ;)
Regarding prerequisites and before asking here I ended up with the same
conclusion as you, wx2.8-headers that is. It still didn't work.
Anyway, the problem moved on while writing this. It was a classical
PEBKAC again. I had some wx2.9.zzz built for testing the printing fixes
and KiCad build was linking against it, but that build didn't have
Python support. Cmake was happy with header package from 2.8 and the
rest from 2.9.zzz it seems.
> $ dpkg -l | grep wx2.8-headers
> ii wx2.8-headers 2.8.12.1-6ubuntu2 wxWidgets Cross-platform C++ GUI toolkit (header files)
wx2.8-headers 2.8.12.1-14ubuntu1.1 amd64
Now the build log shows:
CMakeFiles/pcbnew.dir/pcbframe.cpp.o:
”PCB_EDIT_FRAME::PCB_EDIT_FRAME(wxWindow*, wxString const&, wxPoint
const&, wxSize const&, long)”:
pcbframe.cpp:(.text+0x2bcd): undefined reference to
”CreatePythonShellWindow(wxWindow*)”
-Vesa
Follow ups
References