Livox-SDK / LIO-Livox

A Robust LiDAR-Inertial Odometry for Livox LiDAR
BSD 3-Clause "New" or "Revised" License
644 stars 166 forks source link

Build error #75

Closed yueyihua closed 6 months ago

yueyihua commented 6 months ago

[ 98%] Built target ScanRegistration [100%] Linking CXX executable /home/xyz/ros_livox/devel/lib/lio_livox/PoseEstimation /usr/bin/ld: cannot find -lCUDA::cublas /usr/bin/ld: cannot find -lCUDA::cudart /usr/bin/ld: cannot find -lCUDA::cusolver /usr/bin/ld: cannot find -lCUDA::cusparse collect2: error: ld returned 1 exit status make[2]: [LIO-Livox/CMakeFiles/PoseEstimation.dir/build.make:463: /home/xyz/ros_livox/devel/lib/lio_livox/PoseEstimation] Error 1 make[1]: [CMakeFiles/Makefile2:3381: LIO-Livox/CMakeFiles/PoseEstimation.dir/all] Error 2 make: *** [Makefile:141: all] Error 2

yueyihua commented 6 months ago

Build ceres-solver shared library can resolve this problem.