我想让 VS Code 上新的 STM32 扩展正常工作,但过程中出现了如下报错:
Using vcpkg executable at "/home/iwiseman/.vscode/extensions/ms-vscode.vscode-embedded-tools-0.7.0-linux-x64/assets/platform/linux-x64/vcpkg-glibc.app".Using VCPKG_ROOT at "/home/iwiseman/.config/Code/User/globalStorage/ms-vscode.vscode-embedded-tools/vcpkg/root".Activating environment at "/home/iwiseman/dev/stm32cubeide-workspace/Test6/vcpkg-configuration.json".Version of vcpkg used to create VCPKG_ROOT: "2026-02-07-bedcba5172f5e4b91caac660ab7afe92c27a9895".Running vcpkg with arguments ["version"].vcpkg package management program version 2026-02-07-105f7f7e8a5ea10dfac9874ff9d1a6bacba5f454
See LICENSE.txt for license information.
Bundled version of vcpkg: "2026-02-07-105f7f7e8a5ea10dfac9874ff9d1a6bacba5f454".Versions do not match. Reinstalling vcpkg.Running vcpkg with arguments ["bootstrap-standalone"].Downloading standalone bundle 2026-02-07.Running vcpkg with arguments ["activate","--project","/home/iwiseman/dev/stm32cubeide-workspace/Test6","--json","/tmp/dbd870692f4d83c38db7324385cbdaa0"].warning: vcpkg-artifacts is experimental and may change at any time.Downloading vcpkg-artifacts bundle 2026-02-07...error: Failed to provision vcpkg-artifacts.Failed with exit code "1".Failed to activate environment at "/home/iwiseman/dev/stm32cubeide-workspace/Test6/vcpkg-configuration.json".
我已经试了这些方法:
重新导入项目
安装 vcpkg 并导出 VCPKG_ROOT 环境变量
快急哭了
|
|