$ mkdir build
$ cd build
$ cmake ..
$ make
The executable will be in the "dist" directory.
You'll need an osm file, e. g:
$ wget http://reccos.inf.unideb.hu/~norbi/res/debrecen.osm
From the "dist" directory:
$ osm-routing-bgl path/to/osm/file start_lan start_lon target_lat target_lon
For the server wrapper script you need Python and Flask.
The script handles input coordinates from a single URL
(/start_lan-start_lon-target_lan-target_lon
), and returns node coordinates
in JSON format.