BoostBuild: patchlevel.h does not exist

ⅰ亾dé卋堺 提交于 2019-12-21 03:23:09

问题


I'm trying to compile a C++ project using bjam on Ubuntu 11.04. I keep getting the following error:

../../libraries/boost_1_44_0/boost/python/detail/wrap_python.hpp:75:24: fatal error: patchlevel.h: No such file or directory

I searched my project directory and there are several files named patchlevel.h but I don't know what they are. Are they part of Boost?

I also get this error several times:

pa-vision-lib/../captureformat.h:4:25: fatal error: linux/ovcam.h: No such file or directory

This file also definitely exists. Is there a path setting of some sort in any of the Boost config files that I need to change to point to these files?


回答1:


IIRC patchlevel.h is a python-dev header, check this package is installed (i dont remember the exact name but it si the C header for python binding).

ovcam.h is not part of boost in anyway.




回答2:


For Ubuntu Server 12.04 LTS, please try:

apt-get install python-dev



来源:https://stackoverflow.com/questions/6782071/boostbuild-patchlevel-h-does-not-exist

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