-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Windows Compilation
Ready to use Release
binaries are available here
Currently Debug
binaries are out of date.
If you plan to run the binaries on a machine without Visual Studio 2015 installed you need the latest Microsoft Visual C++ 2015 Redistributable
(currently Update 2
):
https://www.microsoft.com/en-us/download/details.aspx?id=51682
To start compiling following software needs to be installed:
- Latest
Visual Studio 2015 Update 2
(Community or better) - earlier versions are not supported
- Git for Windows:
- CMake
- https://cmake.org/download/
- Make sure to NOT have 3.5.0. Any older or newer version should be fine.
- 7-Zip
- nodejs 4.x LTS (needed to run tests)
Use a stock command prompt, don't use a VS2015 command prompt.
- Open a stock command prompt
- Change to a folder of your choice
git clone https://github.com/Project-OSRM/osrm-backend.git
cd osrm-backend
build-local.bat
After a few minutes (depending on how powerful your machine is) you should end up with an archive named osrm_Release.zip
that contains everything needed to run OSRM.
As mentioned above:
If you plan to run the binaries on a machine without Visual Studio 2015 installed you need the latest Microsoft Visual C++ 2015 Redistributable
(currently Update 2
):
https://www.microsoft.com/en-us/download/details.aspx?id=51682