Skip to content

Commit 3c693b8

Browse files
committed
[doc] INSTALL: Add instructions to build the Python binding
1 parent 78f1910 commit 3c693b8

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

INSTALL.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,10 @@ AliceVision's required dependencies can be built with it.
6868
Vcpkg evolved from being a Windows-only project to becoming cross-platform.
6969
In the scope of AliceVision, vcpkg has only been tested on Windows.
7070

71-
1. Install vcpkg itself
71+
1. Install vcpkg
7272

7373
See the reference [installation guide](https://github.com/alicevision/vcpkg/blob/alicevision_master/README.md#quick-start-windows) to setup vcpkg.
74-
We recommend to use our vcpkg fork, where dependencies have been validated by the AliceVision development team but it should work with the latest version.
74+
We recommend to use our vcpkg fork, where dependencies have been validated by the AliceVision development team and where some ports may have some custom changes.
7575
```bash
7676
git clone https://github.com/alicevision/vcpkg --branch alicevision_master
7777
cd vcpkg
@@ -107,7 +107,11 @@ vcpkg install ^
107107
pcl ^
108108
clp ^
109109
libe57format ^
110+
vcpkg-tool-swig ^
110111
--triplet x64-windows
112+
113+
%VCPKG_ROOT%/installed/x64-windows/tools/python3/python -m ensurepip --upgrade
114+
%VCPKG_ROOT%/installed/x64-windows/tools/python3/python -m pip install numpy
111115
```
112116

113117
3. Build AliceVision
@@ -257,6 +261,9 @@ CMake Options
257261
* `ALICEVISION_BUILD_COVERAGE` (default `OFF`)
258262
Enable code coverage generation (gcc only)
259263

264+
* `ALICEVISION_BUILD_SWIG_BINDING` (default `OFF`)
265+
Build AliceVision's Python binding with SWIG
266+
260267

261268
Linux compilation
262269
-----------------

0 commit comments

Comments
 (0)