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

Error when running "setup.py build" : fatal error: CGAL/Exact_predicates_exact_constructions_kernel.h: No such file or directory #5

Open
lawrencehanyuan opened this issue Jun 18, 2020 · 0 comments

Comments

@lawrencehanyuan
Copy link

ran into this issue during "setup.py build" step:
fatal error: CGAL/Exact_predicates_exact_constructions_kernel.h: No such file or directory
compilation terminated.
tools/CGAL/CMakeFiles/lib_CGAL.dir/build.make:88: recipe for target 'tools/CGAL/CMakeFiles/lib_CGAL.dir/SnapRounding2.cpp.o' failed
make[2]: *** [tools/CGAL/CMakeFiles/lib_CGAL.dir/SnapRounding2.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 35%] Built target lib_MeshUtils
[ 36%] Built target lib_Triangle
/home/myubuntu/PyMesh/tools/CGAL/StraightSkeleton.cpp:11:64: fatal error: CGAL/Exact_predicates_inexact_constructions_kernel.h: No such file or directory
compilation terminated.
tools/CGAL/CMakeFiles/lib_CGAL.dir/build.make:101: recipe for target 'tools/CGAL/CMakeFiles/lib_CGAL.dir/StraightSkeleton.cpp.o' failed
make[2]: *** [tools/CGAL/CMakeFiles/lib_CGAL.dir/StraightSkeleton.cpp.o] Error 1
/home/myubuntu/PyMesh/tools/CGAL/Arrangement2.cpp:9:45: fatal error: CGAL/Arr_batched_point_location.h: No such file or directory
compilation terminated.
tools/CGAL/CMakeFiles/lib_CGAL.dir/build.make:62: recipe for target 'tools/CGAL/CMakeFiles/lib_CGAL.dir/Arrangement2.cpp.o' failed
make[2]: *** [tools/CGAL/CMakeFiles/lib_CGAL.dir/Arrangement2.cpp.o] Error 1
CMakeFiles/Makefile2:599: recipe for target 'tools/CGAL/CMakeFiles/lib_CGAL.dir/all' failed
make[1]: *** [tools/CGAL/CMakeFiles/lib_CGAL.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 49%] Built target lib_Assembler
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
Traceback (most recent call last):
File "./setup.py", line 199, in
distclass=BinaryDistribution,
File "/usr/lib/python3.5/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.5/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "./setup.py", line 102, in run
self.build_pymesh()
File "./setup.py", line 77, in build_pymesh
False,
File "./setup.py", line 96, in _build
check_call(c.split())
File "/usr/lib/python3.5/subprocess.py", line 581, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--config', 'Release', '--', '-j', '6']' returned non-zero exit status 2

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

1 participant