Comments (8)
Thanks for the report! To help narrow down if long paths are causing the issue, can you try enabling long path support (if it's not already enabled) and then restarting?
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -Force
I'm also working on a change to enable overriding the storage location for the vcpkg installation, which should be available on the pre-release channel within a few days.
from vscode-embedded-tools.
Long path support was enbaled.
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem\LongPathsEnabled = 1
A colleague has the same error, but the long path support was not enabled.
Enabling it and restart his pc didn't change anything.
from vscode-embedded-tools.
Additinal info:
a small test with vcpkg
Working:
$Env:VCPKG_ROOT = "C:\folder0asd\folder1asdfasdf\folder2\folder3\fol4\fol5\folder6asdfas\folder7asdfasdfasdfasdfasdfas"
Not working:
$Env:VCPKG_ROOT = "C:\folder0asd\folder1asdfasdf\folder2\folder3\fol4\fol5\folder6asdfas\folder7asdfasdfasdfasdfasdfasd"
Didn't find anything about a limit for gcc, but i had not much time today.
from vscode-embedded-tools.
Your most recent comment looks like this is definitely a long path issue. I'm hoping to have a change in the pre-release channel tomorrow that enables overriding the vcpkg storage location. I'll let you know once it's available for testing, and thanks for all your help diagnosing this issue!
from vscode-embedded-tools.
The new setting is available in version 0.6.230214002, which is now available in the pre-release channel in the VS Code Marketplace. From the release notes:
A new
vcpkg.storageLocation
setting overrides the path to the directory where vcpkg installation files should be stored. The contents of this directory are fully managed by the extension, including potential deletion, so reusing an existing storage location is not recommended. Note that this is not the same asVCPKG_ROOT
. Aroot
directory will be created within this directory to act as theVCPKG_ROOT
, but additional files will be stored in the directory itself.
To switch to the pre-release channel, simply click the pre-release icon in VS Code.
from vscode-embedded-tools.
Nice, it is working now.
Thank you!
from vscode-embedded-tools.
Thanks for confirming! I'm marking this as fixed-pending-release
since the workaround seems pretty reasonable, but we'll continue to evaluate other options internally to see if there's a better default path we can use for vcpkg storage.
from vscode-embedded-tools.
The vcpkg.storageLocation
setting is now available in the official 0.7.0 release.
from vscode-embedded-tools.
Related Issues (20)
- Extract the vcpkg artifacts support into its own VSCode extension and repo
- Build analyser would be a great addition HOT 2
- Could not find an STM32CubeIDE installation HOT 6
- doe nu eens iets gelijk goed HOT 1
- vcpkg reinstalled despite having the correct version bundled
- Pre-defined compiler flags are not picked up when importing .cproject file
- The selector to choose a .cproject file to import only shows directories inside a dev container HOT 1
- Pause automatic project refresh during git rebase
- RTOS View seem to not support Azure RTOS on 64bit Arm targets
- Can't import MP1 project
- Register writes fail if fixed-width integer types are unknown to the debugger HOT 1
- is it open source project ? what is the source repository? HOT 1
- Peripheral view search does not always filter
- FreeRTOS RTOS Viewer not working
- STLink GDB Server discovery does not find CLT's STLink Server. HOT 1
- Pre-Release: Failed to activate environment - unexpected argument HOT 6
- Unable to open .ioc files with STM32CubeMX on Linux
- Doesn't install
- Only can show the byte pool info in RTOS viewer
- Add support for RISCV arch HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-embedded-tools.