Skip to content

bootstrap-vcpkg.bat failing #15046

@MoonStruckHorrors

Description

@MoonStruckHorrors

Describe the bug
bootstrap-vcpkg.bat faile with error:

..\src\vcpkg\versiondeserializers.cpp(112): error C2440: 'initializing': cannot convert from 'initializer list' to 'vcp
kg::SchemedVersion' [C:\vcpkg\toolsrc\windows-bootstrap\vcpkg.vcxproj]
  ..\src\vcpkg\versiondeserializers.cpp(112): note: No constructor could take the source type, or constructor overload
  resolution was ambiguous

Environment

  • OS: Windows 10 Pro, x64
  • Compiler: VS 2015, Update 3

To Reproduce
Steps to reproduce the behavior:

  1. Just run bootstrap-vckpg.bat
  2. Fails with the above error

Expected behavior
It should.. build.

Failure logs

  versiondeserializers.cpp
..\src\vcpkg\versiondeserializers.cpp(112): error C2440: 'initializing': cannot convert from 'initializer list' to 'vcp
kg::SchemedVersion' [C:\vcpkg\toolsrc\windows-bootstrap\vcpkg.vcxproj]
  ..\src\vcpkg\versiondeserializers.cpp(112): note: No constructor could take the source type, or constructor overload
  resolution was ambiguous
C:\vcpkg\scripts\bootstrap.ps1 : Building vcpkg.exe failed. Please ensure you have installed Visual Studio with the
Desktop C++ workload and the Windows SDK for Desktop C++.
At line:1 char:4
+ & {& 'C:\vcpkg\scripts\bootstrap.ps1' }
+    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,bootstrap.ps1

ScriptHalted
At C:\vcpkg\scripts\bootstrap.ps1:411 char:5
+     throw
+     ~~~~~
    + CategoryInfo          : OperationStopped: (:) [], RuntimeException
    + FullyQualifiedErrorId : ScriptHalted

Additional context
None.

Metadata

Metadata

Labels

category:vcpkg-bugThe issue is with the vcpkg system (including helper scripts in `scripts/cmake/`)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions