daniel-j-h / libosrmc

Pure C bindings for libosrm
MIT License
18 stars 8 forks source link

libosrmc

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.

Quick Start
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.

Todo
License

Copyright © 2016 Daniel J. Hofmann

Distributed under the MIT License (MIT).