Ultimaker / libArcus

Communication library between internal components for Ultimaker software
GNU Lesser General Public License v3.0
75 stars 81 forks source link

missing dependencies to compile on Linux (Debian) #49

Open jimy-byerley opened 7 years ago

jimy-byerley commented 7 years ago

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.

thopiekar commented 7 years ago

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.

onitake commented 7 years ago

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

jimy-byerley commented 7 years ago

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