Linking error with CGAL
问题 I have CGAL installed on my Mac OS X (10.8.4). I have successfully incorporated aspects of CGAL into previous C++ programs to compute the convex hull of a 3D point cloud. However, now I am trying to include other parts of CGAL for computing surface meshes, converting them to polyhedra, and so on. When I do that, the program compiles just fine, but then I receive linking errors that I don't understand. Here is my linking command following compilation: c++ -O2 -I/usr/local/include -I/usr