简介

INSTALL.md里面的文字
感觉cgal只需要头文件??
似乎是的,因为我好像也没有安装它
安装可以参考这个连接,比较详细,windows 里面的安装
https://www.bilibili.com/video/BV1mU4y1p71t?from=search&seid=1430362000554699007

INSTALL.md

Since Version 5.0, CGAL is a header-only library, hence it is not needed to build it. Usage of CGAL should simply amount to:

git clone https://github.com/CGAL/cgal.git /path/to/cgal.git
cd /path/to/cgal.git/Triangulation_2/examples/Triangulation_2
mkdir -p build/debug
cd build/debug
cmake -DCMAKE_BUILD_TYPE=Debug -DCGAL_DIR=/path/to/cgal.git ../..
make

in the case of building some CGAL-provided examples in debug mode.

Note that although CGAL is a header-only library, some parts of it must link to several external libraries, such as GMP, MPFR, etc.

Building a Program Using CGAL

对于需要的辅助库文件可以在下面的连接下载

https://github.com/CGAL/cgal/releases/download/v5.2.1/CGAL-5.2.1-win64-auxiliary-libraries-gmp-mpfr.zip

posted on 2021-03-25 16:52  HDU李少帅  阅读(103)  评论(0编辑  收藏  举报