本文介绍了从源代码安装cgkit时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试从MacOS上的源代码安装cgkit库.为此,我正在运行命令
I'm trying to install library for cgkit from source on MacOS. For that I'm running command
python setup.py install
adn出现此错误:
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并安装没有它的库来解决它?
How can I resolve it? Or I can resolve it only removing file slot.h and install library without it?
推荐答案
好.看来,该问题出在MacOS命令行工具版本中.我用Ubuntu设置了流浪汉并成功构建了库.
Ok. It seems, that problem was in MacOS Command Line Tools version. I setting vagrant with Ubuntu and successfully builded library.
这篇关于从源代码安装cgkit时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!