Skip to content

vcpkg build failure #14885

@memecode

Description

@memecode

Bootstrap build fails on Win10 /w vs2015

Environment:

  • OS: Windows 10
  • Compiler: vs2015 14.0.25431.01 Update 3

Steps to reproduce the behavior:

  1. git clone vkpkg
  2. bootstrap-vcpkg.bat

I'm expecting it to build using vs2015. But I get this:

..\src\vcpkg\install.cpp(845): error C2280: 'vcpkg::PortFileProvider::BaselineProvider::BaselineProvider(const vcpkg::PortFileProvider::BaselineProvider &)': attempting to reference a deleted function [E:\vcpkg\toolsrc\windows-bootstrap\vcpkg.vcxproj]
E:\vcpkg\toolsrc\include\vcpkg/portfileprovider.h(84): note: compiler has generated 'vcpkg::PortFileProvider::BaselineProvider::BaselineProvider' here

Looking at the error I can't even figure out why it's trying to call the default constructor there... both calls in the lambda to construct the BaselineProvider are using non-default parameters. I did spend a little time just trying to fix the compile error but I couldn't figure it out. Seems like the compiler is just wrong here...

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