Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu14.04 server x64, OpenCV3, CuDNNv3, make errors. #3

Open
CSGrandeur opened this issue Nov 6, 2015 · 1 comment
Open

Ubuntu14.04 server x64, OpenCV3, CuDNNv3, make errors. #3

CSGrandeur opened this issue Nov 6, 2015 · 1 comment

Comments

@CSGrandeur
Copy link

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.

@korabelnikov
Copy link

It caused by inconsistent caffe and openCV. I have met such error. Just remove line with redefinion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants