deep-flow
deep-flow copied to clipboard
Compile errors
trafficstars
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?
hi @filmo, do you set the path of caffe correctly in config file?