写在前面
笔者的环境:
Ubuntu 16.04
编译报错
编译程序的时候遇到如下报错:
Could not find a package configuration file provided by "CGAL" with any of
the following names:
CGALConfig.cmake
cgal-config.cmake
Add the installation prefix of "CGAL" to CMAKE_PREFIX_PATH or set
"CGAL_DIR" to a directory containing one of the above files. If "CGAL"
provides a separate development package or SDK, be sure it has been
installed.
解决方法
缺少cgal库,直接安装就可以。
sudo apt-get install libcgal-dev