python扩展tre
2012-01-13 16:07
148 查看
为了将tre添加为python 的扩展,供xbmc插件启动、调用,需要在接口函数的源码文件添加#include <Python.h>,重新编译,但是……报错了
serviceSchedule.cpp:24:37: fatal error: Python.h: No such file or directory
compilation terminated.
make[1]: *** [serviceSchedule.o] Error 1
make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/lame-3.98.2/tre_new/mainservice'
make: *** [all] Error 2
需要安装python的开发版,例如yum install python-devel
问题是,现在的编译环境是osc build 下来,然后chroot的,头大了这下……
serviceSchedule.cpp:24:37: fatal error: Python.h: No such file or directory
compilation terminated.
make[1]: *** [serviceSchedule.o] Error 1
make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/lame-3.98.2/tre_new/mainservice'
make: *** [all] Error 2
需要安装python的开发版,例如yum install python-devel
问题是,现在的编译环境是osc build 下来,然后chroot的,头大了这下……
相关文章推荐
- PIL(python image library) mac os 扩展处理jpg
- Python3 与 C# 扩展之~基础拓展
- salt扩展与python脚本
- Python之安装第三方扩展库
- python 处理文件扩展名(过滤器,等)
- C扩展Python - official docs - defining new type
- python扩展数据结构—栈和队列
- SWIG and Python(用SWIG将C/C++封装为Python扩展模块)
- 使用 Docker Swarm 部署可扩展的 Python3 应用
- 用C语言扩展Python的功能
- 用python在树莓派上编程,你可以将项目扩展到令人难以置信的规模
- python 教程 第二十一章、 扩展Python
- RobotFramework的python扩展
- 详解Python的Django框架中manage命令的使用与扩展
- 用CONNECT方法突破HTTP代理服务器的扩展名封锁(python) [转] - MyNewID - 博客园
- python3.5之mysql扩展
- 用C语言扩展Python的功能
- windows 下 c 写的 python 的 mysql 扩展
- python的unittest測试框架的扩展浅谈
- Python扩展方法及工具比较