Skip to Content.
Sympa Menu

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

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] 3D Mesh Generation


Chronological Thread 
  • From: Stephen Sintay <>
  • To:
  • Subject: Re: [cgal-discuss] 3D Mesh Generation
  • Date: Wed, 2 Dec 2009 13:14:16 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Abr2czNSKv6XNx+qTQsCPRPMZpGJPnm39KMVK5DV1EaPszriwiKylbZHnJet51hl8l Gwp771QNvRLWmFvzQgLFjh9AoNwUJZskO7kA2dIkgeVDR4u3xhS5k6+FCbTf/Kt4O2KR pjAzXTvCPjkY1b9f54NjcVNdPTJm46iicyaVQ=

Interesting....

I added the following to the autogenerated CMakeLists.txt file

# Created by the script cgal_create_cmake_script
# This is the CMake script for compiling a CGAL application.


project( meshing-work_test )

CMAKE_MINIMUM_REQUIRED(VERSION 2.4.5)
# ADDED FOR DEBUG
set(CMAKE_BUILD_TYPE Debug)
set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS true)

I recompiled and the code worked. So I suspect that it is the compiler bug. Thanks for the help.

Steve


On Wed, Dec 2, 2009 at 12:45 PM, Sylvain Pion <> wrote:
It's probable that you are a victim of the gcc bug mentioned in the FAQ.
Try to use a more recent compiler, or remove optimization (tell cmake
to use the debug mode instead of the default which is the release).

Stephen Sintay a écrit :
Ahh. Sorry

$ ./mesh_implicit_sphere
Got here
Got here
Got here
Bus error
$

$ g++ -v
Using built-in specs.
Target: i686-apple-darwin9
Configured with: /var/tmp/gcc/gcc-5488~2/src/configure --disable-checking -enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib --build=i686-apple-darwin9 --with-arch=apple --with-tune=generic --host=i686-apple-darwin9 --target=i686-apple-darwin9
Thread model: posix
gcc version 4.0.1 (Apple Inc. build 5488)


On Wed, Dec 2, 2009 at 12:12 PM, Sylvain Pion < <mailto:>> wrote:

    <mailto:> a écrit :


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


   Describe "fails", please.


   Also, which compiler version are you using ?
   I'm thinking it can be related to
   http://www.cgal.org/FAQ.html#mac_optimization_bug

   --    Sylvain Pion
   INRIA Sophia-Antipolis
   Geometrica Project-Team
   CGAL, http://cgal.org/


   --    You are currently subscribed to cgal-discuss.
   To unsubscribe or access the archives, go to
   https://lists-sop.inria.fr/wws/info/cgal-discuss




--
Sylvain Pion
INRIA Sophia-Antipolis
Geometrica Project-Team
CGAL, http://cgal.org/

--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss





Archive powered by MHonArc 2.6.16.

Top of Page