-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make error #35
Comments
home/right/third-party/tensorRT_Pro-YOLOv8/src/tensorRT/onnx_parser/ModelImporter.cpp:398: undefined reference to Here is new error. How to solve it? |
@RightTr This may be due to the protobuf library version, the repo depends on the specific protobuf version 3.11.4, if you are using a different version of protobuf you need to use the protoc tool to generate onnx-ml.pb.cpp and other files. You can refer to the original repo tensorRT_Pro for details |
/home/right/third-party/tensorRT_Pro-YOLOv8/src/tensorRT/infer/trt_infer.cpp:7:10: fatal error: NvCaffeParser.h: No such file or directory
#include <NvCaffeParser.h>
^~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/pro.dir/build.make:713: CMakeFiles/pro.dir/src/tensorRT/infer/trt_infer.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/home/right/third-party/tensorRT_Pro-YOLOv8/src/tensorRT/builder/trt_builder.cpp: In function ‘const char* TRT::padding_mode_name(nvinfer1::PaddingMode)’:
/home/right/third-party/tensorRT_Pro-YOLOv8/src/tensorRT/builder/trt_builder.cpp:77:32: error: ‘kCAFFE_ROUND_DOWN’ is not a member of ‘nvinfer1::PaddingMode’
case nvinfer1::PaddingMode::kCAFFE_ROUND_DOWN: return "caffe round down";
^~~~~~~~~~~~~~~~~
compilation terminated due to -Wfatal-errors.
make[2]: *** [CMakeFiles/pro.dir/build.make:635: CMakeFiles/pro.dir/src/tensorRT/builder/trt_builder.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:444: CMakeFiles/pro.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
The text was updated successfully, but these errors were encountered: