Subject: CGAL users discussion list
List archive
- From: 魏华祎 <>
- To:
- Subject: Re: [cgal-discuss] Re: question about running cgal example in qt-creator.
- Date: Tue, 4 Jun 2013 08:52:16 +0800
Hi, Laurent,
Thanks for your reply. Yes, you are right. It is the working drectory problem.
Best
Huayi
2013/6/3 Laurent Rineau (CGAL/GeometryFactory) <>
Le lundi 03 juin 2013 20:21:31 é å Žç¥Ž a écrit :
> Dear allThe difference must be the working directory where the program is launched. It
>
> 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.
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/
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss
- [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.