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

Compile Issues on Ubuntu 20.04 #5797

Closed
woodpeck opened this issue Aug 8, 2020 · 1 comment
Closed

Compile Issues on Ubuntu 20.04 #5797

woodpeck opened this issue Aug 8, 2020 · 1 comment

Comments

@woodpeck
Copy link
Contributor

woodpeck commented Aug 8, 2020

Trying to compile v5.22 on Ubuntu 20.04 (gcc 9.3.0) I ran into two problems:

error: redundant move in return statement [-Werror=redundant-move]

fixed by adding these compiler flags to cmake:

cmake .. -DCMAKE_CXX_FLAGS="-Wno-pessimizing-move -Wno-redundant-move"

and

error: call of overloaded ‘is_regular_file(<brace-enclosed initializer list>)’ is ambiguous

fixed by applying this patch I found over at ArchLinux:

https://aur.archlinux.org/cgit/aur.git/tree/fix-boost-fs.patch?h=osrm-backend

Just in case someone else stumbles across the same!

@akashihi
Copy link
Contributor

akashihi commented Aug 9, 2020

IIRC it is fixed in master with 018a9bc

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