Skip to content

Commit a48374e

Browse files
authored
Update vcpkg instructions (#1272)
[A community user raised that the `vcpkg` instructions no longer work](https://hazelcastcommunity.slack.com/archives/C015Q2TUBKL/p1743010446548399). Specifically, `vcpkg` delisted Hazelcast when upgrading to Boost `1.87` - microsoft/vcpkg#42678. As such an version of `vcpkg` must be used that _does_ contain Hazelcast. Tested locally on a fresh environment via Docker: ``` docker run --interactive --tty --rm --platform linux/amd64 ubuntu:latest bash -c "apt-get -y update && apt-get install -y curl git build-essential zip unzip tar pkg-config && git clone https://github.com/microsoft/vcpkg --branch 2025.02.14 && ./vcpkg/bootstrap-vcpkg.sh && ./vcpkg/vcpkg install hazelcast-cpp-client[openssl] --recurse" ``` > Successfully downloaded hazelcast-hazelcast-cpp-client-v5.3.0.tar.gz This is a _workaround_ until the client can be relisted.
1 parent 0659beb commit a48374e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -75,15 +75,15 @@ Please see [getting started](https://github.com/microsoft/vcpkg#getting-started)
7575
If you use Linux or Mac:
7676

7777
```sh
78-
git clone https://github.com/microsoft/vcpkg
78+
git clone https://github.com/microsoft/vcpkg --branch 2025.02.14
7979
./vcpkg/bootstrap-vcpkg.sh
8080
./vcpkg/vcpkg install "hazelcast-cpp-client[openssl]" --recurse
8181
```
8282

8383
If you use Windows:
8484

8585
```bat
86-
git clone https://github.com/microsoft/vcpkg
86+
git clone https://github.com/microsoft/vcpkg --branch 2025.02.14
8787
.\vcpkg\bootstrap-vcpkg.bat
8888
.\vcpkg\vcpkg install "hazelcast-cpp-client[openssl]:x64-windows" --recurse
8989
```

Reference_Manual.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -192,15 +192,15 @@ Please see [getting started](https://github.com/microsoft/vcpkg#getting-started)
192192
If you use Linux or Mac:
193193

194194
```sh
195-
git clone https://github.com/microsoft/vcpkg
195+
git clone https://github.com/microsoft/vcpkg --branch 2025.02.14
196196
./vcpkg/bootstrap-vcpkg.sh
197197
./vcpkg/vcpkg install "hazelcast-cpp-client[openssl]" --recurse
198198
```
199199

200200
If you use Windows:
201201

202202
```bat
203-
git clone https://github.com/microsoft/vcpkg
203+
git clone https://github.com/microsoft/vcpkg --branch 2025.02.14
204204
.\vcpkg\bootstrap-vcpkg.bat
205205
.\vcpkg\vcpkg install "hazelcast-cpp-client[openssl]:x64-windows" --recurse
206206
```

0 commit comments

Comments
 (0)