如何跳过对 vcpkg 的依赖?
How to skip dependency with vcpkg?
我正在尝试使用vcpkg
安装cgal
并收到无法安装mpfr
依赖项的错误,因为它的站点不可用。我可以跳过此依赖项吗?
Additional packages (*) will be modified to complete this operation.
Starting package 1/88: mpfr:x86-windows
Building package mpfr[core]:x86-windows...
-- Downloading http://www.mpfr.org/mpfr-4.0.2/mpfr-4.0.2.tar.xz...
-- Downloading http://www.mpfr.org/mpfr-4.0.2/mpfr-4.0.2.tar.xz... Failed. Status: 7;"Couldn't connect to server"
CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:175 (message):
Failed to download file.
If you use a proxy, please set the HTTPS_PROXY and HTTP_PROXY environment
variables to "https://user:password@your-proxy-ip-address:port/".
Otherwise, please submit an issue at https://github.com/Microsoft/vcpkg/issues
可以使用CONTROL
文件中Build-Depends
字段来控制依赖项。 在您的情况下portscgalCONTROL
有关更多信息;https://github.com/microsoft/vcpkg/blob/master/docs/maintainers/control-files.md#control-files
但是,您删除此依赖项很可能无法构建cgal
相关文章:
- 如何从C++中的依赖类型中获得它所依赖的类型
- 将--whole archive链接器选项与CMake和具有其他库依赖项的库一起使用
- 将依赖名称显式标记为类型名和模板的奇怪之处
- 在 Windows 上,是否可以让 dll 在不使用 PATH 环境变量的情况下在另一个文件夹中查找依赖项?
- C++GTKMM gui循环依赖关系
- 通过ccmake在cmake中缓存依赖选项
- 当基类是依赖类型时,这是一个缺陷吗
- vcpkg 添加新库,但找不到
- 从不同的附加依赖项中识别等同命名的函数
- 如何在 CMake 中对目标依赖项进行分组?
- 是否可以依赖函数范围的静态变量来执行程序关闭期间调用的方法?
- 为什么构建目录中新构建的共享库与安装目录中的副本具有不同的依赖项集?
- VS 2015 链接错误 无法构建依赖于 libcurl 的项目
- 通过依赖类型使用非类型模板参数的单类型模板参数类模板的部分专用化
- 为什么内存屏障依赖于变量?
- node-gyp 的先有鸡还是先有蛋的问题:指向依赖项中的头文件
- 反转依赖于 end() 的迭代器
- GCC,CMake,预编译标头和维护依赖项
- 如何跳过对 vcpkg 的依赖?
- 使用VCPKG下载依赖项而无需创建DLL