Open beppe2hd opened 7 years ago
Please provide information about your build environment, such as OS, OS version, compiler version, etc.
Linux marco-HPZ420 3.16.0-62-generic #83~14.04.1-Ubuntu SMP Fri Feb 26 22:52:39 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux GNU Make 3.81 gcc (Ubuntu/Linaro 4.7.3-12ubuntu1) 4.7.3
Thanks. Caffe2 needs GCC 4.9 or higher to compile. Which version of Ubuntu are you using?
Hi everyone, I'm trying to compile caffe 2 but despite I followed all the instruction I finally get this error.
[ 16%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/context.cc.o In file included from /home/marco/caffe2/third_party/gloo/gloo/context.cc:12:0: /home/marco/caffe2/third_party/gloo/gloo/common/error.h:25:46: error: expected class-name before ‘{’ token /home/marco/caffe2/third_party/gloo/gloo/common/error.h: In constructor ‘gloo::Exception::Exception(const string&)’: /home/marco/caffe2/third_party/gloo/gloo/common/error.h:27:66: error: expected class-name before ‘(’ token /home/marco/caffe2/third_party/gloo/gloo/common/error.h:27:66: error: expected ‘{’ before ‘(’ token make[3]: *** [third_party/gloo/gloo/CMakeFiles/gloo.dir/context.cc.o] Error 1 make[3]: Leaving directory
/home/marco/caffe2/build' make[2]: [third_party/gloo/gloo/CMakeFiles/gloo.dir/all] Error 2 make[2]: Leaving directory `/home/marco/caffe2/build' make[1]: [all] Error 2 make[1]: Leaving directory/home/marco/caffe2/build' make: *** [all] Error 2
Can someone help me?P.S. I tried also to configure the make file in other way but without succes.