unsky / Deformable-ConvNets-caffe

Deformable Convolutional Networks on caffe
160 stars 83 forks source link

the error after make #17

Closed feitiandemiaomi closed 6 years ago

feitiandemiaomi commented 6 years ago

Creating symlink /home/songzhao/code/Deformable-ConvNets-caffe/caffe/python/caffe/_caffe.so -> /home/songzhao/code/Deformable-ConvNets-caffe/caffe/build/lib/_caffe.so ../lib/libcaffe.so.1.0.0-rc3: undefined reference to cv::String::allocate(unsigned long)' ../lib/libcaffe.so.1.0.0-rc3: undefined reference tocv::imread(cv::String const&, int)' ../lib/libcaffe.so.1.0.0-rc3: undefined reference to cv::String::deallocate()' ../lib/libcaffe.so.1.0.0-rc3: undefined reference tocv::imencode(cv::String const&, cv::_InputArray const&, std::vector<unsigned char, std::allocator >&, std::vector<int, std::allocator > const&)' collect2: error: ld returned 1 exit status tools/CMakeFiles/upgrade_net_proto_binary.dir/build.make:134: recipe for target 'tools/upgrade_net_proto_binary' failed make[2]: [tools/upgrade_net_proto_binary] Error 1 CMakeFiles/Makefile2:663: recipe for target 'tools/CMakeFiles/upgrade_net_proto_binary.dir/all' failed make[1]: [tools/CMakeFiles/upgrade_net_proto_binary.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 93%] Built target pycaffe

Hi, thank your work , but I met an error when I compiled , the route of opencv is correct and there are not error if compiling commonly , Did you meet it once?

unsky commented 6 years ago

@feitiandemiaomi use cmake in readme . the install is same to the office caffe,

feitiandemiaomi commented 6 years ago

Thanks your quick reply , I used cmake in readme ,but the error seems to have something to do with the version of opencv

unsky commented 6 years ago

the install is same to the office caffe, if you have error in install , just google it.

feitiandemiaomi commented 6 years ago

ok , I try it