docs/windows-deps.md
There is experimental support for building OSRM on Windows.
You will need a modern Windows development stack (e.g. Visual Studio 17). The published binaries are built with Windows Server 2025 Github hosted runners.
Dependencies are managed via vcpkg in manifest mode
(see vcpkg.json at the repo root). The baseline commit is pinned in
vcpkg-configuration.json.
git clone https://github.com/microsoft/vcpkg.git C:\vcpkg
C:\vcpkg\bootstrap-vcpkg.bat
set VCPKG_ROOT=C:\vcpkg
From a x64 Native Tools Command Prompt for VS 2022 at the repo root:
cmake --preset ci-windows -DENABLE_NODE_BINDINGS=ON
cmake --build --preset ci-windows
The first configure will build every dependency from source, which takes a while. Subsequent configures reuse vcpkg's binary cache.