【问题标题】:CGAL Polyhedron demo (5.0.2) boost problemCGAL Polyhedron demo (5.0.2) boost 问题
【发布时间】:2020-07-02 12:20:45
【问题描述】:

我似乎无法在 Cgal 5.0.2 上配置多面体演示。

我能够制作和构建其他所有东西,所以想知道问题出在哪里?我在使用 cmake 时遇到了这个输出。

Boost version: 1.65.1
Found the following Boost libraries:
  serialization
  iostreams
  regex
    CMake Error at Installation/cmake/modules/CGAL_Boost_iostreams_support.cmake:36 (set_target_properties):
      set_target_properties called with incorrect number of arguments.
    Call Stack (most recent call first):
      Polyhedron/demo/Polyhedron/Plugins/Classification/CMakeLists.txt:9 (include)

我对 cmake 等并不精通,所以如果有什么我错过了,请原谅。到目前为止,我已经在互联网上对此进行了搜索,但无济于事。有人可以帮忙吗?

谢谢

【问题讨论】:

  • CMakeLists.txt 与 CMake 版本不匹配。升级 CMake,或修复构建脚本中的兼容性问题。添加cmake.org/cmake/help/v3.0/command/cmake_minimum_required.html 可能就足够了
  • 谢谢 - 这确实是问题所在。从 CMAKE 3.10 > 3.17 升级解决了这个问题,然后我就可以制作和构建演示了。

标签: boost cmake cgal


【解决方案1】:

感谢 sehe 的建议。从 CMAKE 3.10 > 3.17 升级解决了这个问题,然后我就可以制作和构建演示了。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2017-12-26
    • 2016-11-26
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多