Skip to content
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

Error in compile from source code #7014

Open
Robson96 opened this issue Aug 7, 2024 · 1 comment
Open

Error in compile from source code #7014

Robson96 opened this issue Aug 7, 2024 · 1 comment

Comments

@Robson96
Copy link

Robson96 commented Aug 7, 2024

Issue

I cloned it and followed all the steps but it gives an error when compiling with this command ( cmake --build . )

Steps to reproduce

git clone https://github.com/Project-OSRM/osrm-backend/
cd osrm-backend
mkdir -p build
cmake .. -DCMAKE_BUILD_TYPE=Release
cmake --build .

gmake[2]: *** [CMakeFiles/UTIL.dir/build.make:160: CMakeFiles/UTIL.dir/src/util/geojson_debug_policies.cpp.o] Erro 1

gmake[1]: *** [CMakeFiles/Makefile2:209: CMakeFiles/UTIL.dir/all] Erro 2

gmake: *** [Makefile:136: all] Erro 2

Specifications

Please provide details of your development environment.

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

Lendo listas de pacotes... Pronto

Construindo árvore de dependências... Pronto

Lendo informação de estado... Pronto

build-essential já é a versão mais recente (12.9ubuntu3).

libbz2-dev já é a versão mais recente (1.0.8-5build1).

pkg-config já é a versão mais recente (0.29.2-1ubuntu3).

libboost-all-dev já é a versão mais recente (1.74.0.3ubuntu7).

liblua5.2-dev já é a versão mais recente (5.2.4-2).

libtbb-dev já é a versão mais recente (2021.5.0-7ubuntu2).

libzip-dev já é a versão mais recente (1.7.3-1ubuntu2).

lua5.2 já é a versão mais recente (5.2.4-2).

cmake já é a versão mais recente (3.22.1-1ubuntu1.22.04.2).

git já é a versão mais recente (1:2.34.1-1ubuntu1.11).

libxml2-dev já é a versão mais recente (2.9.13+dfsg-1ubuntu0.4).

OS: Ubuntu 22.04.4 LTS x86_64
Host: VirtualBox 1.2
Kernel: 6.5.0-45-generic
Shell: bash 5.1.16
GNOME 42.9
CPU: AMD Ryzen 5 7520U with Radeon Graphics (2) @ 2.794GHz
GPU: 00:02.0 VMware SVGA II Adapter
Memory: 476MiB / 1959MiB

@somogyirolandhu
Copy link

Hello,
Make sure to check the appropriate repo after cloning.
Use git checkout v5.27.1 after git clone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants