Open job2003 opened 6 years ago
I have install caffe correctly and I can import caffe successfully in python. Thanks a lot.
How did you install caffe ? From master or directly this one ?
have you fix it? I also have faced this problem
modify the include_directories of caffe in CMakeLists.txt
This is not a problem of caffe, The problem is about the path. Check the CmakeList.txt file in caffe-yolo3-master directory you shall find in line 36/37 the path is set to caffe/build/include. I believe some of you have installed caffe without build directory. In this case you should change it to caffe/include. There are several places you should make these changes. Check the make file in the build directory as well.
I run make command and face these problem, I don't know how to fix it.
file included from /home/user/workspace/caffe-yolov3/box.h:9:0, from /home/user/workspace/caffe-yolov3/box.cpp:1: /home/user/workspace/caffe-yolov3/yolo_layer.h:9:27: fatal error: caffe/caffe.hpp: No such file or directory compilation terminated. CMakeFiles/sysDetectSpeed.dir/build.make:341: 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
thanks