We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
git clone https://github.com/Microsoft/vcpkg.git cd vcpkg bootstrap-vcpkg.bat vcpkg integrate install
You have to install all boost libraries otherwise you get compilation errors at the end missing header files.
boost
missing header files
vcpkg install lua:x64-windows vcpkg install tbb:x64-windows vcpkg install bzip2:x64-windows vcpkg install libzip:x64-windows vcpkg install boost:x64-windows
cd .. git clone https://github.com/Project-OSRM/osrm-backend.git cd osrm-backend
mkdir build cd build cmake .. -DCMAKE_TOOLCHAIN_FILE=../../vcpkg/scripts/buildsystems/vcpkg.cmake ^ -G "Visual Studio 17 2022" -A x64 ^ -DENABLE_CCACHE=OFF
If cmake reports some issue regarding libosrm.pc you have to comment out in CMakeLists.txt this lines and restart cmake build again...
libosrm.pc
CMakeLists.txt
file(GENERATE OUTPUT ${PROJECT_BINARY_DIR}/libosrm.pc INPUT ${PROJECT_BINARY_DIR}/pkgconfig.configured)
cmake --build . --config Release
cd Release osrm-extract.exe germany-latest.osm.pbf -p ../../profiles/car.lua osrm-partition.exe germany-latest.osrm osrm-customize.exe germany-latest.osrm osrm-routed.exe --algorithm mld germany-latest.osrm
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Prerequesits
Install vcpkg
Install vcpkg libraries
You have to install all
boost
libraries otherwise you get compilation errors at the endmissing header files
.Get osrm backend
Create build and configure cmake
If cmake reports some issue regarding
libosrm.pc
you have to comment out inCMakeLists.txt
this lines and restart cmake build again...Compile osrm
Run osrm
The text was updated successfully, but these errors were encountered: