Subject: CGAL users discussion list
List archive
- From:
- To:
- Subject: Link Warning (Exact_predicates_exact_constructions_kernel )
- Date: Wed, 17 Jan 2007 13:13:41 +0100
Hi all,
I am having a "litle" problem with CGAL kernels. I was using the
CGAL::Cartesian kernel with NumberType CGAL::Quotient<double>,
with the following code:
#include <CGAL/Cartesian.h>
#include <CGAL/Quotient.h>
#include <CGAL/Object.h>
#include <CGAL/Polygon_2.h>
#include <CGAL/Bbox_2.h>
typedef CGAL::Quotient<double> NT;
typedef CGAL::Cartesian<NT> K;
typedef CGAL::Point_2<K> Point;
typedef CGAL::Segment_2<K> Segment;
typedef CGAL::Ray_2<K> Ray;
typedef CGAL::Polygon_2<K, std::list<Point> > Polygon;
typedef CGAL::Polygon_2<K, std::list<Point> >::Vertex_iterator
VertexIterator;
typedef CGAL::Polygon_2<K, std::list<Point> >::Edge_const_iterator
EdgeIterator;
(...)
And everything was OK!
Now I would like to change the kernel to
CGAL::Exact_predicates_exact_constructions_kernel, and I tryed it with the
following code:
#include <CGAL/Exact_predicates_exact_constructions_kernel.h>
#include <CGAL/Object.h>
#include <CGAL/Polygon_2.h>
#include <CGAL/Bbox_2.h>
typedef CGAL::Exact_predicates_exact_constructions_kernel K;
typedef CGAL::Point_2<K> Point;
typedef CGAL::Segment_2<K> Segment;
typedef CGAL::Ray_2<K> Ray;
typedef CGAL::Polygon_2<K, std::list<Point> > Polygon;
typedef CGAL::Polygon_2<K, std::list<Point> >::Vertex_iterator
VertexIterator;
typedef CGAL::Polygon_2<K, std::list<Point> >::Edge_const_iterator
EdgeIterator;
(...)
However, when I build the solution (debug mode) I get the following link
warning:
LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs;
use /NODEFAULTLIB:library
May you help me? I have no ideia of what is wrong...
Thank you very much in advance.
Mafalda
- Link Warning (Exact_predicates_exact_constructions_kernel ), mafaldamartins, 01/17/2007
Archive powered by MHonArc 2.6.16.