Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Namespace CGAL::parameters doesn't exist

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Namespace CGAL::parameters doesn't exist


Chronological Thread 
  • From: Valentin Leonardi <>
  • To:
  • Subject: Re: [cgal-discuss] Namespace CGAL::parameters doesn't exist
  • Date: Mon, 12 Jul 2010 21:37:24 +0200
  • 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=mTP1zLA/OeB6+YtvGkP9W4ffNZWtjUOwcaVCL/QlTxLpLWsW10T6Snmip0PYoa/2as Qm6xPC48stQ8xSsrv3ppJHiscfgzi4lg0Ns6AhooVd0cnfs973aH+JyDlrw3xnS11yHV r33RoSTCAN5flNGykEMK5UDFsKSFY4lOjZeZw=

Hi,

Thanks for your response.
My CGAL version is 3.5.1-1, I just installed it earlier today. I changed the piece of code that didn't compile by the one given in the online documentation proper to my version. It compiled well... but did not execute. I got this error :

terminate called after throwing an instance of 'CGAL::Assertion_exception'
what():  CGAL ERROR: assertion violation!
Expr: m_primitives.size() > 1
File: /usr/include/CGAL/AABB_tree.h
Line: 471
Abandon


Is there any way to solve it?

By the way, how can I get the latest version of CGAL installed by the command line sudo apt-get...? That would be an alternate solution to my problem since there is no namespace error with Joachim's version (3.6.1-1).


Thanks for any feedback,

Valentin

On Mon, Jul 12, 2010 at 7:35 PM, Joachim Reichel <> wrote:
Hi,

> I'm experiencing a weird compilation error while using the piece of code
> given here<http://www.cgal.org/Manual/beta/doc_html/cgal_manual/Mesh_3/Chapter_main.html#Subsection_49.3.2>,
> which is supposed to create a tetrahedral mesh from a triangular one.
> When compiling, I get the error that *CGAL::parameters* (line 30) is not a
> namespace, and indeed, when I checked out the includes, no one contained a
> such namespace. I'm a using a too old / too recent version of CGAL? I got it
> by the command line *sudo apt-get install libcgal-dev*. How can I get this
> piece of code working?

unfortunately you do not tell us which version of libcgal-dev you
installed. It works for me with libcgal-dev 3.6.1-1.

By the way you can also install libcgal-demo which gives you all
examples and demos in /usr/share/doc/libcgal-demo. Maybe you have an
older version of CGAL installed, and the example at the above URL is too
new for you. Older versions contain that example as well, maybe with
minor differences.

Or browse the online documentation and replace "beta" in the URL with
your CGAL version.

Joachim

--
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