SWIG 安装升压错误
SWIG Installation Boost Errors
我正在安装 Swig 3.0.12。这是我第一次使用它。我运行:
make -k check 安装后,它返回了一些 boost 错误。在下面的例子中,它们来自 Python 检查,但是几乎所有检查中都出现了 boost 错误。我应该考虑纠正这些错误吗?如果是的话,我有什么想法可以解决吗?
错误:
multiple_inheritance_shared_ptr_wrap.cxx:3131:10: fatal error:
'boost/shared_ptr.hpp' file not found
#include <boost/shared_ptr.hpp>
^
1 error generated.
make[2]: *** [python_cpp] Error 1
make[1]: *** [multiple_inheritance_shared_ptr.cpptest] Error 2
.
. (dots indicate the error below occurred later in the check)
.
make[1]: Target `check' not remade because of errors.
make: *** [check-python-test-suite] Error 1
更新:make -k 检查刚刚完成。检查的最后一行返回:
make: Target ``check' not remade because of errors.
我安装了 homebrew,然后安装了 boost。重做make -k check,一切顺利通过。
我正在安装 Swig 3.0.12。这是我第一次使用它。我运行:
make -k check 安装后,它返回了一些 boost 错误。在下面的例子中,它们来自 Python 检查,但是几乎所有检查中都出现了 boost 错误。我应该考虑纠正这些错误吗?如果是的话,我有什么想法可以解决吗?
错误:
multiple_inheritance_shared_ptr_wrap.cxx:3131:10: fatal error:
'boost/shared_ptr.hpp' file not found
#include <boost/shared_ptr.hpp>
^
1 error generated.
make[2]: *** [python_cpp] Error 1
make[1]: *** [multiple_inheritance_shared_ptr.cpptest] Error 2
.
. (dots indicate the error below occurred later in the check)
.
make[1]: Target `check' not remade because of errors.
make: *** [check-python-test-suite] Error 1
更新:make -k 检查刚刚完成。检查的最后一行返回:
make: Target ``check' not remade because of errors.
我安装了 homebrew,然后安装了 boost。重做make -k check,一切顺利通过。