Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 807 Bytes

INSTALL.md

File metadata and controls

25 lines (20 loc) · 807 Bytes

Install

Requirements

Windows

Assuming AliceVision was built in C:\dev using vcpkg and PyBind11 was installed with pip, use the following command to generate the solution file:

cd PyAliceVision
mkdir build && cd build
cmake .. ^
-G "Visual Studio 17 2022" ^
-A x64 ^
-T host=x64 ^
-Dpybind11_DIR=C:\Users\{username}\AppData\Local\Programs\Python\Python311\Lib\site-packages\pybind11\share\cmake\pybind11 ^
-DAliceVision_DIR=C:\dev\AliceVision\build\src\generated ^
-DCMAKE_TOOLCHAIN_FILE=C:\dev\vcpkg\scripts\buildsystems\vcpkg.cmake ^
-DVCPKG_TARGET_TRIPLET=x64-windows

Then open the solution file in Visual Studio, set the build mode to Release and start the build.