无法使用 brew 安装 cgal-qt5。

问题描述 投票:0回答:1

我已经关注了网站的 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但我无法修复它。希望有人能帮助我。谢谢。

cgal
1个回答
0
投票

其实这里的文档是错误的。这个PR从来没有被接受过,而关于brew上cgal的文档是在PR取消之前发布的。在brew上,你可以用以下方法安装cgal。brew install cgal 但你不会有GUI元素在该包中,直到 此公关 是一体化的。

© www.soinside.com 2019 - 2024. All rights reserved.