各种配环境是真滴难受,,
一晚上终于搞好了,
cgal 4.12
boost 1.68.0
opengl
freeglut-MSVC 3.0.0
包含目录:
库目录:
链接器->输入->附加依赖项
代码:
//
#include "stdafx.h"
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/Projection_traits_xy_3.h>
#include <CGAL/Delaunay_triangulation_2.h>
#include <GL/freeglut.h>
#include <iostream>
#include <cmath>
typedef CGAL::Exact_predicates_inexact_constructions_kernel K;
typedef CGAL::Delaunay_triangulation_2<K> Delaunay;
typedef Delaun