Need help finding my TensorRT 8.5.2 Library locations

I’m building a TensorRT plugin which I have done successfully in the past, however I don’t know where the include and lib are I need for the compile. In the past I would find them in /usr/local directory however they are not present. I ran a check to see to make sure that TensorRT is installed on the system and it is.
hatch@voyager:~$ dpkg -l | grep TensorRT
ii libnvinfer-bin 8.5.2-1+cuda11.8 amd64 TensorRT binaries
ii libnvinfer-dev 8.5.2-1+cuda11.8 amd64 TensorRT development libraries and headers
ii libnvinfer-plugin-dev 8.5.2-1+cuda11.8 amd64 TensorRT plugin libraries
ii libnvinfer-plugin8 8.5.2-1+cuda11.8 amd64 TensorRT plugin libraries
ii libnvinfer-samples 8.5.2-1+cuda11.8 all TensorRT samples
ii libnvinfer8 8.5.2-1+cuda11.8 amd64 TensorRT runtime libraries
ii libnvonnxparsers-dev 8.5.2-1+cuda11.8 amd64 TensorRT ONNX libraries
ii libnvonnxparsers8 8.5.2-1+cuda11.8 amd64 TensorRT ONNX libraries
ii libnvparsers-dev 8.5.2-1+cuda11.8 amd64 TensorRT parsers libraries
ii libnvparsers8 8.5.2-1+cuda11.8 amd64 TensorRT parsers libraries
ii python3-libnvinfer 8.5.2-1+cuda11.8 amd64 Python 3 bindings for TensorRT
ii python3-libnvinfer-dev 8.5.2-1+cuda11.8 amd64 Python 3 development package for TensorRT
ii tensorrt 8.5.2.2-1+cuda11.8 amd64 Meta package for TensorRT
ii tensorrt-dev 8.5.2.2-1+cuda11.8 amd64 Meta package for TensorRT development libraries
ii tensorrt-libs 8.5.2.2-1+cuda11.8 amd64 Meta package for TensorRT runtime libraries

Any thoughts on where I might find the includes and lib for TensorRT on this x86 system.

I’m running on NVIDIA RTX A6000 server and what I found is that the TensorRT libraries and headers are in:

TENSORRT_INCS=-I"/usr/include/x86_64-linux-gnu"
TENSORRT_LIBS=-L"/usr/lib/x86_64-linux-gnu"

I followed the instructions from NVIDIA on debian installation.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.