Errors like "./include/caffe/util/cudnn.hpp:73:29: error: ‘cudnnTensor4dDescriptor_t’ was not declared in this scope" appears.
After I comment 'USE CuDNN' in Makefile.config, I meet these:
"
src/caffe/layers/window_data_layer.cpp:26:11: error: ‘const int CV_LOAD_IMAGE_COLOR’ redeclared as different kind of symbol
const int CV_LOAD_IMAGE_COLOR = cv::IMREAD_COLOR;
^
In file included from /usr/local/include/opencv2/highgui/highgui_c.h:47:0,
from /usr/local/include/opencv2/highgui.hpp:701,
from /usr/local/include/opencv2/highgui/highgui.hpp:48,
from src/caffe/layers/window_data_layer.cpp:10:
/usr/local/include/opencv2/imgcodecs/imgcodecs_c.h:62:5: error: previous declaration of ‘ CV_LOAD_IMAGE_COLOR’
CV_LOAD_IMAGE_COLOR =1,
^
make: * [.build_release/src/caffe/layers/window_data_layer.o] Error 1
make: * Waiting for unfinished jobs....
"
and some other warnings about opencv.
I've already deployed the newest version of caffe, so I think my opencv and cudnn are all right.
Errors like "./include/caffe/util/cudnn.hpp:73:29: error: ‘cudnnTensor4dDescriptor_t’ was not declared in this scope" appears. After I comment 'USE CuDNN' in Makefile.config, I meet these:
" src/caffe/layers/window_data_layer.cpp:26:11: error: ‘const int CV_LOAD_IMAGE_COLOR’ redeclared as different kind of symbol const int CV_LOAD_IMAGE_COLOR = cv::IMREAD_COLOR; ^ In file included from /usr/local/include/opencv2/highgui/highgui_c.h:47:0, from /usr/local/include/opencv2/highgui.hpp:701, from /usr/local/include/opencv2/highgui/highgui.hpp:48, from src/caffe/layers/window_data_layer.cpp:10: /usr/local/include/opencv2/imgcodecs/imgcodecs_c.h:62:5: error: previous declaration of ‘ CV_LOAD_IMAGE_COLOR’
CV_LOAD_IMAGE_COLOR =1,
^
make: * [.build_release/src/caffe/layers/window_data_layer.o] Error 1
make: * Waiting for unfinished jobs....
"
and some other warnings about opencv.
I've already deployed the newest version of caffe, so I think my opencv and cudnn are all right.
Thanks.