-
Notifications
You must be signed in to change notification settings - Fork 18.7k
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
Compiling on mac OS CPU mode only #7078
Comments
Hello, the error you have is most likely due to an incompatible compiler version. Try with CMAKE_CXX_STANDARD 17. In the case you keep producing error or face other error due to the change, you can try referring to the changes I did in this commit (e0e5833). It contains the modifications for securing a build of OpenPose and Caffe in a M1 Mac. You can try all the changes done inside the caffe folder, or you can clone the repo and run the instructions. The drawback is that you will unnecessarily build OpenPose. Hope you find this helpful! |
这是来自QQ邮箱的假期自动回复邮件。
您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。
|
Issue summary
Unable to compile caffe locally. Received about 50 errors.
Steps to reproduce
Download zip, run make all command in root folder.
Tried solutions
I have already changed my root CMakeLists:
stuck here ever since.
System configuration
Logs
(base) brennanlee@Brennans-MBP caffe % make all
CXX .build_release/src/caffe/proto/caffe.pb.cc
In file included from .build_release/src/caffe/proto/caffe.pb.cc:5:
In file included from .build_release/src/caffe/proto/caffe.pb.h:13:
In file included from /usr/local/include/google/protobuf/port_def.inc:33:
In file included from /usr/local/include/absl/base/attributes.h:37:
In file included from /usr/local/include/absl/base/config.h:92:
/usr/local/include/absl/base/policy_checks.h:79:2: error: "C++ versions less than C++14 are not supported."
#error "C++ versions less than C++14 are not supported."
^
In file included from .build_release/src/caffe/proto/caffe.pb.cc:5:
In file included from .build_release/src/caffe/proto/caffe.pb.h:13:
In file included from /usr/local/include/google/protobuf/port_def.inc:33:
In file included from /usr/local/include/absl/base/attributes.h:37:
/usr/local/include/absl/base/config.h:162:15: error: static assertion expression is not an integral constant expression
static_assert(ABSL_INTERNAL_INLINE_NAMESPACE_STR[0] != '\0',
The text was updated successfully, but these errors were encountered: