Ultimaker / libArcus

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

can't find sip.h error #20

Open linlut opened 8 years ago

linlut commented 8 years ago

Install libArcus. Already up-to-date. -- Found SIP version: 4.16.9 -- Configuring done -- Generating done -- Build files have been written to: /home/XXXXX/dev/libArcus/build Linking CXX shared library libArcus.so [ 31%] Built target Arcus [ 31%] Building CXX object CMakeFiles/python_module_Arcus.dir/python/sipArcuspart0.cpp.o In file included from /home/XXXXX/dev/libArcus/build/python/sipArcuspart0.cpp:10:0: /home/XXXXX/dev/libArcus/build/python/sipAPIArcus.h:11:17: fatal error: sip.h: 没有那个文件或目录 compilation terminated. CMakeFiles/python_module_Arcus.dir/build.make:86: recipe for target 'CMakeFiles/python_module_Arcus.dir/python/sipArcuspart0.cpp.o' failed make[2]: * [CMakeFiles/python_module_Arcus.dir/python/sipArcuspart0.cpp.o] Error 1 CMakeFiles/Makefile2:95: recipe for target 'CMakeFiles/python_module_Arcus.dir/all' failed make[1]: * [CMakeFiles/python_module_Arcus.dir/all] Error 2 Makefile:136: recipe for target 'all' failed make: * [all] Error 2 [ 26%] Built target Arcus [ 31%] Building CXX object CMakeFiles/python_module_Arcus.dir/python/sipArcuspart0.cpp.o In file included from /home/XXXXX/dev/libArcus/build/python/sipArcuspart0.cpp:10:0: /home/XXXXX/dev/libArcus/build/python/sipAPIArcus.h:11:17: fatal error: sip.h: 没有那个文件或目录 compilation terminated. CMakeFiles/python_module_Arcus.dir/build.make:86: recipe for target 'CMakeFiles/python_module_Arcus.dir/python/sipArcuspart0.cpp.o' failed make[2]: * [CMakeFiles/python_module_Arcus.dir/python/sipArcuspart0.cpp.o] Error 1 CMakeFiles/Makefile2:95: recipe for target 'CMakeFiles/python_module_Arcus.dir/all' failed make[1]: * [CMakeFiles/python_module_Arcus.dir/all] Error 2 Makefile:136: recipe for target 'all' failed make: * [all] Error 2

thopiekar commented 8 years ago

Looks like you are using Linux. Take your package manager and install the development files of SIP.

If you are using *Ubuntu you can kickstart by using prebuilt packages from my PPA: https://launchpad.net/~thopiekar/+archive/ubuntu/cura But never forget: This PPA is not supported by Ultimaker!

Ghostkeeper commented 8 years ago

没有那个文件或目录

According to Google Translate: No such file or directory

Agreeing with Thopiekar. It depends a bit on your distribution but it's probably called something like sip-dev. Like with Ubuntu: sudo apt-get install sip-dev