Giter VIP home page Giter VIP logo

Comments (8)

benmcmorran avatar benmcmorran commented on September 1, 2024

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.

froha avatar froha commented on September 1, 2024

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.

froha avatar froha commented on September 1, 2024

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.

benmcmorran avatar benmcmorran commented on September 1, 2024

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.

benmcmorran avatar benmcmorran commented on September 1, 2024

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 as VCPKG_ROOT. A root directory will be created within this directory to act as the VCPKG_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.

image

from vscode-embedded-tools.

froha avatar froha commented on September 1, 2024

Nice, it is working now.
Thank you!

from vscode-embedded-tools.

benmcmorran avatar benmcmorran commented on September 1, 2024

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.

benmcmorran avatar benmcmorran commented on September 1, 2024

The vcpkg.storageLocation setting is now available in the official 0.7.0 release.

from vscode-embedded-tools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.