Subject: CGAL users discussion list
List archive
- From: "Sebastien Loriot (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] Simple Example convex_hull_2
- Date: Mon, 12 May 2014 20:48:37 +0200
- Organization: GeometryFactory
On 05/12/2014 08:33 PM, Mónica Martín wrote:
sorry
No, i don`t use CMAKE
How can i do this? I only have a .cpp file in c++
If you use a CGAL example, then there should be a CMakeLists.txt
run cmake setting CGAL_DIR to the path where you built the library.
Sebastien.
2014-05-12 20:26 GMT+02:00 Nikitita91
<>:
Yes
El 12/05/2014 20:24, "Sebastien Loriot (GeometryFactory) [via cgal-discuss]"
<[hidden email]> escribió:
On 05/12/2014 05:34 PM, Nikitita91 wrote:
Hi,Did you use cmake to generate the solution?
I am new with the CGAL library and I was trying to compile the next
code:
#include <iostream>
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/convex_hull_2.h>
typedef CGAL::Exact_predicates_inexact_constructions_kernel K;
typedef K::Point_2 Point_2;
int main()
{
Point_2 points[5] = { Point_2(0,0), Point_2(10,0), Point_2(10,10),
Point_2(6,5), Point_2(4,1) };
Point_2 result[5];
Point_2 *ptr = CGAL::convex_hull_2( points, points+5, result );
std::cout << ptr - result << " points on the convex hull" <<
std::endl;
return 0;
}
The next error appeared:
1>------ Operación Generar iniciada: proyecto: PruebaCGAL001,
configuración:
Debug Win32 ------
1>Compilación iniciada a las 12/05/2014 17:30:11.
1>InitializeBuildStatus:
1> Aplicando tarea Touch a "Debug\PruebaCGAL001.unsuccessfulbuild".
1>ClCompile:
1> Todas las salidas están actualizadas.
1> PruebaCGAL001.cpp
1>c:\program files (x86)\microsoft
sdks\windows\v7.0a\include\cgal\config.h(55): fatal error C1083: No se
puede
abrir el archivo incluir: 'boost/config.hpp': No such file or directory
1>
1>ERROR al compilar.
1>
1>Tiempo transcurrido 00:00:11.11
========== Generar: 0 correctos, 1 incorrectos, 0 actualizados, 0
omitidos
==========
¿Anyone could help me?
Sebastien.
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Simple-Example-convex-hull-2-tp4659292.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss
________________________________
If you reply to this email, your message will be added to the discussion
below:
http://cgal-discuss.949826.n4.nabble.com/Simple-Example-convex-hull-2-tp4659292p4659293.html
To unsubscribe from Simple Example convex_hull_2, click here.
NAML
________________________________
View this message in context: Re: Simple Example convex_hull_2
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] Simple Example convex_hull_2, Nikitita91, 05/12/2014
- Re: [cgal-discuss] Simple Example convex_hull_2, Sebastien Loriot (GeometryFactory), 05/12/2014
- Re: [cgal-discuss] Simple Example convex_hull_2, Nikitita91, 05/12/2014
- Re: [cgal-discuss] Simple Example convex_hull_2, Mónica Martín, 05/12/2014
- Re: [cgal-discuss] Simple Example convex_hull_2, Sebastien Loriot (GeometryFactory), 05/12/2014
- Re: [cgal-discuss] Simple Example convex_hull_2, Mónica Martín, 05/12/2014
- Re: [cgal-discuss] Simple Example convex_hull_2, Nikitita91, 05/12/2014
- Re: [cgal-discuss] Simple Example convex_hull_2, Sebastien Loriot (GeometryFactory), 05/12/2014
Archive powered by MHonArc 2.6.18.