You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem means it can not find the headfile "caffe/command.hpp",so I have solved it by this way :
step1.
In current dir, I put in command "find -name common.hpp" so that I found it's path is "./include/caffe/common.hpp " , look ,it is in dir of "include"
step2.
Put in command "pwd" to get it's absolute path
step3.
Add those lines to Makefile:
INCLUDE_DIRS := $(PYTHON_INCLUDE) /usr/local/include
/usr/local/Cellar/opencv3/3.1.0_3/include
/usr/local/Cellar/caffe/include
LIBRARY_DIRS := $(PYTHON_LIB) /usr/local/lib /usr/lib /usr/local/Cellar/opencv3/3.1.0_3/lib
So ,whatever can't be found in build process ,find it's path , and add the path to INCLUDE_DIRS or LIBRARY_DIRS in Makefile.
MacOS10.14, when I entered the command "make all", such issue emerged :
'caffe/common.hpp' file not found.
The detailed error information just like this :
CXX src/caffe/common.cpp
src/caffe/common.cpp:7:10: fatal error: 'caffe/common.hpp' file not found
#include "caffe/common.hpp"
^~~~~~~~~~~~~~~~~~
1 error generated.
make: *** [.build_release/src/caffe/common.o] Error 1
has anyone run into it?
The text was updated successfully, but these errors were encountered: