我关注了CGAL的网站。它告诉我可以使用命令brew install cgal-qt5
安装它。
但我收到了以下错误消息:
Updating Homebrew...
Error: No available formula with the name "cgal-qt"
==> Searching for a previously deleted formula (in the last month)...
Warning: homebrew/core is shallow clone. To get complete history run:
git -C "$(brew --repo homebrew/core)" fetch --unshallow
Error: No previously deleted formula found.
==> Searching for similarity named formulae...
Error: No similarly named formula found.
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in tabs.
当我运行示例draw_triangulation_2.cpp
时,它有一个致命错误:
'CGAL/Qt/Basic_viewer_qt.h' file not found
我猜这个结果是因为缺少cgal-qt5
而产生的,但我无法修复它。我希望有人能帮助我。谢谢。
发布于 2020-06-04 15:51:29
实际上这里的医生是错的。此PR从未被接受,并且在PR取消之前发布了关于brew上的cgal的文档。在brew上,您可以将cgal与brew install cgal
一起安装,但在集成this PR之前,该软件包中不会包含图形用户界面元素。
https://stackoverflow.com/questions/62164171
复制相似问题