FAQ Installing carmen_lcad [English] - LCAD-UFES/carmen_lcad GitHub Wiki

Common Problems and Solutions in Installing carmen_lcad

_ Frequent errors/program version issues should update the main installation tutorial. _

Installation on Ubuntu 16.04

Installation on Ubuntu 18.04

Compilation Errors in Modules Using the Bullet Library or LinearMath.h

First, check if the Bullet library was compiled correctly.

sudo apt-get update sudo apt-get install libbullet-dev

https://github.com/LCAD-UFES/carmen_lcad/wiki/Installing-Carmen-LCAD-on-Ubuntu-18.04-(English)#instalar-bullet-fann-e-kvaser-sdk-

After installing, try compiling again.

Some modules using Bullet, such as neural_object_detector3 or velodyne_camera_calibration, showed compilation errors due to missing links with some .h files from Bullet. This was resolved by adding the following paths to the IFLAGS in the makefile:

-I/usr/local/include/bullet/ 
-I/usr/include/bullet/

Errors Installing FlyCapture


  • Error (Example):
dpkg: error processing linux-server (--configure):
dependency problems - leaving unconfigured

Note: The problem is not with FlyCapture but with dpkg.

  • Proposed Solution:
dpkg --configure -a
apt-get update

Optional:

 find /var/lib/apt/lists -type f  |xargs rm -f >/dev/null \

Continuing:

dpkg --remove linux-server
apt-get install -f
apt-get install linux-server

Source: Ask Ubuntu: How can I resolve dpkg dependency problems

Errors Installing Caffe-enet


  • Command:
cmake -DBLAS=open -DCUDA_ARCH_NAME=Manual -DCUDA_ARCH_BIN="30" -DCUDA_ARCH_PTX="" ..
  • Command Output:
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
CUDA_cublas_device_LIBRARY (ADVANCED)
linked by target "caffe" in directory ~/carmen_lcad/sharedlib/ENet/caffe-enet/src/caffe
  • Proposed Solution:

The problem discussed in the thread is not with Caffe itself, but the error output is the same.

The proposed solution is to update the cmake version to 3.12.2 (the default was 3.10).

Steps:

When running the purge command, carefully check what it will remove. It often takes dependencies along with it.

sudo apt remove --purge --auto-remove cmake

wget http://www.cmake.org/files/v3.12/cmake-3.12.2.tar.gz
tar -xvzf cmake-3.12.2.tar.gz
cd cmake-3.12.2/
./bootstrap
make -j$(nproc)
sudo make install

Source: GitHub: Solution for CMake Error