← Back to team overview

kicad-developers team mailing list archive

Re: Python 3 now required

 

On 2021-06-15 6:32 a.m., Marco Ciampa wrote:
On Tue, Jun 15, 2021 at 12:22:42AM +0300, Eeli Kaikkonen wrote:
[snip]
That's where cmake UIs come handy. Try ccmake or cmake-gui (they are
[snip]

Exactly, Kevin is right but using the cmake-gui command it was very easy
to figure out how to change the variables to make it compile for me.

I changed a symlink on my machine to make 'python' point to 'python3'. I also rm'ed the build directory. I seem to be over the problem with it finding the right version of Python when both 2.7 and 3.6 are installed.

Now it complains that it can't find wxPython/Phoenix. AFAICT, that means I need version 4 of wx. I only have 3 and the distro I'm using doesn't have version 4 available so I can no longer build KiCAD v6. At least I solved the previous problem. :)

//Build for Python 3 instead of 2 (default OFF).
KICAD_SCRIPTING_PYTHON3:BOOL=ON

Is this the new way of specifying whether a setting is enabled or not? You need to specify the setting type and not just whether it is on or off? In the past I just have just used <setting>=<state>.

--
Cheers!

Kevin.

http://www.ve3syb.ca/               | "Nerds make the shiny things that
https://www.patreon.com/KevinCozens | distract the mouth-breathers, and
                                    | that's why we're powerful"
Owner of Elecraft K2 #2172          |
#include <disclaimer/favourite>     |             --Chris Hardwick


Follow ups

References