Cmake unable to detect tensorrt libraries on Drive AGX Orin

Please provide the following info (tick the boxes after creating this topic):
Software Version
[*] DRIVE OS 6.0.8.1
DRIVE OS 6.0.6
DRIVE OS 6.0.5
DRIVE OS 6.0.4 (rev. 1)
DRIVE OS 6.0.4 SDK
other

Target Operating System
[*] Linux
QNX
other

Hardware Platform
[*] DRIVE AGX Orin Developer Kit (940-63710-0010-300)
DRIVE AGX Orin Developer Kit (940-63710-0010-200)
DRIVE AGX Orin Developer Kit (940-63710-0010-100)
DRIVE AGX Orin Developer Kit (940-63710-0010-D00)
DRIVE AGX Orin Developer Kit (940-63710-0010-C00)
DRIVE AGX Orin Developer Kit (not sure its number)
other

SDK Manager Version
1.9.3.10904
[*] other

Host Machine Version
native Ubuntu Linux 20.04 Host installed with SDK Manager
[*] native Ubuntu Linux 20.04 Host installed with DRIVE OS Docker Containers
native Ubuntu Linux 18.04 Host installed with DRIVE OS Docker Containers
other

We have cmake-3.28.3 and opencv-4.5.0. While trying to build the files and setting the tensorRT_dir to /usr/src/tensorrt, it returns with an error stating tensorrt libraries not found

We also tried to query if tensorrt is installed but found NO packages

We understand that tensorrt is pre-installed with DRIVE OS 6.0.8.1 as seen here

We have attached the combined screenshots:

Could you help us resolve this issue?

Dear @sovik.ghosh,
Could you check setting the TRT lib and include path as well as shown in the error?

Thank you for replying. Could you please elaborate on the process?

Also we are trying to find NvInfer.h in the drive but its not present. We checked under the /usr/include/arch64-linux-gnu and could not find it there either.

Dear @sovik.ghosh,
Target does not have header files. Please copy the header files from docker(you can check /usr/include/aarch64-linux-gnu inside docker)
And check setting the TensorRT_INCLUDE_DIRS, TensorRT_LIBRARIES variables.

Will try and let you know further.

Dear @sovik.ghosh,
There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.
Thanks

Could you provide any update? Does the topic still need support?

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