Subject: CGAL users discussion list
List archive
- From: "Laurent Rineau (CGAL/GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] Re: question about running cgal example in qt-creator.
- Date: Mon, 03 Jun 2013 14:23:33 +0200
- Organization: GeometryFactory
Le lundi 03 juin 2013 20:21:31 éåç¥ a écrit :
> Dear all
>
> I use QT Creator 2.4.1 as my IDE, and my system is Ubuntu 12.04 amd
> 64. My CGAL version is 4.2. When I run the example of
> CGAL/exmaple/Mesh_3/mesh_polyhedral_domain_with_features.cpp in QT Creator,
> I meet such a problem:
>
> %%%%%%%%%%
> Starting
> /home/huayiwei/work/program/meshGenerator/example/Regular_triangulation/Mesh
> _3/build/mesh_polyhedral_domain_with_features...
>
> terminate called after throwing an instance of
> 'CGAL::Precondition_exception'
>
> what(): CGAL ERROR: precondition violation!
>
> Expr: !empty()
>
> File: /usr/local/include/CGAL/AABB_tree.h
>
> Line: 152
>
> The program has unexpectedly finished.
> %%%%%%%%%%%%%%%
>
> But I can run the compiled program directly in my bash shell and get the
> result mesh. Did anyone ever meet the same problem? Please help, thanks a
> lot.
The difference must be the working directory where the program is launched.
It
must be the one of sources, in your case:
/home/huayiwei/work/program/meshGenerator/example/Regular_triangulation/Mesh_3/
--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/
- [cgal-discuss] Re: question about running cgal example in qt-creator., 魏华祎, 06/03/2013
- Re: [cgal-discuss] Re: question about running cgal example in qt-creator., Laurent Rineau (CGAL/GeometryFactory), 06/03/2013
- Re: [cgal-discuss] Re: question about running cgal example in qt-creator., 魏华祎, 06/04/2013
- Re: [cgal-discuss] Re: question about running cgal example in qt-creator., 魏华祎, 06/05/2013
- Re: Re: [cgal-discuss] Re: question about running cgal example in qt-creator., Laurent Rineau (CGAL/GeometryFactory), 06/05/2013
- Re: [cgal-discuss] Re: question about running cgal example in qt-creator., 魏华祎, 06/05/2013
- Re: [cgal-discuss] Re: question about running cgal example in qt-creator., 魏华祎, 06/04/2013
- Re: [cgal-discuss] Re: question about running cgal example in qt-creator., Laurent Rineau (CGAL/GeometryFactory), 06/03/2013
Archive powered by MHonArc 2.6.18.