Closed samartIT closed 4 years ago
There is an empty #include
instruction at the beginning of your code. You should first try to remove it.
Then, did you use CMake
to compile the example?
I think it's the pb we already observed with boost mp and MacOS. @danston you already have a fix for that right?
@janetournois the #include
was probably an issue with the formatting that @MaelRL fixed in an edit.
@samartIT We see the .cpp source code, but the build system that tried to create the binary. It seems your linker is reporting errors because libgmp
is not in the set of binaries to link, hence the missing symbols.
There is an empty
#include
instruction at the beginning of your code. You should first try to remove it. Then, did you useCMake
to compile the example?
Oh poor me. I did follow CMake by CGAL tutorial. Everything works now. Thank you.
Issue Details
Compilation error. I am trying to use mesh-slicer and found this example. Unfortunately, it can't compile, see below full error.
Source Code
I copy the code from example: Polygon_mesh_processing/mesh_slicer_example.cpp I have tried to figure which line makes this error and found that "slicer(K::Plane_3(0, 0, 1, -0.4), std::back_inserter(polylines));" cause this error.
here is the source code
Environment