windows build broken without any change [vcpkg not found]
I haven't build my project for 5 days and now every build fails even with the same changes of the latest working build
- [working] https://ci.appveyor.com/project/L4ZZA/pyro/builds/33864212
- [not working] https://ci.appveyor.com/project/L4ZZA/pyro/builds/33978188
It seems like something went wrong with vcpkg as the only project not building is my tests project as it doesn't find the boost library
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Feodor Fitsner on 08 Jul, 2020 06:04 PM
There was VS 2019 image update on July 3 which, of course, bumped vcpkg: https://www.appveyor.com/updates/2020/07/03/
Try disabling vcpkg cache in your build.
2 Posted by L4ZZA on 09 Jul, 2020 08:16 AM
I did and it still doesn't work.. the VcpkgTripletSelection defaults to
x64-windows
instead of using the one specified inside the projectx64-windows-static
https://ci.appveyor.com/project/L4ZZA/pyro/builds/33986729
The workaround I found was to explicitly add vcpkg include dir
$(VcpkgInstalledDir)x64-windows-static/debug/include
to debug and$(VcpkgInstalledDir)x64-windows-static/include
to release. Not ideal.https://ci.appveyor.com/project/L4ZZA/pyro/builds/33986703
3 Posted by L4ZZA on 09 Jul, 2020 08:35 AM
I also tried to use
image: Previous Visual Studio 2019
and it works without hardcoding the additional includes here.Is it possible that this has to do with the most recent vcpkg release?
It's pretty weird that it still works on my machine after updating vpkg..
4 Posted by L4ZZA on 13 Jul, 2020 08:58 AM
any update on this? :)
Support Staff 5 Posted by Feodor Fitsner on 13 Jul, 2020 10:33 PM
Honestly, I'm not an expert in C++/vcpkg, but perhaps vcpkg team could help if you submit an issue there.
6 Posted by L4ZZA on 14 Jul, 2020 10:55 AM
well, the problem is not with vcpkg in general, but with the image update.
Vcpkg works on my machine as expected, even after updating to its latest released version 2020.06.
On AppVeyor though, the build fails using
Visual Studio 2019
, but succeeds usingPrevious Visual Studio 2019
without changing anything else in the yaml file and this ever since the latest image update.I can honestly only see a problem that has to do with the OS image here.