Skip to content

which version of TensorRT support? #3

Open
@KDD2018

Description

@KDD2018

I'm appreciated for the great work. well, I have a problem, when I run the command 'cmake --build . --config Release'.

TensorRT 10.0.1.6
Opencv 4.11.0

/home/ai-admin/ai-proj/YOLOv12-TensorRT-CPP/main.cpp:57:20: error: redeclaration of ‘std::vector<std::__cxx11::basic_string > imagePathList’
57 | vector imagePathList
/home/ai-admin/ai-proj/YOLOv12-TensorRT-CPP/main.cpp:52:20: note: ‘std::vector<std::__cxx11::basic_string > imagePathList’ previously declared here
52 | vector imagePathList;
| ^~~~~~~~~~~~~
/home/ai-admin/ai-proj/YOLOv12-TensorRT-CPP/main.cpp:58:30: error: redeclaration of ‘bool isVideo’
58 | bool isVideo{ false };
| ^~~~~~~
/home/ai-admin/ai-proj/YOLOv12-TensorRT-CPP/main.cpp:53:30: note: ‘bool isVideo’ previously declared here
53 | bool isVideo{ false };
| ^~~~~~~
/home/ai-admin/ai-proj/YOLOv12-TensorRT-CPP/main.cpp:86:13: error: return-statement with no value, in function returning ‘int’ [-fpermissive]
86 | return;
| ^~~~~~
/home/ai-admin/ai-proj/YOLOv12-TensorRT-CPP/main.cpp:102:13: error: return-statement with no value, in function returning ‘int’ [-fpermissive]
102 | return;
| ^~~~~~
gmake[2]: *** [CMakeFiles/yolov12-tensorrt.dir/build.make:83: CMakeFiles/yolov12-tensorrt.dir/main.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/yolov12-tensorrt.dir/all] Error 2
gmake: *** [Makefile:91: all] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions