HaohaoNJU / CenterPoint

TensorRT deployment for CenterPoint Lidar Detection Model.
MIT License
270 stars 56 forks source link

libpointpillars.so: undefined reference to `createNvOnnxParser_INTERNAL' #2

Closed hufangjian closed 2 years ago

hufangjian commented 2 years ago

I run make ,get this error!

HaohaoNJU commented 2 years ago

The issue might be related to TRT version, which version are you using?

YoushaaMurhij commented 2 years ago

I have the same error! I used the version that you mentioned in the Readme. vTensorRT : 8.0.1.6

HaohaoNJU commented 2 years ago

Hi, I cloned this repo and reimplemented again and found no error, I think this issue might be related to nvonnxparser.so, make sure you can link to this lib successfully .

hufangjian commented 2 years ago

I solve it

target_link_libraries(centerpoint ${PCL_LIBRARIES} ${Boost_LIBRARIES} ${CUDA_LIBRARY} ${CUDA_RUNTIME_LIBRARY} pointpillars pointpillarsCU nvonnxparser nvinfer ${CUDA_LIB_PATH}libcudart.so )

HaohaoNJU commented 2 years ago

Great !