win10
要求
- Visual Studio 2015 更新 3 或更高版本(带英文语言包)
- 安装git
- Windows 7 或更高版本
安装
1、创建一个目录,然后进入这个目录,我的目录是C:\Users\oceanstar\vcpkg\win
注意:目录名要求是 英文、中间不带空格
2、下载vcpkg 存储库并安装 :https://github.com/microsoft/vcpkg
git clone https://gitee.com/mirrors/vcpkg.git
.\vcpkg\bootstrap-vcpkg.bat
3、加入环境变量
linux
不要在linux下使用vcpkg!!!!!不要在linux下使用vcpkg!!!!!不要在linux下使用vcpkg!!!!!-动不动就出问题,解决问题的时间足够我手动编译N个源码了!!!
要求
Linux平台的使用需求:
- Git
- g++ >= 6
安装
git clone https://gitee.com/mirrors/vcpkg.git
./vcpkg/bootstrap-vcpkg.sh