libArcus icon indicating copy to clipboard operation
libArcus copied to clipboard

missing dependencies to compile on Linux (Debian)

Open jimy-byerley opened this issue 8 years ago • 3 comments

Hi ! I tried to build the library for CuraEngine, but I have the following error at compile time, after proceeded your instructions (no problem with cmake):

[ 5%] Building CXX object CMakeFiles/Arcus.dir/src/MessageTypeStore.cpp.o /home/jimy/programs/cura-3D-printer/libArcus-master/src/MessageTypeStore.cpp:26:47: fatal error: google/protobuf/compiler/importer.h: Aucun fichier ou dossier de ce type #include <google/protobuf/compiler/importer.h> compilation terminated. CMakeFiles/Arcus.dir/build.make:100: recipe for target 'CMakeFiles/Arcus.dir/src/MessageTypeStore.cpp.o' failed make[2]: *** [CMakeFiles/Arcus.dir/src/MessageTypeStore.cpp.o] Error 1 CMakeFiles/Makefile2:60: recipe for target 'CMakeFiles/Arcus.dir/all' failed make[1]: *** [CMakeFiles/Arcus.dir/all] Error 2 Makefile:137: recipe for target 'all' failed make: *** [all] Error 2

So what's this directory: "google" ? It doesn't appear in the library's project.

jimy-byerley avatar Dec 30 '16 11:12 jimy-byerley

I would personally say that you are using a version of Protobuf, which is not up-to-date. For this reason I had to make my own packages in my PPA. Afaik Debian comes only in the experimental repository with protobuf 3. Correct me if I'm wrong.

thopiekar avatar Dec 30 '16 11:12 thopiekar

Debian has protobuf3 available in the testing (stretch) repository. jessie still only has protobuf2, unfortunately.

onitake avatar Feb 15 '17 08:02 onitake

Ok thanks, I will try it after the freeze end.

jimy-byerley avatar Feb 15 '17 15:02 jimy-byerley