新系统安装指定的boost版本

Home / C++ MrLee 3天前 13

在你的 vcpkg 目录(D:\source\vcpkg)下打开 CMD,运行:

git log "--format=%H %cd %s" --date=short -- versions/b-/boost-optional.json
D:\source\c++\vcpkg>git log "--format=%H %cd %s" --date=short -- versions/b-/boost-optional.json
48a0cef9ea67606c94f149647470c956bb78050a 2025-04-17 [boost] update to 1.88.0 (#44833)
a148012a2b0e671597d5eee149ce50bb462f1722 2025-03-12 [boost-mysql] Add missing dependency on boost-compat (#44296)
566f9496b7e00ee0cc00aca0ab90493d122d148a 2025-03-03 [boost] update to 1.87.0 (#42678)
054637a2ae63c6c647b3169251759910cc4c984a 2024-10-18 [boost] Update to 1.86.0 (#40465)
007aaced1a9d3245e28a2ba9395dca88ea890db1 2024-05-27 [vcpkg-scripts][boost] Improve generate-ports.ps1 (#38814)
cbf4a6641528cee6f172328984576f51698de726 2024-05-09 [Boost] Update to 1.85 (#38523)
bcf3d00d2116056fda0ce47615f6074ffecb7524 2024-04-29 [Boost] use cmake build (#32309)
8ccb84df727bdf83045e53c319af05c554838b80 2024-01-22 [boost] Update to v1.84.0 (#35693)
caa7579a1c48e2ca770f6ccf98cb03db95642631 2023-09-13 [boost] update to v1.83.0 (#33597)
5d3798ac7388ca66c169773e46103b14077b76a4 2023-06-06 [boost] Remove port version constraints (#31572)
501db0f17ef6df184fcdbfbe0f87cde2313b6ab1 2023-04-15 [boost-build] Fix SHA512 and add MSVC workaround. (#30884)
bedfdb774cfbe47da202169046ca15441a213f3e 2023-04-15 [Boost] Update Boost ports to 1.82#0 (#30856)
9484a57dd560b89f0a583be08af6753611c57fd5 2023-02-24 Update vcpkg-tool to 2023-02-16. (#29664)
6aa38234d08efefc55b70025cf6afc2212e78e15 2023-02-01 [boost] Fix generate ports to match the tree. (#29338)
6d41737729b170cb7d323a4fddd21607c9237636 2022-12-20 [boost] update to 1.81.0 (#28356)
5ba2b95aea2a39aa89444949c7a047af38c401c1 2022-10-18 [boost] Add version constraints (#26817)
8424da584e59e05956913bf96f87654aa3096c7e 2022-08-25 [boost] update to 1.80.0 (#26233)
96ec7fb25da25e0463446e552d59715a47c95e73 2022-04-21 [boost] update to 1.79.0 (#24210)
76d4836f3b1e027758044fdbdde91256b0f0955d 2022-01-10 [boost] update to 1.78.0 (#21928)
cc471dc0f59b7b2066d6172c2893419412327a7a 2021-09-27 [boost] update to 1.77.0 (#19556)
761c81d43335a5d5ccc2ec8ad90bd7e2cbba734e 2021-07-07 [boost] update to 1.76.0 (#17335)
68a74950d0400f5a803026d0860f49853984bf11 2021-01-21 [vcpkg] Rename `port_versions` to `versions` (#15784)

然后在一个空目录下创建vcpkg.json

{
  "dependencies": [
    "boost"
  ],
  "overrides": [
    {
      "name": "boost",
      "version": "1.88.0"
    }
  ],
  "builtin-baseline": "48a0cef9ea67606c94f149647470c956bb78050a"
}

再执行vcpkg install即可。注意使用VPN

本文链接:http://it72.com/12869.htm

推荐阅读
最新回复 (0)
返回