The header file of tensorrt package was not found during translation
Solution:
Add the path to the Tensorrt package in CMakeList.txt
Find the location of the package and get the location of trt
locate NvInferRuntimeCommon.h
Then add the path to the Tensorrt package in CMakeList.txt, here I added the absolute path
include_directories("/home/b502/tensorrt/TensorRT-7.2.1.6/include")