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

Compile errors #1

Open
filmo opened this issue Jan 28, 2017 · 1 comment
Open

Compile errors #1

filmo opened this issue Jan 28, 2017 · 1 comment

Comments

@filmo
Copy link

filmo commented Jan 28, 2017

I get the following error after installing the version of caffe provided in the 'caffe.zip' file

Ubuntu 14.04, CUDNN 5.1, Cuda 8, Intel MKL

g++ -g -O2 -c gpudm_wrap.cxx -fPIC -I/usr/include/python2.7 -Icaffe/include -I/usr/local/cuda/include -I/usr/lib/x86_64-linux-gnu/include -I/opt/intel/mkl/include -Icaffe/include -Icaffe/.build_release/src -o gpudm_wrap.o
gpudm_wrap.cxx: In function ‘PyObject* _wrap_protobuf_AssignDesc_caffe_2eproto(PyObject*, PyObject*)’:
gpudm_wrap.cxx:15158:3: error: ‘protobuf_AssignDesc_caffe_2eproto’ is not a member of ‘caffe’
   caffe::protobuf_AssignDesc_caffe_2eproto();
   ^
gpudm_wrap.cxx: In function ‘PyObject* _wrap_protobuf_ShutdownFile_caffe_2eproto(PyObject*, PyObject*)’:
gpudm_wrap.cxx:15170:3: error: ‘protobuf_ShutdownFile_caffe_2eproto’ is not a member of ‘caffe’
   caffe::protobuf_ShutdownFile_caffe_2eproto();

If I compile the SWIG files I also get the following errors:

philglau (master *) deep_matching $ swig gpudm.swig 
gpudm.swig:33: Error: Unable to find 'std_set.i'
gpudm.swig:36: Error: Unable to find 'boost_shared_ptr.i'
gpudm.swig:57: Error: Unable to find 'caffe/caffe.hpp'
gpudm.swig:58: Error: Unable to find 'caffe/common.hpp'
gpudm.swig:59: Error: Unable to find 'caffe/blob.hpp'
gpudm.swig:60: Error: Unable to find 'caffe/filler.hpp'
gpudm.swig:61: Error: Unable to find 'caffe/layer.hpp'
gpudm.swig:70: Error: Unable to find 'caffe/net.hpp'
gpudm.swig:71: Error: Unable to find 'caffe/common_layers.hpp'
gpudm.swig:72: Error: Unable to find 'caffe/neuron_layers.hpp'
gpudm.swig:73: Error: Unable to find 'caffe/vision_layers.hpp'
gpudm.swig:74: Error: Unable to find 'caffe/util/math_functions.hpp'
gpudm.swig:93: Error: Unable to find 'caffe/proto/caffe.pb.h'

Any thoughts on what might be going wrong?

@zimenglan-sysu-512
Copy link
Owner

hi @filmo,
do you set the path of caffe correctly in config file?

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