[CMAKE]SDL2 Curl Zlib build failure
Nobody has claimed this yet.
- Dominant language
- CMake
- Stars
- 27.5k
- Forks
- 7.7k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 321
Description
**Host Environment**
- OS: Windows 10 Pro Version 1909 Build 18363.900
- Compiler: Microsoft (R) Build Engine version 16.6.0+5ff7b0c9e for .NET Framework
**To Reproduce**
Steps to reproduce the behavior:
`.\vcpkg install sdl2 curl`
**Failure logs**
PS C:\vcpkg> .\vcpkg install sdl2 curl
Computing installation plan...
The following packages will be built and installed:
curl[core,non-http,ssl,sspi,winssl]:x86-windows
sdl2[core]:x86-windows
* zlib[core]:x86-windows
Additional packages (*) will be modified to complete this operation.
Starting package 1/3: zlib:x86-windows
Building package zlib[core]:x86-windows...
-- Downloading http://www.zlib.net/zlib-1.2.11.tar.gz...
CMake Error at C:/vcpkg/scripts/cmake/vcpkg_download_distfile.cmake:185 (file):
file RENAME failed to rename
/c/vcpkg/C:/vcpkg/downloads/temp/zlib1211.tar.gz
to
/c/vcpkg/C:/vcpkg/downloads/zlib1211.tar.gz
because: No such file or directory
Call Stack (most recent call first):
C:/vcpkg/ports/zlib/portfile.cmake:5 (vcpkg_download_distfile)
C:/vcpkg/scripts/ports.cmake:73 (include)
**Additional context**
Old installation of vcpkg broke after installing opencv, removed old installation.
Cloned and created new installation of vcpkg, followed steps from readme.
I've noticed the double directory
> /c/vcpkg/C:/vcpkg/downloads/zlib1211.tar.gz
not sure if that's the issue.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.