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

Compiling error #97

Open
DavidSeas opened this issue Jul 8, 2018 · 0 comments
Open

Compiling error #97

DavidSeas opened this issue Jul 8, 2018 · 0 comments

Comments

@DavidSeas
Copy link

I'm trying to compile from the repository but I obtain the subsequent error when it try to build caffe

I'm on a MacOS platform, there is a way to avoid caffe building and use the brew version?
I also tried to update my build as described in this link:https://github.com/google/protobuf/issues/4838
but the result doesn't change

In file included from /usr/local/include/google/protobuf/wire_format_lite_inl.h:43:
/usr/local/include/google/protobuf/message_lite.h:117:3: error: unknown type name 'constexpr'
  constexpr const T& get() const { return reinterpret_cast<const T&>(union_); }
  ^
/usr/local/include/google/protobuf/message_lite.h:117:13: error: expected member name or ';' after declaration specifiers
  constexpr const T& get() const { return reinterpret_cast<const T&>(union_); }
  ~~~~~~~~~ ^
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

1 participant