Skip to content
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

can't find sip.h error #20

Open
linlut opened this issue Mar 15, 2016 · 2 comments
Open

can't find sip.h error #20

linlut opened this issue Mar 15, 2016 · 2 comments

Comments

@linlut
Copy link

linlut commented Mar 15, 2016

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
Copy link
Contributor

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
Copy link
Contributor

没有那个文件或目录

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants