我已安装Computational Geometry Algorithms Library 4.3并按照CGAL4.3手册页(http://doc.cgal.org/latest/Manual/installation.html)上的说明进行操作。
在我编写了CGAL-4.3文件夹之后,它说:“make#build the CGAL libraries”。但是我找不到任何cmake命令或.exe文件来执行“make”。我在这里缺少什么?
下面我复制了手册页上的说明,以防有人无法访问它。
1简介
本文档介绍如何在Windows,类Unix系统和MacOS X上安装CGAL。
理想情况下,设置CGAL相当于:
cd CGAL-x.y#转到CGAL目录
cmake。 #configure CGAL
make#build the CGAL libraries
答案 0 :(得分:1)
您在Windows上,因此您可能没有make
。
您可以安装make或告诉Cmake生成除makefile之外的其他内容(例如Visual Studio项目)。 如果您使用Cygwin,安装make应该很容易,或者您已经拥有它。尝试在Cygwin提示符下键入make。
根据我在Windows上构建代码的有限经验,我建议安装MinGW和Code::Blocks。然后让Cmake使用MinGW生成Code :: Blocks项目。打开项目并构建它。干净又简单。
答案 1 :(得分:1)
请注意,CGAL项目提供Installation Instructions for Windows