2023-03-17 12:28 PM
[main] Building folder: testtest
[main] Configuring project: testtest
[proc] Executing command: "C:\Program Files\CMake\bin\cmake.EXE" -DCMAKE_BUILD_TYPE=Debug -DPRESET_NAME=debug -DCMAKE_INSTALL_PREFIX=D:/test2/testtest/build/debug/install -DCMAKE_TOOLCHAIN_FILE:FILEPATH=D:/test2/testtest/cmake/gcc-arm-none-eabi.cmake -SD:/test2/testtest -BD:/test2/testtest/build/debug/build -G Ninja
[cmake] CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
[cmake] -- Configuring incomplete, errors occurred!
[cmake] See also "D:/test2/testtest/build/debug/build/CMakeFiles/CMakeOutput.log".
[proc] The command: "C:\Program Files\CMake\bin\cmake.EXE" -DCMAKE_BUILD_TYPE=Debug -DPRESET_NAME=debug -DCMAKE_INSTALL_PREFIX=D:/test2/testtest/build/debug/install -DCMAKE_TOOLCHAIN_FILE:FILEPATH=D:/test2/testtest/cmake/gcc-arm-none-eabi.cmake -SD:/test2/testtest -BD:/test2/testtest/build/debug/build -G Ninja exited with code: 1
Solved! Go to Solution.
2023-03-23 4:37 PM
Yes, check that vcpkg is activated by this icon in the status bar. It does not look like it based on the output you posted.
If you are getting a vcpkg activation error you can post an issue in our Embedded Tools issue list as that is where it is bundled. We'll look into it.
2023-03-17 1:35 PM
Did you also get something like
Downloading vcpkg-artifacts bundle 2023-03-14...
error: Failed to provision vcpkg-artifacts.
> Failed with exit code "1".
> Failed to activate environment at ...
?
Because as I understand it vcpkg is suppose to bootstrap you with ninja and the cmake it wants.
I haven't decided why I get this vcpkg error though...
2023-03-23 4:37 PM
Yes, check that vcpkg is activated by this icon in the status bar. It does not look like it based on the output you posted.
If you are getting a vcpkg activation error you can post an issue in our Embedded Tools issue list as that is where it is bundled. We'll look into it.
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.