当我尝试编译Voronoi_Diagram_2示例时,我得到了这个输出:
singhg@~/Programming/examples/Voronoi_diagram_2 $ cmake -DCGAL_DIR=/opt/local/lib/cmake/
CMake Error at CMakeLists.txt:20 (include):
include could not find load file:
/opt/local//opt/local/lib/cmake/UseCGAL.cmake
CMake Error at CMakeLists.txt:22 (include):
include could not find load file:
CGAL_CreateSingleSourceCGALProgram
CMake Error at CMakeLists.txt:26 (create_single_source_cgal_program):
Unknown CMake command "create_single_source_cgal_program".
-- Configuring incomplete, errors occurred!
请帮忙!
答案 0 :(得分:3)
请点击此链接了解更多详情和疑问: http://cgal-discuss.949826.n4.nabble.com/Compiling-a-basic-CGAL-program-in-C-on-Mac-OS-X-10-7-2-td4166413.html
编译命令 致Cmake CGAL代码: cmake -DCGAL_DIR = / opt / local / lib / cmake