OpenCV:关于Ubuntu下安装OpenCV.2.3.1时出现cmake错误的解决办法
来源:互联网 发布:java 1603 编辑:程序博客网 时间:2024/05/18 01:07
我在安装opencv的时候,用到cmake语句(书上P204语句)时,发生了各种错误,然后找了一个礼拜的资料终于解决了,希望大家少走弯路,下面把解决办法附上,另外非常感谢此百度博文博主!
Insall OpenCV on Ubuntu 11.10 and later
I tried to install the both opencv-2.3.0 and opencv-2.3.1 for several times and it never works, which disappointed me very much. Open a blog for this issue, hoping solve it one day.
I have tried the opencv-2.4.0, it works very well and seems that it does not show any error in my compilation process.
Issue 1. when using cmake, the result always gives:
"CUDA_TOOLKIT_ROOT_DIR not found or specified", CUDA is a parallel computing platform and programming model that enables dramatic increases in computing performance by harnessing the power of the graphics processing unit (GPU). It is only developed for NVdia GPU. However, it seems that not all PC will be equipped with that kind of GPU, theoretically, it is not necessary to install it and we make the option WITH_CUDA OFF. Also the opencv only support CUDA 4.0 now from the post bellow.
http://tech.groups.yahoo.com/group/OpenCV/message/85791
From below link, you can install CUDA 4.0 successfully
http://blog.ryant.org/2011/12/installing-cuda-toolkit-on-ubuntu-1110.html
Issue 2. ImportError: No module named sphinx:
Just copy the following line, then this problem disappear.
sudo apt-get install python-sphinx
Issue 3. ImportError: No module named numpy.distutils
sudo apt-get install python-numpy
Issue 4. JASPER (JASPER LIBRARY, JASPER_INCLUDE_ADDR)
sudo apt-get install libjasper-dev
- OpenCV:关于Ubuntu下安装OpenCV.2.3.1时出现cmake错误的解决办法
- ubuntu 下编译安装cmake、OpenCV
- ubuntu下安装opencv,cmake出错,解决方法
- Ubuntu下OpenCV的安装卸载与CMake编译
- Mac配置Opencv时出现cmake错误
- opencv-contrib在cmake中出现下载错误的解决。
- opencv-contrib在cmake中出现下载错误的解决
- CMAKE编译opencv源码错误解决办法
- VC6.0应用OpenCV时出现的错误及解决办法
- ubuntu下opencv的安装
- 安装opencv时cmake的问题
- 安装opencv出现常见问题的解决办法
- UBUNTU 下编译安装opencv 2.3.1
- UBUNTU 下编译安装opencv 2.3.1
- UBUNTU 下编译安装opencv 2.3.1
- ubuntu 下编译安装opencv 2.3.1
- UBUNTU 下编译安装opencv 2.3.1
- ubuntu 12.04下安装opencv 2.3.1
- Jira集成Jenkins
- DFS求解DecodeWays输出所有情况和方法数
- 耶鲁大学博士演讲:拉普拉斯矩阵图像的算法和应用
- Sql多条件查询
- Docker Swarm
- OpenCV:关于Ubuntu下安装OpenCV.2.3.1时出现cmake错误的解决办法
- 不做“沉默的帮凶”:腾讯联合公安部发起反电信网络诈骗宣传月
- 预告:技术迎来突破,商用无人机还有哪些可能性? | 硬创公开课
- Python中partial函数的工作原理
- Ribbon基础入门和特性讲解
- Spring Boot学习之旅:(九)拦截器
- Step 9:Processing配合麦克风的实时声音可视化
- 只属于你的180寸私人影院
- 汽车厂商布局分时租赁,是砒霜还是蜜糖?