Unable to build Boost.Python

隐身守侯 提交于 2019-12-01 11:32:55
Chaitanya

The problem was not installing the python-devel or python-dev package corresponding to my python version.

In my case it was python2.6 so

sudo yum install python26-devel did the trick.

I had a similar issue in my project and above would not help. I was cross-compiling python and boost, and the actual issue for me was duplication of the 'using python : ' in configuration (one existed in project-config.jam, following the bootstrap.sh/bat execution and I was trying to add another python config myself to a user-config.jam).

This solution was described in here: http://comments.gmane.org/gmane.comp.lib.boost.build/22088

and here: https://groups.google.com/forum/#!topic/boost-developers-archive/namMFSO_6Rg

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!