当前位置:网站首页>Getting started with vcpkg
Getting started with vcpkg
2022-04-23 18:52:00 【Brick Porter】
About VCPKG Compile and use basic methods , Other articles have made it clear . I also learned a lot according to the articles of leaders . Let's talk about my usage findings .
One 、 The library and its support library are always updated , So it usually takes a period of time to update , In order to obtain the support of the newly added Library .
Two 、 How to know which libraries it supports , see Under subdirectories ports. Each folder corresponds to a library .vcpkg install Add the name of this directory to install the corresponding library .
3、 ... and 、 Some libraries provide some options and some compilation and library features . Use this parameter :
vcpkg install Library name [ Options ]: Version options
Library name , How to check has been mentioned above , open ports Under the directory of the library vcpkg.json File to see the options it supports . Let's say curl Support brotli Format support, i.e Accept-Encoding Can support br. By default vcpkg The default compilation option can only decompress gzip Format . open ports/curl In the catalog vcpkg.json You know , see default-features Node can know , By default, the options it uses are "non-http", "ssl",features All the options it supports are listed under the node , You can know brotli Also supported, so use vcpkg install curl[brotli]:x86-windows Can be compiled to support brotli The library of . Of course, there are many options under it , You need other support to add it .
Besides , stay vs2019 or 2022 Has directly provided vcpkg Support for , If installed vcpkg In the future, there will be one more compilation option vcpkg The tab of .
If you use x86-windows-static/x64-windows-static Compiled the static library , Then pay attention to use static libraries Change to yes , Otherwise, the compilation will fail to link the library .
版权声明
本文为[Brick Porter]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204210603257228.html
边栏推荐
- 解决:cnpm : 無法加載文件 ...\cnpm.ps1,因為在此系統上禁止運行脚本
- PyGame tank battle
- Redis common interview questions
- Fundamentals of machine learning theory -- some terms about machine learning
- Nacos cluster construction and MySQL persistence configuration
- Feature selection feature_ selection--SelectKBest
- 数据库上机实验四(数据完整性与存储过程)
- Go 语言 GUI 框架 fyne 中文乱码或者不显示的问题
- Machine learning theory (7): kernel function kernels -- a way to help SVM realize nonlinear decision boundary
- mysql_linux版本的下載及安裝詳解
猜你喜欢

Excel intercept text

Introduction to ROS learning notes (II)

os_authent_prefix

剑指 Offer II 116. 省份数量-空间复杂度O(n),时间复杂度O(n)

ESP32 LVGL8. 1 - calendar (calendar 25)

机器学习理论之(7):核函数 Kernels —— 一种帮助 SVM 实现非线性化决策边界的方式

【C语言进阶11——字符和字符串函数及其模拟实现(2))】

机器学习实战 -朴素贝叶斯

2022.04.23(LC_763_划分字母区间)

ESP32 LVGL8. 1 - roller rolling (roller 24)
随机推荐
电路在线模拟
Introduction to QT programming
Tangle
Implementation of TCP UDP communication with golang language
ESP32 LVGL8. 1 - img picture (IMG 20)
Simple use of navigation in jetpack
Redis common interview questions
解决:cnpm : 无法加载文件 ...\cnpm.ps1,因为在此系统上禁止运行脚本
mysql_linux版本的下載及安裝詳解
Query the logistics update quantity according to the express order number
特征选择feature_selection--SelectKBest
Introduction to micro build low code zero Foundation (lesson 3)
How about CICC wealth? Is it safe to open an account up there
mysql_ Download and installation of Linux version
listener.log
Esp32 (UART event) - serial port event learning (1)
Practice of Druid SQL and security in meituan review
12 examples to consolidate promise Foundation
数据库上机实验四(数据完整性与存储过程)
ESP32 LVGL8. 1 - arc (arc 19)