Subject: CGAL users discussion list
List archive
- From: "Laurent Rineau (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] .dll error on CGAL example
- Date: Fri, 5 Feb 2010 17:30:46 +0100
- Organization: GeometryFactory
On Friday 05 February 2010 17:21:29
wrote:
> Hi there,
>
> i've tried to run a CGAL example (this one):
>
> -----------------------------------------------
> #include <fstream>
>
> #include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
> #include <CGAL/Triangulation_2.h>
>
> struct K : CGAL::Exact_predicates_inexact_constructions_kernel {};
>
> typedef CGAL::Triangulation_2<K> Triangulation;
> typedef Triangulation::Vertex_circulator Vertex_circulator;
> typedef Triangulation::Point Point;
>
> int main() {
> std::ifstream in("triangulation_prog1.cin");
> std::istream_iterator<Point> begin(in);
> std::istream_iterator<Point> end;
>
> Triangulation t;
> t.insert(begin, end);
>
> Vertex_circulator vc = t.incident_vertices(t.infinite_vertex()),
> done(vc);
> if (vc != 0) {
> do { std::cout << vc->point() << std::endl;
> }while(++vc != done);
> }
> return 0;
> }
>
> -----------------------------------------------
> i had no problems building it, but when i tried to run it, i had this:
>
> "It's not possivel to run this application beacuse gmp-vc09-mt-gd.dll was
> not found....."
>
> I have this .dll on my CGAL directory, and the other examples work just
> fine. Can someone help me?
Probably the directory that contains gmp-vc09-mt-gd.dll in not listed in the
%PATH% environment variable. You can just copy-paste it in the directory of
your example, and that should be enough.
--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/
- [cgal-discuss] .dll error on CGAL example, cristovao_jdc, 02/05/2010
- Re: [cgal-discuss] .dll error on CGAL example, Laurent Rineau (GeometryFactory), 02/05/2010
- Re: Re: [cgal-discuss] .dll error on CGAL example, cristovao_jdc, 02/05/2010
- Re: [cgal-discuss] .dll error on CGAL example, Laurent Rineau (GeometryFactory), 02/05/2010
Archive powered by MHonArc 2.6.16.