Open companje opened 8 years ago
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. If you plan to run Cura at the end, you can also install it from there, too.
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
./autogen.sh
./configure
make
make check
sudo make install
Then inside a fresh libArcus git clone:
mkdir build && cd build
cmake ..
make
sudo make install
It worked.
Make sure libArcus is getting the protobuf from the right location. Uninstall all protobuff versions which you don't need.
Sometimes arcus just takes the wrong protobuf if you've got multiple on you'd system.. Op 22 mrt. 2016 08:08 schreef "Tweakmind" notifications@github.com:
I downloaded protobuf from:
https://github.com/google/protobuf/archive/v3.0.0-beta-2.tar.gz
./autogen.sh ./configure make make check sudo make install
Then inside a fresh libArcus git clone:
mkdir build && cd build cmake .. make sudo make install
It worked.
— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/Ultimaker/libArcus/issues/18#issuecomment-199669111
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: