The option KICAD_SCRIPTING_PYTHON3 doesn't even exist anymore. I recommend that people who are having issues get rid of your CMake cache and start fresh, you have a lot of left over variables that may be confusing things. When we remove a variable from our CMake configuration, many times it does not get removed from your cache.
On Wed, Jun 16, 2021 at 5:16 PM Nick Østergaard <oe.n...@gmail.com> wrote: > > You don't need to specify the type, but cmake will accept it as well and that > is how it is written by cmake in the CMakeCache.txt. > > On Wed, 16 Jun 2021 at 20:51, Kevin Cozens <ke...@ve3syb.ca> wrote: >> >> 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 >> >> _______________________________________________ >> Mailing list: https://launchpad.net/~kicad-developers >> Post to : kicad-developers@lists.launchpad.net >> Unsubscribe : https://launchpad.net/~kicad-developers >> More help : https://help.launchpad.net/ListHelp > > _______________________________________________ > Mailing list: https://launchpad.net/~kicad-developers > Post to : kicad-developers@lists.launchpad.net > Unsubscribe : https://launchpad.net/~kicad-developers > More help : https://help.launchpad.net/ListHelp _______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp