You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Build fails when vcpkg is built in a path with multiple spaces.
Environment
OS: Windows 10
Compiler: Visual Studio 2017
To Reproduce
Steps to reproduce the behavior:
create folder named Ne w folder(double spaces after w) in the root folder
clone vcpkg
.\bootstrap-vcpkg.bat
Expected behavior
Build vcpkg successful.
Failure logs
PS G:\Ne w folder\vcpkg> .\bootstrap-vcpkg.bat
Building vcpkg.exe ...
. : The term 'G:\Ne w folder\vcpkg\scripts\cleanEnvironmentHelper.ps1' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the
path is correct and try again.
At line:1 char:3+."G:\Ne w folder\vcpkg\scripts\cleanEnvironmentHelper.ps1"; &"C:\Pr ...+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (G:\Ne w folder\...nmentHelper.ps1:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundExceptionMSBUILD : error MSB1009: Project file does not exist.Switch: G:\Ne w folder\vcpkg\toolsrc\windows-bootstrap\vcpkg.vcxprojG:\Ne w folder\vcpkg\scripts\bootstrap.ps1 : Building vcpkg.exe failed. Please ensure you have installed VisualStudio with the Desktop C++ workload and the Windows SDK for Desktop C++.At line:1 char:4+ & {& 'G:\Ne w folder\vcpkg\scripts\bootstrap.ps1' }+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,bootstrap.ps1ScriptHaltedAt G:\Ne w folder\vcpkg\scripts\bootstrap.ps1:411 char:5+ throw+ ~~~~~ + CategoryInfo : OperationStopped: (:) [], RuntimeException + FullyQualifiedErrorId : ScriptHalted
Additional context
Add any other context about the problem here.
N/A
The text was updated successfully, but these errors were encountered:
Describe the bug
Build fails when vcpkg is built in a path with multiple spaces.
Environment
To Reproduce
Steps to reproduce the behavior:
Ne w folder
(double spaces afterw
) in the root folder.\bootstrap-vcpkg.bat
Expected behavior
Build vcpkg successful.
Failure logs
Additional context
Add any other context about the problem here.
N/A
The text was updated successfully, but these errors were encountered: