【问题标题】:compile cgal-python编译 cgal-python
【发布时间】:2011-07-30 12:07:15
【问题描述】:

我尝试构建 cgal-python 并出现以下错误(只是一个 sn-p):

In file included from /opt/local/include/boost/config.hpp:40,
             from /opt/local/include/CGAL/config.h:37,
             from /opt/local/include/CGAL/basic.h:28,
             from Kernel_module.cpp:21,
             from All_files_at_once.cpp:1:
/opt/local/include/boost/config/select_stdlib_config.hpp:17:19: error: cstddef: No such     file or directory

MacOS Lion 上标准 C 库的头文件在哪里?

【问题讨论】:

  • cstddef 是 C++ 头文件,而不是 C 头文件。

标签: c++ python macos cgal


【解决方案1】:

我将 XCode 升级到 4.1,现在上面的错误已经消失了。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多