BoostBuild:patchlevel.h不存在 [英] BoostBuild: patchlevel.h does not exist
问题描述
我正在尝试在Ubuntu 11.04上使用bjam编译C ++项目.我不断收到以下错误:
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
我搜索了项目目录,有几个名为patchlevel.h的文件,但我不知道它们是什么.他们是Boost的一部分吗?
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?
我也多次遇到此错误:
pa-vision-lib/../captureformat.h:4:25: fatal error: linux/ovcam.h: No such file or directory
此文件也肯定存在.我需要更改以指向这些文件的任何Boost配置文件中是否存在某种路径设置?
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?
推荐答案
IIRC patchlevel.h是python-dev标头,请检查该软件包是否已安装(我不记得确切的名称,但它是python绑定的C标头)
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无论如何都不是boost的一部分.
ovcam.h is not part of boost in anyway.
这篇关于BoostBuild:patchlevel.h不存在的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!