2023-03-15 03:42 PM
I have imported an STM32 project, created and debugged in the past using STM32CubeIDE. When I try to build this project in VSCode I see:
Executing task: Build
build task started....
"C:\Program Files\CMake\bin\cmake.EXE" --build "D:/DataRoot/Projects/IO Technologies/IHP Controller/build/debug/build"
The parameter is incorrect
CMake Error: Generator: execution of make failed. Make command was: &&
build finished with error(s).
No changes were made to the imported project.
Please advise how to proceed.
Sid
Solved! Go to Solution.
2023-03-23 04:19 PM
This looks like it might be an issue with our integration of vcpkg with the Embedded Tools extension. Can you report this here so we can dig into it?
2023-03-15 07:45 PM
Do you have this installed?
2023-03-16 07:10 AM
Yes, I followed the getting started instructions for the extension.
2023-03-16 07:26 AM
could you try a path without spaces
2023-03-16 02:37 PM
Hello,
I suspect the issue is some kind of extension conflict in VSCode. I have created a profile that has just the STM32Cube extension and I then tried to open an existing local project, one without spaces in the path/name. When it is loaded I see the following:
> Using vcpkg executable at "c:\Users\sidpr\.vscode\extensions\ms-vscode.vscode-embedded-tools-0.6.0-win32-x64\assets\platform\win32-x64\vcpkg.exe".
> Using VCPKG_ROOT at "c:\Users\sidpr\AppData\Roaming\Code\User\globalStorage\ms-vscode.vscode-embedded-tools\vcpkg\root".
> Activating environment at "d:\DataRoot\Projects\MorningClock2\MorningClock_v3_stm32g070KBT\vcpkg-configuration.json".
> Version of vcpkg used to create VCPKG_ROOT: "2023-01-24-8a88d63f241d391772fbde69af9cab96c3c64c75".
> Running vcpkg with arguments ["version"].
vcpkg package management program version 2023-01-24-8a88d63f241d391772fbde69af9cab96c3c64c75
See LICENSE.txt for license information.
> Bundled version of vcpkg: "2023-01-24-8a88d63f241d391772fbde69af9cab96c3c64c75".
> Running vcpkg with arguments ["activate","--project","d:\\DataRoot\\Projects\\MorningClock2\\MorningClock_v3_stm32g070KBT","--json","C:\\Users\\sidpr\\AppData\\Local\\Temp\\683d8a9626f4c240dfe9f4dd00dd0172"].
warning: vcpkg-ce ('configure environment') is experimental and may change at any time.
read_contents("C:\Users\sidpr\AppData\Roaming\Code\User\globalStorage\ms-vscode.vscode-embedded-tools\vcpkg\root\scripts\vcpkgTools.xml"): no such file or directory
> Failed with exit code "1".
> Failed to activate environment at "d:\DataRoot\Projects\MorningClock2\MorningClock_v3_stm32g070KBT\vcpkg-configuration.json".
Sid
2023-03-21 06:46 AM
@Nawres GHARBI Any suggests please, I am totally unable to use this extension :(
2023-03-23 04:19 PM
This looks like it might be an issue with our integration of vcpkg with the Embedded Tools extension. Can you report this here so we can dig into it?
2023-03-27 01:40 AM
seems that vcpkg is not activated, are you on a secure/business lan?
2023-03-27 06:27 AM
I have the same problem with vcpkg. (network: secure/business lan)
2023-03-27 06:32 AM
Please see the reply from @robotdad