cartographer-project/cartographer

Investigate and fix issues compiling Cartographer with gRPC support.

Open

#1.894 geöffnet am 16. Juli 2022

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (1 zugewiesene Person)C++ (2.188 Forks)batch import
bughelp wanted

Repository-Metriken

Stars
 (6.665 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

TL;DR: Best approach could be to target Ubuntu 22.04, install the deb package libgrpc++-dev and fix further build issues.

Right now Dockerfile.bionic.grpc fails when running cartographer/scripts/install_grpc.sh with output like this:

make
/bin/sh: 0: Illegal option -t
/bin/sh: 0: Illegal option -t
/bin/sh: 0: Illegal option -t
/bin/sh: 0: Illegal option -g
/bin/sh: 0: Illegal option -g

Using newer versions of Ubuntu or gRPC produces the same issue it seems. But since Ubuntu 22.04 ships with a package for gRPC, we might be able to use this instead, with no need to look into build issues of gRPC.

Using this approach still does not unbreak the full Cartographer build, but now fails building async_grpc which is part of Cartographer and has linker errors for its tests, but these issues seem unrelated to gRPC.

Contributor Guide