What RT_LIB/lib in tensorrt github's CMakeLIsts.txt

I build tensorrt from source, and following error happens,

– Up-to-date: /home/hitbuyi/Downloads/tmp/TensorRT-
[ 1%] Completed ‘third_party.protobuf’
[ 2%] Built target third_party.protobuf
[ 33%] Built target nvinfer_plugin_static
make[2]: *** No rule to make target ‘RT_LIBPATH/lib’, needed by ‘out/libnvinfer_plugin.so.8.0.1’. Stop.
make[1]: *** [CMakeFiles/Makefile2:1019: plugin/CMakeFiles/nvinfer_plugin.dir/all] Error 2
make: *** [Makefile:152: all] Error 2

What’s RT_LIBPATH/lib?

Please refer to below links related custom plugin implementation and sample:

While IPluginV2 and IPluginV2Ext interfaces are still supported for backward compatibility with TensorRT 5.1 and 6.0.x respectively, however, we recommend that you write new plugins or refactor existing ones to target the IPluginV2DynamicExt or IPluginV2IOExt interfaces instead.


problem still exists.


We recommend you to please reach out to Issues · NVIDIA/TensorRT · GitHub for TensorRT OSS related issues.

Thank you.