当前位置:网站首页>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
边栏推荐
- ESP32 LVGL8. 1 - event (event 17)
- ESP32 LVGL8. 1 - msgbox message box (msgbox 28)
- Deeply understand what new and make in golang are and what are the differences?
- 剑指 Offer II 116. 省份数量-空间复杂度O(n),时间复杂度O(n)
- 玻璃体中的硫酸软骨素
- Solutions such as unknown or garbled code or certificate problem prompt in Charles's mobile phone packet capture, actual measurement.
- Esp32 (UART ecoh) - serial port echo worm learning (2)
- Usage of functions decode() and replace() in SQL
- Tencent map and high logo removal method
- Screenshot using projectmediamanager
猜你喜欢
解决:cnpm : 無法加載文件 ...\cnpm.ps1,因為在此系統上禁止運行脚本
mysql_linux版本的下载及安装详解
Résolution: cnpm: impossible de charger le fichier... Cnpm. PS1 parce que l'exécution de scripts est désactivée sur ce système
2022.04.23(LC_763_划分字母区间)
机器学习实战 -朴素贝叶斯
Simple use of navigation in jetpack
ctfshow-web362(SSTI)
Esp32 (UART 485 communication) - 485 communication of serial port (3)
根据快递单号查询物流查询更新量
The first leg of the national tour of shengteng AI developer creation and enjoyment day was successfully held in Xi'an
随机推荐
STM32: LCD display
Tangle
Yyds dry goods inventory stringprep --- Internet string preparation
Seata handles distributed transactions
Can filter
Machine learning practice - naive Bayes
Feature selection feature_ selection--SelectKBest
Use bitnami / PostgreSQL repmgr image to quickly set up PostgreSQL ha
Introduction to QT programming
ESP32 LVGL8. 1 - img picture (IMG 20)
PyGame tank battle
Sentinel rule persistence into Nacos
ESP32 LVGL8. 1 - event (event 17)
ESP32 LVGL8. 1 - arc (arc 19)
MVVM model
Sentinel服务熔断实战(sentinel整合ribbon+openFeign+fallback)
剑指 Offer II 116. 省份数量-空间复杂度O(n),时间复杂度O(n)
12 examples to consolidate promise Foundation
mysql_ Download and installation of Linux version
ESP32 LVGL8. 1 - label (style 14)