colcon build failed due to tensorrt lib location? #3613
egkim-kitech
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I recently tried to compile autoware universe.
Followed every single guide with source installation in the website.
OS : ubuntu 22.04 (WSL2)
it seems like tensorrt and cuda, cudann were installed via :
$ ./setup-dev-env.sh <-- get ok about 60 and 1 skipped
after,
$ colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release
I get the result like:
--- stderr: lidar_centerpoint
In file included from /home/ark/autoware/src/universe/autoware.universe/perception/lidar_centerpoint/include/lidar_centerpoint/network/network_trt.hpp:19,
from /home/ark/autoware/src/universe/autoware.universe/perception/lidar_centerpoint/lib/network/network_trt.cpp:15:
/home/ark/autoware/src/universe/autoware.universe/perception/lidar_centerpoint/include/lidar_centerpoint/network/tensorrt_wrapper.hpp:19:10: fatal error: tensorrt_common/tensorrt_common.hpp: No such file or directory
19 | #include <tensorrt_common/tensorrt_common.hpp>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
gmake[2]: *** [CMakeFiles/centerpoint_lib.dir/build.make:132: CMakeFiles/centerpoint_lib.dir/lib/network/network_trt.cpp.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
In file included from /home/ark/autoware/src/universe/autoware.universe/perception/lidar_centerpoint/lib/network/tensorrt_wrapper.cpp:15:
/home/ark/autoware/src/universe/autoware.universe/perception/lidar_centerpoint/include/lidar_centerpoint/network/tensorrt_wrapper.hpp:19:10: fatal error: tensorrt_common/tensorrt_common.hpp: No such file or directory
19 | #include <tensorrt_common/tensorrt_common.hpp>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
gmake[2]: *** [CMakeFiles/centerpoint_lib.dir/build.make:146: CMakeFiles/centerpoint_lib.dir/lib/network/tensorrt_wrapper.cpp.o] Error 1
In file included from /home/ark/autoware/src/universe/autoware.universe/perception/lidar_centerpoint/include/lidar_centerpoint/network/network_trt.hpp:19,
from /home/ark/autoware/src/universe/autoware.universe/perception/lidar_centerpoint/include/lidar_centerpoint/centerpoint_trt.hpp:19,
from /home/ark/autoware/src/universe/autoware.universe/perception/lidar_centerpoint/lib/centerpoint_trt.cpp:15:
/home/ark/autoware/src/universe/autoware.universe/perception/lidar_centerpoint/include/lidar_centerpoint/network/tensorrt_wrapper.hpp:19:10: fatal error: tensorrt_common/tensorrt_common.hpp: No such file or directory
19 | #include <tensorrt_common/tensorrt_common.hpp>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
gmake[2]: *** [CMakeFiles/centerpoint_lib.dir/build.make:76: CMakeFiles/centerpoint_lib.dir/lib/centerpoint_trt.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:147: CMakeFiles/centerpoint_lib.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2
Failed <<< lidar_centerpoint [35.1s, exited with code 2]
Aborted <<< yabloc_pose_initializer [1min 45s]
Aborted <<< obstacle_avoidance_planner [2min 32s]
Aborted <<< euclidean_cluster [2min 37s]
Aborted <<< pid_longitudinal_controller [2min 43s]
Aborted <<< pure_pursuit [3min 1s]
Aborted <<< simple_planning_simulator [3min 6s]
Aborted <<< behavior_path_planner [3min 24s]
Aborted <<< mpc_lateral_controller [3min 29s]
Aborted <<< motion_velocity_smoother [3min 25s]
Aborted <<< yabloc_particle_filter [3min 26s]
Aborted <<< yabloc_image_processing [3min 26s]
Summary: 123 packages finished [3min 48s]
1 package failed: lidar_centerpoint
11 packages aborted: behavior_path_planner euclidean_cluster motion_velocity_smoother mpc_lateral_controller obstacle_avoidance_planner pid_longitudinal_controller pure_pursuit simple_planning_simulator yabloc_image_processing yabloc_particle_filter yabloc_pose_initializer
6 packages had stderr output: lidar_centerpoint motion_velocity_smoother mpc_lateral_controller yabloc_image_processing yabloc_particle_filter yabloc_pose_initializer
147 packages not processed
In the .bashrc script :
Created by
pipx
on 2023-06-27 10:09:24export PATH="$PATH:/home/ark/.local/bin"
export RMW_IMPLEMENTATION=rmw_cyclonedds_cpp
export PATH="/usr/local/cuda/bin:$PATH"
export LD_LIBRARY_PATH="/usr/local/cuda/lib64:$LD_LIBRARY_PATH"
any clue?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions