Looks like this warning was introduced with 7.0 RC1 as I’ve not seen it before with the 6.99 nightlies. Not sure what I should do here. Do I need to upgrade my wxpython version?
Getting this error when I open schematic or PCB editor:
The wxpython python library was compiled against wxWidgets 3.0.5 but KiCad is using 3.2.1. Python plugins will not be available.
Hi, what is wxPython dependency used for? In case it is only needed for plugin support for pcbnew, maybe it would be possible to make that dependency optional (when building from source)? This dependency is really problematic to build (seen this many times in forum) and can frighten away potential developers. My personal case: I can build Kicad on one of my windows PC, but there is no chance to pass “wxPython failed” stage on another PC. The only cure to build on another PC that I found is to transfer whole bunch of pre-build files from “good PC” to “broken PC”: Msvc/vcpkg changes - #63 by poco. I could live with pcbnew without plugins when building kicad.
wxPython is optional building from source. Set KICAD_SCRIPTING_WXPYTHON to OFF which is ON by default
Just gonna say, as developer basics 101, checking the build system and options is a place to start…, you can even use cmake -LH to get the build options and descriptions within the kicad source…
You shouldn’t hijack a old topic about wxpython in a prebuilt package on Linux vs. your issue of something to do with vcpkg and self building on Windows.
The cmakesettings.json sample as its name implies is simply a sample. An end developer on Windows is expected to customize to their hearts content, you can add whatever definitions you want inside. The same way a Linux developer has to identify and manually declare any options they want on the cli when invoking cmake to configure.
If you are having a wxpython build issue on Windows, you can throw me the log. I identified the last few breakages in the last few months and I can’t imagine there’s any left. (Against master, the 7.0 branch will still have issues)