Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Re: Error in VisualStudio 2008

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Re: Error in VisualStudio 2008


Chronological Thread 
  • From: "Laurent Rineau (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Re: Error in VisualStudio 2008
  • Date: Tue, 17 Jan 2012 14:07:34 +0100
  • Organization: GeometryFactory

Le mardi 17 janvier 2012 04:09:58 mysmax a écrit :
> Sir I used this path(C:\Program
> Files\CGAL-3.9\examples\Triangulation_2\data\voronoi.cin) as an " input "
> to the program voronoi.cpp
>
> output as:
>
> The Voronoi diagram has 0 finite edges and 0 rays
>
> is output correct or worng?

The correct output is:
"The Voronoi diagram has 1 finite edges and 4 rays"

If I run the example is the wrong directory, then the file data/voronoi.cin
is
not found, and instead of returning an error, it just display what you said
above.

I know the reason it failed for you: '\' is a special character in C++, with
a
special semantic. Use '/' instead, that means use the following path:

"C:/Program Files/CGAL-3.9/examples/Triangulation_2/data/voronoi.cin"

--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/




Archive powered by MHonArc 2.6.16.

Top of Page