Open qingshutie opened 6 years ago
如果我需要将这个移植到pc端,那我应该将cmakelist.txt中target_link_libraries改成哪些对应的文件?
@qingshutie hi, I'd like to know if you have solved this problem? Because I met the same error.
I also met the same error, how to solve it?
I also met the same error, how to solve it?
use docker caffe...
OK, I solved it, Thank you!
I also met the same error, how to solve it?@mayidu@hangxu124@qingshutie
I also met the same error, how to solve it?@mayidu@hangxu124@qingshutie
Then I use caffe with docker...
@hangxu124 modify the cmakelist include_directories(${PROJECT_INCLUDE_DIR}/ here_is_your_caffe_path/include here_is_your_caffe_path/build/include)
I met the same problem as well. My understanding of this cmake is to copy the required head files to the project path(x86_64/include) but some head files are not found (even if you modify the include_directories). So I just copy those head files to the project path and it works for me!
In file included from /home/u16/work/caffe-yolov3/box.h:9:0, from /home/u16/work/caffe-yolov3/box.cpp:1: /home/u16/work/caffe-yolov3/yolo_layer.h:9:27: fatal error: caffe/caffe.hpp: 没有那个文件或目录 compilation terminated. CMakeFiles/sysDetectSpeed.dir/build.make:389: recipe for target 'CMakeFiles/sysDetectSpeed.dir/box.cpp.o' failed make[2]: [CMakeFiles/sysDetectSpeed.dir/box.cpp.o] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/sysDetectSpeed.dir/all' failed make[1]: [CMakeFiles/sysDetectSpeed.dir/all] Error 2 Makefile:127: recipe for target 'all' failed make: *** [all] Error 2