ubuntu 11.10 (64bit) install opencv 2.4.8 and run in Qtcreator
install gtk2+ sudo apt-get install libgtk2.0*
sudo apt-get install cmake-qt-gui
tar xzvf opencv-2.4.8.tar.gz
mkdir build in the ~ dir the opencv-2.4.8 in the same ~ dir run cmake-qt-gui
cd to the build dir run make
if the error (2.4.8)error: /opencv248/opencv-2.4.8/cmake/cl2cpp.cmake:50 (string): string does not recognize sub-command MD5 occur
just uncomment
the cl2cpp.cmake
file in line 50 and make again sudo make install
make a new file named opencv.conf
nano /etc/ld.so.conf.d/opencv.conf
and add the content
/usr/local/lib
run the following commend
sudo ldconfig
add the follow to the end of your ~/.bashrc
filePKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig
export PKG_CONFIG_PATH
and run commend
source ~/.bashrc
wget http://download.qt-project.org/official_releases/qt/5.0/5.0.2/qt-linux-opensource-5.0.2-x86-offline.run chmod +x qt-linux-opensource-5.0.2-x86-offline.run ./qt-linux-opensource-5.0.2-x86-offline.run
sudo apt-get install build-essential
sudo apt-get install mesa-common-dev
sudo apt-get install libglu1-mesa-dev -y
sudo apt-get install mesa-common-dev
最新文章
- EF:自定义Oracle的映射类型
- web系统访问频率限制
- 关于SQL Cookbook里dept与emp表结构以及数据
- Quartz.net使用总结
- Parameter 'id' not found. Available parameters are [1, 0, param1, param2]异常
- Nmap扫描手册
- 一次完整的HTTP事务是怎样一个过程?
- 新手接触java
- librtmp推流使用aac编码音频的html5和flash播放问题
- jvm内存模型及分配参数
- java获得项目绝对路径
- zoj3713 7Bit
- MySQL5.7: Paging using Mysql Stored Proc
- 学linux,从Ubuntu开始
- C#异步编程のTask模型返回值Task<;TResult>;应用
- git服务器的建立——Git折腾小记
- linux $* $@ 特定位置参数
- [IIS] 配置PHP的过程与坑
- python第十一课——转换结构
- Linux上多次restore Tensorflow模型报错
热门文章
- 读书笔记汇总 --- 用Python写网络爬虫
- hdu 4706 Children&#39;s Day(模拟)
- 读书笔记 (一) ———Fundamentals of Multiagent Systems with NetLogo Examples by Prof. Jose M Vidal
- javascript closure
- 关于用 MySQL 存储 Emoji
- 跨平台查询文件时间,如果超过7天,删除该文件(windows和linxu测试过)
- ios开发--网页中调用JS与JS注入
- C#字符串的常用操作
- Stop-The-World
- sqlmap批量扫描burpsuite请求日志记录