标签:yum bsp tool first span 提示 roman rod python2.7
参考网站
http://www.cnblogs.com/fesh/p/4110535.html
http://www.it1352.com/324364.html (python 问题解决)
http://stackoverflow.com/questions/18729495/installing-opencv-with-python-module-on-centos-goes-wrong/18733071#18733071 (python 问题解决)
http://www.jb51.net/os/RedHat/280309.html (依赖安装,cmake参数)
一、直接cmake
问题:
解决:
You need to reinstall python with shared and static way.
Firstly, download Python source file again.
and then..
重新安装python
二、安装依赖包
三、生成make文件并安装
CMake配置
//这里可能提示line44错误。 进去Cmakelist.txt,把第44行注释掉
// 注意NO后面为空格+. 必不可少。
Build files have been written to :/****表示cmake成功
编译
[100%] Built target opencv_visualisation
编译成功
安装
配置
/usr/lib //添加配置文件/usr/lib/pkgconfig/opencv.pc位置
或者是/usr/local/lib //位置一定要正确
标签:yum bsp tool first span 提示 roman rod python2.7
原文地址:http://www.cnblogs.com/yizhichun/p/6339763.html