[cmake] Building wxpython:x64-windows...
[cmake] -- Installing port from location: C:\Users\ZorG\AppData\Local\vcpkg\registries\git-trees\d12e63a05203d3bbaa60aeafc4fdad4b06597e32
[cmake] -- Using cached wxWidgets-phoenix-fb335e8cc92bc7719e5181385b56f599b993631f.tar.gz.
[cmake] -- Cleaning sources at D:/devtools/vcpkg/buildtrees/wxpython/src/99b993631f-47b8f1b0d2.clean. Use --editable to skip cleaning for the packages you specify.
[cmake] -- Extracting source D:/devtools/vcpkg/downloads/wxWidgets-phoenix-fb335e8cc92bc7719e5181385b56f599b993631f.tar.gz
[cmake] -- Applying patch ignore-stackwalker-GetAssertStackTrace.patch
[cmake] -- Using source at D:/devtools/vcpkg/buildtrees/wxpython/src/99b993631f-47b8f1b0d2.clean
[cmake] -- Using cached wxWidgets-wxWidgets-01bda9242fa88441f582593f086e4e9092315d13.tar.gz.
[cmake] -- Cleaning sources at D:/devtools/vcpkg/buildtrees/wxpython/src/9092315d13-9db397092a.clean. Use --editable to skip cleaning for the packages you specify.
[cmake] -- Extracting source D:/devtools/vcpkg/downloads/wxWidgets-wxWidgets-01bda9242fa88441f582593f086e4e9092315d13.tar.gz
[cmake] -- Using source at D:/devtools/vcpkg/buildtrees/wxpython/src/9092315d13-9db397092a.clean
[cmake] CMake Error at D:/Kicad/source/build/vscode-msvc/vcpkg_installed/x64-windows/share/vcpkg-get-python-packages/x_vcpkg_get_python_packages.cmake:79 (file):
[cmake] file COPY cannot find
[cmake] "D:/devtools/vcpkg/downloads/tools/python/python-3.10.7-x64/python311.zip":
[cmake] File exists.
[cmake] Call Stack (most recent call first):
[cmake] C:/Users/ZorG/AppData/Local/vcpkg/registries/git-trees/d12e63a05203d3bbaa60aeafc4fdad4b06597e32/portfile.cmake:27 (x_vcpkg_get_python_packages)
[cmake] scripts/ports.cmake:147 (include)
[cmake]
[cmake]
[cmake] error: building wxpython:x64-windows failed with: BUILD_FAILED
[cmake] Elapsed time to handle wxpython:x64-windows: 56 s
[cmake] Please ensure you're using the latest port files with `git pull` and `vcpkg update`.
[cmake] Then check for known issues at:
[cmake] https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+wxpython
[cmake] You can submit a new issue at:
[cmake] https://github.com/microsoft/vcpkg/issues/new?title=[wxpython]+Build+error&body=Copy+issue+body+from+D%3A%2FKicad%2Fsource%2Fbuild%2Fvscode-msvc%2Fvcpkg_installed%2Fvcpkg%2Fissue_body.md
[cmake]
[cmake] -- Running vcpkg install - failed
[cmake] CMake Error at D:/devtools/vcpkg/scripts/buildsystems/vcpkg.cmake:895 (message):
[cmake] vcpkg install failed. See logs for more information:
[cmake] D:\Kicad\source\build\vscode-msvc\vcpkg-manifest-install.log
[cmake] Call Stack (most recent call first):
[cmake] build/vscode-msvc/CMakeFiles/3.25.1/CMakeSystem.cmake:6 (include)
[cmake] CMakeLists.txt:42 (project)
[cmake]
[cmake]
[cmake] -- Configuring incomplete, errors occurred!
[cmake] See also "D:/Kicad/source/build/vscode-msvc/CMakeFiles/CMakeOutput.log".
[cmake] See also "D:/Kicad/source/build/vscode-msvc/CMakeFiles/CMakeError.log".
[proc] The command: D:\devtools\CMake\bin\cmake.EXE --no-warn-unused-cli -GNinja -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo -DCMAKE_INSTALL_PREFIX:STRING=D:/Kicad/msvc-build -DBoost_NO_BOOST_CMAKE:STRING=ON -DCMAKE_TOOLCHAIN_FILE:STRING=D:/devtools/vcpkg//scripts/buildsystems/vcpkg.cmake -DKICAD_SCRIPTING_PYTHON3:STRING=ON -DKICAD_SCRIPTING_WXPYTHON_PHOENIX:STRING=ON -DKICAD_USE_OCC:STRING=ON -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -SD:/Kicad/source -Bd:/Kicad/source/build/vscode-msvc -G Ninja exited with code: 1
Part of the problem is it tries to acquire a python redistributable binary to bootstrap the pip fetches, but it does so by trying to dig up the correct python version to use…kinda awkwardly. It’s hardcoded to use python 3.11 but its picking up the python 3.10 cached folder. So vcpkg’s own cache can confuse it, but so can other things
EDIT: Post the full build error and not the worthless last line about an error. You may have a completely different build error. Don’t post useless messages as a developer