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

I cannt build your version caffe #1

Open
Mrlong12 opened this issue Feb 14, 2019 · 1 comment
Open

I cannt build your version caffe #1

Mrlong12 opened this issue Feb 14, 2019 · 1 comment

Comments

@Mrlong12
Copy link

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
Copy link
Owner

sshige commented Feb 18, 2019

@Mrlong12

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

It seems your problem is related with the following page;

BVLC/caffe#5645 (comment)

cartographer-project/cartographer_ros#625 (comment)

Could you refer the above pages?

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

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