ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

@AM97 You are currently using the version of CUDA that is provided by Ubuntu. On Ubuntu 18.04, you MUST install version 10.0 directly from Nvidia. To make sure that you do not have the version from Ubuntu, do the following:

sudo apt purge nvidia-cuda*
sudo apt autoremove

Then, to install 10.0, carefully follow the instructions at https://docs.nvidia.com/cuda/archive/10.0/cuda-installation-guide-linux/index.html. Do not install the nvidia-cuda-toolkit or nvidia-cuda-dev packages from the Ubuntu repositories - these install CUDA 9.1, which is not compatible with Autoware on Ubuntu 18.04.

@AM97 You are currently using the version of CUDA that is provided by Ubuntu. On Ubuntu 18.04, you MUST install version 10.0 directly from Nvidia. To make sure that you do not have the version from Ubuntu, do the following:

sudo apt purge nvidia-cuda*
sudo apt autoremove

Then, to install 10.0, carefully follow the instructions at https://docs.nvidia.com/cuda/archive/10.0/cuda-installation-guide-linux/index.html. Do not install the nvidia-cuda-toolkit or nvidia-cuda-dev packages from the Ubuntu repositories - these install CUDA 9.1, which is not compatible with Autoware on Ubuntu 18.04.

In addition, on Ubuntu 18.04, you must upgrade the version of Eigen that is provided with Ubuntu by following the instructions at https://gitlab.com/autowarefoundation/autoware.ai/autoware/wikis/Source-Build#additional-system-dependencies-for-cuda-support.

After the above is done, you should be able to build with AUTOWARE_COMPILE_WITH_CUDA=1 to enable CUDA capabilities.

@AM97 You are currently using the version of CUDA that is provided by Ubuntu. On Ubuntu 18.04, you MUST install version 10.0 directly from Nvidia. To make sure that you do not have the version from Ubuntu, do the following:

sudo apt purge nvidia-cuda*
sudo apt autoremove

Then, to install 10.0, carefully follow the instructions at https://docs.nvidia.com/cuda/archive/10.0/cuda-installation-guide-linux/index.html. Do not install the nvidia-cuda-toolkit or nvidia-cuda-dev packages from the Ubuntu repositories - these install CUDA 9.1, which is not compatible with Autoware on Ubuntu 18.04.

In addition, on Ubuntu 18.04, you must upgrade the version of Eigen that is provided with Ubuntu by following the instructions at https://gitlab.com/autowarefoundation/autoware.ai/autoware/wikis/Source-Build#additional-system-dependencies-for-cuda-support.

After the above is done, you should be able to build with AUTOWARE_COMPILE_WITH_CUDA=1 to enable CUDA capabilities.