-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
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
Having build issues when trying to build from source #7015
Comments
Confirm this happens on a plain Ubuntu 22.04 setup when following "building from source" instructions which claim to target Ubuntu 22.04. If this is no longer true and a different distribution, or a different version of Ubuntu, is now suggested for a clean build, it would be great if the instructions could be modified accordingly. |
On Ubuntu 24.04, the particular error mentioned above does not occur, but compilation aborts at a later time complaining about out-of-bounds array subscripts. Commenting out the warnings from CMakeLists.txt as described in #6704 (note line numbers are +2 now) then allows building under 24.04. |
Hello, |
yes version v5.27.1 build works fine, i had the similar issue with current master branch on Ubuntu 22.04. |
Issue
I am following the following steps to build the OSRM backend from source on my local system:
sudo apt install build-essential git cmake pkg-config
libbz2-dev libxml2-dev libzip-dev libboost-all-dev
lua5.2 liblua5.2-dev libtbb-dev
then,
mkdir -p build
cd build
cmake ..
cmake --build .
sudo cmake --build . --target install
as I run the command cmake --build . I run into the following error. Bare in mind the error is few thousand lines but this is a small snapshot of it
This is being run on WSL and all the C++ versions and everything is fine apparently.
I would really appreciate if someone will be able to help me out with this. Cheers!
The text was updated successfully, but these errors were encountered: