autowarefoundation / autoware

Autoware - the world's leading open-source software project for autonomous driving
https://www.autoware.org/
Apache License 2.0
8.6k stars 2.89k forks source link

colcon build failed! package failed: tensorrt_yolo - parameter packs not expanded with ‘...’ #4226

Closed Kalpit-Vadnerkar closed 3 months ago

Kalpit-Vadnerkar commented 4 months ago

Checklist

Description

Hello team, I am trying to build the awsim-stable branch I get an error that the tensorrt_yolo pakacge has failed. I have even tried to build autoware with the main branch and get the same error, the difference being the package name is tensorrt_yolox.

PC Specs: Hardware Model: Dell Inc. Precision 5820 Tower Memory: 32.0 GiB Processor: Intel® Xeon(R) W-2135 CPU @ 3.70GHz × 12 GPU: NVIDIA Corporation GP104GL [Quadro P5000] Disk capacity: 1.3 TB OS: Ubuntu 22.04.4 LTS OS Type: 64-bit

Output for 'nvcc -V' command:

nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2021 NVIDIA Corporation Built on Thu_Nov_18_09:45:30_PST_2021 Cuda compilation tools, release 11.5, V11.5.119 Build cuda_11.5.r11.5/compiler.30672275_0

Output for nvidia-smi command: Driver Version: 550.54.14 CUDA Version: 12.4

Expected behavior

All the packages should be built as per the documentation - https://autowarefoundation.github.io/autoware-documentation/main/installation/autoware/docker-installation-devel/

Actual behavior

-- stderr: tensorrt_yolo
/usr/include/c++/11/bits/std_function.h:435:145: error: parameter packs not expanded with ‘...’: 435 | function(_Functor&& f) | ^ /usr/include/c++/11/bits/std_function.h:435:145: note: ‘_ArgTypes’ /usr/include/c++/11/bits/std_function.h:530:146: error: parameter packs not expanded with ‘...’: 530 | operator=(_Functor&& f) | ^ /usr/include/c++/11/bits/std_function.h:530:146: note: ‘_ArgTypes’ CMake Error at nms_plugin_generated_nms.cu.o.Release.cmake:280 (message): Error generating file /home/kvadner/Desktop/AWSIM/autoware/build/tensorrt_yolo/CMakeFiles/nms_plugin.dir/lib/src/plugins/./nms_plugin_generated_nms.cu.o

gmake[2]: [CMakeFiles/nms_plugin.dir/build.make:953: CMakeFiles/nms_plugin.dir/lib/src/plugins/nms_plugin_generated_nms.cu.o] Error 1 gmake[1]: [CMakeFiles/Makefile2:198: CMakeFiles/nms_plugin.dir/all] Error 2 gmake: *** [Makefile:146: all] Error 2

Failed <<< tensorrt_yolo [30.7s, exited with code 2]

Steps to reproduce

colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release

Versions

No response

Possible causes

No response

Additional context

No response

idorobotics commented 3 months ago

Please post your question in the Discussions Q&A section and one of the developers will look into it