NVIDIA-AI-IOT / CUDA-PointPillars

A project demonstrating how to use CUDA-PointPillars to deal with cloud points data from lidar.
Apache License 2.0
503 stars 148 forks source link

/usr/bin/ld: cannot find -lnvinfer #47

Open minho8849 opened 2 years ago

minho8849 commented 2 years ago

Hello Thanks for sharing your great work

When I do make -j8, I got some error and I cannot find the solution of it. Can I get some advice to solve this problem?

Thanks a lot in advance.

~/CUDA-PointPillars/build$ make -j8 [ 11%] Linking CXX executable demo

/usr/bin/ld: cannot find -lnvinfer /usr/bin/ld: cannot find -lnvonnxparser collect2: error: ld returned 1 exit status CMakeFiles/demo.dir/build.make:953: recipe for target 'demo' failed make[2]: [demo] Error 1 CMakeFiles/Makefile2:94: recipe for target 'CMakeFiles/demo.dir/all' failed make[1]: [CMakeFiles/demo.dir/all] Error 2 Makefile:102: recipe for target 'all' failed make: *** [all] Error 2

wuwenxuan0226 commented 2 years ago

In cmakelist, you should change the trt lib and include path