从源代码安装cgkit时出错

Error while installing cgkit from source

本文关键字:出错 cgkit 安装 源代码      更新时间:2023-10-16

我正在尝试从MacOS上的源代码安装cgkit库。为此,我运行命令

python setup.py install

并得到这个错误:

supportlib/include/slot.h:549:5: error: use of overloaded operator '<<' is ambiguous
  (with operand types 'std::ostream' (aka 'basic_ostream<char>') and 'const
  boost::python::api::object')

如何解决?或者我可以解决它只删除文件slot.h和安装库没有它?

好的。似乎,这个问题是在MacOS命令行工具版本。