-
Notifications
You must be signed in to change notification settings - Fork 81
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
'error: 'is_proto_enum' was not declared in this scope' in protobuf/reflection.h #18
Comments
This is caused by having the wrong version of protobuf. Recently Ubuntu added protobuff 2 to the distro (which can be seen in your make file as it finds protobuf in /usr/lib. We require protobuf 3 to work. |
You can browse the web for my PPA where I have an upgraded version of protobuf packaged. |
I made and installed protobuf from the Cura repository. I've tried leveraging cura-build as well. I always get the same error as companje. I removed the /usr/local/include/google/protobuf/ and then built and reinstalled the protobuf from the repository. I still end up with the same error on make for libArcus. |
I downloaded protobuf from: https://github.com/google/protobuf/archive/v3.0.0-beta-2.tar.gz
Then inside a fresh libArcus git clone:
It worked. |
Make sure libArcus is getting the protobuf from the right location. Sometimes arcus just takes the wrong protobuf if you've got multiple on
|
I'm trying to build Cura using cura-build on a fresh Ubuntu 15.04 Virtual Machine. It gets stuck on building libArcus with the following error.
more info:
The text was updated successfully, but these errors were encountered: