C wrapper around the C++ libosrm library. Useful for writing FFI bindings and guaranteeing ABI stability.
Note: tested against stable OSRM 5.4 release; if more recent releases break this library please open a ticket and let me know.
cd libosrmc
make
sudo make install
sudo ldconfig
This compiles the libosrmc.so
shared object and installs it into /usr/local
(you may have to export LD_LIBRARY_PATH="/usr/local/lib"
) or install to /usr/lib
.
The library's interface osrmc.h
gets installed into /usr/local/include/osrmc/osrmc.h
.
You can modify defaults via config.mk
.
Please refer to osrmc/osrmc.h
for library documentation.
- Remaining Services
- Callbacks for Responses
- Use from Language FFIs
- Make Python Integration Exception-Safe
Copyright © 2016 Daniel J. Hofmann
Distributed under the MIT License (MIT).