Thanks for your quick reply. We check one of our PX2 board, and found that board has TRT220.127.116.11(/usr/include/aarch64-linux-gnu/NvInfer.h). You are right.
But we find the information as follows:
#define NV_TENSORRT_MAJOR 4 //!< TensorRT major version.
#define NV_TENSORRT_MINOR 0 //!< TensorRT minor version.
#define NV_TENSORRT_PATCH 0 //!< TensorRT patch version.
#define NV_TENSORRT_BUILD 8 //!< TensorRT build number.
#define NV_TENSORRT_SONAME_MAJOR 4 //!< Shared object library major version number.
#define NV_TENSORRT_SONAME_MINOR 1 //!< Shared object library minor version number.
#define NV_TENSORRT_SONAME_PATCH 1 //!< Shared object library patch version number.
The following versions I will mention is all about TRT Shared object library major version.
The Shared object library major version number is 4.1.1, but what we need is 4.1.0. And what makes the difference is the Shared object library. We tried Shared object library 4.1.1(PX2), we can not get a good result. Also we tried 4.1.2(X86) and 4.0.4(X86), we can not get a good result. By now we have tried some different versions of TRT Shared object library. And we get good result only on 4.1.0 and 5.X.
So TRT 18.104.22.168 is not the suitble version for us. Could you please give me TRT22.214.171.124 which has Shared object library version 4.1.0.
Thanks very much.