Open PyNancy opened 4 years ago
CMakeFiles/yolo-app.dir/build.make:81: recipe for target 'CMakeFiles/yolo-app.dir/Darknet.cpp.o' failed make[2]: [CMakeFiles/yolo-app.dir/Darknet.cpp.o] Error 1 CMakeFiles/Makefile2:94: recipe for target 'CMakeFiles/yolo-app.dir/all' failed make[1]: [CMakeFiles/yolo-app.dir/all] Error 2 Makefile:102: recipe for target 'all' failed make: *** [all] Error 2 你好,我也遇到了问题请问怎么解决的
CMakeFiles/yolo-app.dir/main.cpp.o: In function
main': main.cpp:(.text+0x1012): multiple definition of
main' CMakeFiles/yolo-app.dir/detect_cuda_version.cc.o:detect_cuda_version.cc:(.text+0x0): first defined here CMakeFiles/yolo-app.dir/detect_cuda_compute_capabilities.cpp.o: In functionmain': detect_cuda_compute_capabilities.cpp:(.text+0x0): multiple definition of
main' CMakeFiles/yolo-app.dir/detect_cuda_version.cc.o:detect_cuda_version.cc:(.text+0x0): first defined here collect2: error: ld returned 1 exit status CMakeFiles/yolo-app.dir/build.make:233: recipe for target 'yolo-app' failed make[3]: [yolo-app] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/yolo-app.dir/all' failed make[2]: [CMakeFiles/yolo-app.dir/all] Error 2 CMakeFiles/Makefile2:79: recipe for target 'CMakeFiles/yolo-app.dir/rule' failed make[1]: [CMakeFiles/yolo-app.dir/rule] Error 2 Makefile:118: recipe for target 'yolo-app' failed make: [yolo-app] Error 2