yolov5_tensorrt_int8 icon indicating copy to clipboard operation
yolov5_tensorrt_int8 copied to clipboard

make报错,总是显示undefined reference

Open zmtttt opened this issue 1 year ago • 0 comments

[100%] Linking CXX executable YoloV5sEngine CMakeFiles/YoloV5sEngine.dir/yolov5s_infer.cc.o: In function main': yolov5s_infer.cc:(.text+0x1de2): undefined reference to my_init_tensors' yolov5s_infer.cc:(.text+0x1e7b): undefined reference to my_load_model' yolov5s_infer.cc:(.text+0x21c5): undefined reference to my_inference_tensors' yolov5s_infer.cc:(.text+0x2610): undefined reference to my_deinit_tensors' yolov5s_infer.cc:(.text+0x261f): undefined reference to my_release_model' collect2: error: ld returned 1 exit status CMakeFiles/YoloV5sEngine.dir/build.make:100: recipe for target 'YoloV5sEngine' failed make[2]: *** [YoloV5sEngine] Error 1 CMakeFiles/Makefile2:72: recipe for target 'CMakeFiles/YoloV5sEngine.dir/all' failed make[1]: *** [CMakeFiles/YoloV5sEngine.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2

zmtttt avatar Apr 17 '24 06:04 zmtttt