File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,12 +5,48 @@ Starting from here:
55https://learn.microsoft.com/en-us/vcpkg/get_started/get-started-vscode?source=recommendations&pivots=shell-cmd
66
77
8- bootstrap vcpkg
8+ ### bootstrap vcpkg
99
1010Set the PATH, for me that's:
1111
1212set PATH=%VCPKG_ROOT%;%PATH%
1313set "VCPKG_ROOT=C:\Users\Chris.Barker\Documents\vcpkg"
1414
15+ ## set up install
1516
17+ vcpkg new --application
18+ vcpkg add port pkgconf vcpkg-cmake vcpkg-cmake-config libgd
19+
20+ vcpkg install
21+
22+ #### Failure:
23+ ```
24+ error: building libwebp:x64-windows failed with: BUILD_FAILED
25+ See https://learn.microsoft.com/vcpkg/troubleshoot/build-failures?WT.mc_id=vcpkg_inproduct_cli for more information.
26+ Elapsed time to handle libwebp:x64-windows: 3.5 s
27+ Please ensure you're using the latest port files with `git pull` and `vcpkg update`.
28+ ```
29+
30+
31+ # Notes from:
32+ notes about vcpkg from:
33+
34+ https://github.com/NOAA-ORR-ERD/py_gd/pull/27
35+
36+ ## Install libgd
37+
38+ Clone vcpkg repository in repo folder and start vcpkg.
39+
40+ git clone https://github.com/Microsoft/vcpkg.git
41+
42+ # NOTE: --depth 1 would likely make sense
43+ .\vcpkg\bootstrap-vcpkg.bat
44+
45+ Install libgd. The default location is at vcpkg\installed\x64-windows. It takes
46+ about half of an hour. This will download and prepare all the dependencies (.h
47+ and .lib).
48+
49+ vcpkg install libgd --triplet=x64-windows
50+
51+ this failed for me :-(
1652
You can’t perform that action at this time.
0 commit comments