【问题标题】:Can't install cgal-qt5 using brew install cgal-qt5无法使用 brew install cgal-qt5 安装 cgal-qt5
【发布时间】:2020-06-03 02:18:03
【问题描述】:

我关注了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 报告错误,你可以在他们的 Github 上 Open an issue,或者浏览他们的 Issue Tracker
  • qt后面的5你忘记了吗?

标签: cgal


【解决方案1】:

实际上这里的文档是错误的。对此的 PR 从未被接受,关于 cgal on brew 的文档是在 PR 取消之前发布的。在 brew 上,您可以使用 brew install cgal 安装 cgal,但在集成 this PR 之前,您不会在该软件包中拥有 GUI 元素。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2019-06-18
    • 1970-01-01
    • 2018-02-26
    • 1970-01-01
    • 2013-06-29
    • 1970-01-01
    • 2021-01-27
    相关资源
    最近更新 更多