Skip to content

Windows Compilation

bergwerkgis edited this page May 2, 2016 · 22 revisions

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:

  1. Latest Visual Studio 2015 (Community or better) - earlier versions are not supported
  1. Git for Windows:
  1. CMake
  1. 7-Zip

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

Clone this wiki locally