sshige / rgbd-saliency

Project page for paper : Learning RGB-D Salient Object Detection using background enclosure, depth contrast, and top-down features
http://openaccess.thecvf.com/content_ICCV_2017_workshops/papers/w40/Shigematsu_Learning_RGB-D_Salient_ICCV_2017_paper.pdf
Other
9 stars 3 forks source link

I cannt build your version caffe #1

Open Mrlong12 opened 5 years ago

Mrlong12 commented 5 years ago

I cannot build your version caffe. cmake summary:

-- ******************* Caffe Configuration Summary *******************
-- General:
--   Version           :   1.0.0-rc3
--   Git               :   c22a997
--   System            :   Linux
--   C++ compiler      :   /usr/bin/c++
--   Release CXX flags :   -O3 -DNDEBUG -fPIC -Wall -Wno-sign-compare -Wno-uninitialized
--   Debug CXX flags   :   -g -fPIC -Wall -Wno-sign-compare -Wno-uninitialized
--   Build type        :   Release
-- 
--   BUILD_SHARED_LIBS :   ON
--   BUILD_python      :   OFF
--   BUILD_matlab      :   OFF
--   BUILD_docs        :   OFF
--   CPU_ONLY          :   OFF
--   USE_OPENCV        :   ON
--   USE_LEVELDB       :   OFF
--   USE_LMDB          :   OFF
--   ALLOW_LMDB_NOLOCK :   OFF
-- 
-- Dependencies:
--   BLAS              :   Yes (Atlas)
--   Boost             :   Yes (ver. 1.54)
--   glog              :   Yes
--   gflags            :   Yes
--   protobuf          :   Yes (ver. 3.6.1)
--   OpenCV            :   Yes (ver. 2.4.11)
--   CUDA              :   Yes (ver. 8.0)
-- 
-- NVIDIA CUDA:
--   Target GPU(s)     :   Auto
--   GPU arch(s)       :   sm_37
--   cuDNN             :   Disabled
-- 
-- Install:
--   Install path      :   /home/xxxx/rgbd-saliency/caffe/build/install
-- 
-- Configuring done

make log:

$ make -j8
[  0%] Building CXX object src/caffe/CMakeFiles/proto.dir/__/__/include/caffe/proto/caffe.pb.cc.o
In file included from /usr/include/c++/4.9/mutex:35:0,
                 from /usr/local/include/google/protobuf/stubs/mutex.h:33,
                 from /usr/local/include/google/protobuf/stubs/common.h:52,
                 from /home/nls3/nonu/rgbd-saliency/caffe/build/include/caffe/proto/caffe.pb.h:9,
                 from /home/nls3/nonu/rgbd-saliency/caffe/build/include/caffe/proto/caffe.pb.cc:5:
/usr/include/c++/4.9/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 com$
iler options.
 #error This file requires compiler and library support for the \
  ^
In file included from /home/nls3/nonu/rgbd-saliency/caffe/build/include/caffe/proto/caffe.pb.cc:5:0:
/home/nls3/nonu/rgbd-saliency/caffe/build/include/caffe/proto/caffe.pb.h:17:2: error: #error This file was generated by an older version of protoc which is
 #error This file was generated by an older version of protoc which is
  ^
/home/nls3/nonu/rgbd-saliency/caffe/build/include/caffe/proto/caffe.pb.h:18:2: error: #error incompatible with your Protocol Buffer headers. Please
 #error incompatible with your Protocol Buffer headers.  Please
  ^
/home/nls3/nonu/rgbd-saliency/caffe/build/include/caffe/proto/caffe.pb.h:19:2: error: #error regenerate this file with a newer version of protoc.
 #error regenerate this file with a newer version of protoc.

pls help :)

sshige commented 5 years ago

@Mrlong12

Thank you very much for taking an interest in our project.

It seems your problem is related with the following page;

https://github.com/BVLC/caffe/issues/5645#issuecomment-304440245

https://github.com/googlecartographer/cartographer_ros/issues/625#issuecomment-351651585

Could you refer the above pages?

If you still have a problem, please ask me again.