Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] 3D Mesh Generation

Subject: CGAL users discussion list

List archive

[cgal-discuss] 3D Mesh Generation


Chronological Thread 
  • From: <>
  • To:
  • Subject: [cgal-discuss] 3D Mesh Generation
  • Date: Wed, 2 Dec 2009 19:59:48 +0100 (CET)

Hello,

I am very new to CGAL and have been attempting to learn how to run the sphere
example given here:
http://www.cgal.org/Manual/last/doc_html/cgal_manual/Mesh_3/Chapter_main.html

I have CGAL 3.5 installed on OSX 10.5.8
However, because this simple example failed, I am not sure that the
installation is entirely correct.

For the sphere example, I have been able to use the cgal_create_cmake_script,
and I have be able to run cmake and make to successfully compile the file
"mesh_implicit_sphere.cpp"

On execution the example fails at the line (47):
C3t3 c3t3 = CGAL::make_mesh_3<C3t3>(domain, criteria);

It is a very simple example and this is only the 5th line executed.

I would like to debug (gdb) and find out why it failed. So my first question
is:
1) What should I do to enable cmake (This is also my first experience with
cmake) to configure with "-g". Can I pass a command line option when
executing
$ cmake .
?

2) Does the fact that the code actually compiled indicated that CGAL has
indeed
been installed correctly? Or does the fact the this simple example failed
indicate that the installation of CGAL is messed up?

Thanks

Steve



Archive powered by MHonArc 2.6.16.

Top of Page