BugAutoware - AD-EYE/AD-EYE_Core GitHub Wiki

Bug report following the installation of Autoware :

Every dependency correctly installed (cf wiki) and the following software:

  • Ros Kinetic

  • Ubuntu 16,04

  • CUDA 10.1

  • QT 5.5.1

Bugs encountered

During the installation of Autoware (w/ the repo AD-EYE_Core on git), 5 bugs were encountered :

  • **The imported target “vtkRenderingPythonTkwidgets” references the file “/usr/lib/x86_64-linux-gnu/lib vtkRenderingPythonTkwidgets.so “ but the file does not exist.

Possible reasons : etc etc

Fixed

By installing the right package (being libvtk6-dev check this website https://packages.ubuntu.com/search?suite=trusty&arch=any&mode=exactfilename&searchon=contents&keywords=libvtkRenderingPythonTkWidgets.so to see which package you should install depending on the path written in the error) AND if this doesnt work by creating a Symlink of this package with the command :

sudo ln -s /usr/lib/python2.7/dist-packages/vtk/libvtkRenderingPythonTkWidgets.x86_64-linux-gnu.so /usr/lib/x86_64-linux-gnu/libvtkRenderingPythonTkWidgets.so


  • The imported target “vtk” references the file “/usr/bin/vtk “ but the file does not exist.

    Possible reasons : etc etc

Fixed

w/ sudo update-alternatives --install /usr/bin/vtk vtk /usr/bin/vtk6 10


  • CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5Gui/Qt5GuiConfig.cmake:27 (message):

    The imported target "Qt5::Gui" references the file

    "/usr/lib/x86_64-linux-gnu/libEGL.so"

    but this file does not exist. Possible reasons include:

    - The file was deleted, renamed, or moved to another location.

    - An install or uninstall procedure did not complete successfully.

    - The installation package was faulty and contained...

But in facts this file exists. And I had the same problem with libGL (instead of libEGL) just after that.

Fix :

To solve it, make symlinks as follow :

run the following commands :

For libEGL:

ls /usr/lib/x86_64-linux-gnu | grep -i libegl --> find the file name to do the symlink

In my case:

sudo rm /usr/lib/x86_64-linux-gnu/libEGL.so

sudo ln -s /usr/lib/x86_64-linux-gnu/libEGL.so.1.1.0 /usr/lib/x86_64-linux-gnu/libEGL.so

For libGL:

ls /usr/lib/x86_64-linux-gnu | grep -i libgl --> find the file name to do the symlink

In my case:

sudo rm /usr/lib/x86_64-linux-gnu/libGL.so

sudo ln -s /usr/lib/x86_64-linux-gnu/libEGL.so.1.1.0 /usr/lib/x86_64-linux-gnu/libGL.so


  • /usr/include/pcl-1.7/pcl/point_cloud.h:586:100 : error: template-id ‘getMapping’ used as a declarator friend boost::shared_ptr& detail::getMaping(pcl::PointCloud &p);

    usr/include/pcl-1.7/pcl/point_cloud.h:586: 100 : error: ‘GetMapping’ is neither fucntion nor member function; cannot be declared friend cciplus: error: expected ‘;’at the end of member declaration

    usr/include/pcl-1.7/pcl/point_cloud.h:586: 111: error: expected ‘)’before ‘&’ token

This error seems to be linked with the following error :

  • Cmake error at ndt_gpu_generated_Registration.cu.o.cmake:266 (message):

    Error generating file /home/adeye/AD-EYE_Core/Autoware_Private_Fork/ros/build/computing/perception/localization/lib/ndt_gpu/CmakeFiles/ndt_gpu.dir/src/./ndt_gpu_generated _Registration.cu.o computing/perception/localization/lib/ndt_gpu/CmakeFiles/ndt_gpu.dir/build.make:84 : recipe for target ‘computing/perception/localization/lib/ndt_gpu/CmakeFiles/ndt_gpu.dir/src/./ndt_gpu_generated

    _Registration.cu.o’ failed

    make[2]: ***

    [omputing/perception/localization/lib/ndt_gpu/CmakeFiles/ndt_gpu.dir/src/./ndt_gpu_generated

    _Registration.cu.o] error 1

    make[2]: ***

    Waiting for unfinished jobs...

Those 2 errors crashed the installation at ~70% w/ the following fatal error : make -j32 -i32 failed The Cmake error log mentionned a pthread_create undefined All of those errors pointed to files related (in part) to CUDA, and some research on the internet confirmed that CUDA 10.1 wasn’t a good fit with Autoware. A downgrade to CUDA 10.0 fixed those 2 errors and the installation of Autoware was completed without any pb. CCL : CUDA Version should be : Adapted to the GPU and be below 10.1 for this particular version of Autoware

⚠️ **GitHub.com Fallback** ⚠️