autoware_ai_perception icon indicating copy to clipboard operation
autoware_ai_perception copied to clipboard

Unknown CMake command "AW_CHECK_CUDA".

Open Dysonsun opened this issue 3 years ago • 1 comments

ase Starting >>> lidar_point_pillars --- stderr: lidar_point_pillars
CMake Error at CMakeLists.txt:9 (AW_CHECK_CUDA): Unknown CMake command "AW_CHECK_CUDA".


Failed <<< lidar_point_pillars [0.13s, exited with code 1]

Summary: 0 packages finished [0.45s] 1 package failed: lidar_point_pillars 1 package had stderr output: lidar_point_pillars

Dysonsun avatar Oct 26 '21 14:10 Dysonsun

Hi Dysonsun,

It seems like that you do not have the Autoware Build Flags package inside your workspace. The cmake macro AW_CHECK_CUDA is defined there: https://github.com/Autoware-AI/common/blob/master/autoware_build_flags/cmake/autoware_build_flags-extras.cmake So make sure to add this package (and all required packages from the repos in build_depends.repos) to your workspace.

repa1030 avatar Nov 22 '21 13:11 repa1030