caffe-yolov3 icon indicating copy to clipboard operation
caffe-yolov3 copied to clipboard

caffe problem?

Open job2003 opened this issue 6 years ago • 5 comments

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

job2003 avatar Aug 01 '18 14:08 job2003

I have install caffe correctly and I can import caffe successfully in python. Thanks a lot.

job2003 avatar Aug 08 '18 00:08 job2003

How did you install caffe ? From master or directly this one ?

HilmiK avatar Sep 29 '18 14:09 HilmiK

have you fix it? I also have faced this problem

z00389191 avatar Feb 23 '19 08:02 z00389191

modify the include_directories of caffe in CMakeLists.txt

buptlj avatar May 19 '19 02:05 buptlj

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.

zeyuDai2018 avatar May 20 '19 04:05 zeyuDai2018