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 uncommentthe 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 file
PKG_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

 

最新文章

  1. EF:自定义Oracle的映射类型
  2. web系统访问频率限制
  3. 关于SQL Cookbook里dept与emp表结构以及数据
  4. Quartz.net使用总结
  5. Parameter 'id' not found. Available parameters are [1, 0, param1, param2]异常
  6. Nmap扫描手册
  7. 一次完整的HTTP事务是怎样一个过程?
  8. 新手接触java
  9. librtmp推流使用aac编码音频的html5和flash播放问题
  10. jvm内存模型及分配参数
  11. java获得项目绝对路径
  12. zoj3713 7Bit
  13. MySQL5.7: Paging using Mysql Stored Proc
  14. 学linux,从Ubuntu开始
  15. C#异步编程のTask模型返回值Task<TResult>应用
  16. git服务器的建立——Git折腾小记
  17. linux $* $@ 特定位置参数
  18. [IIS] 配置PHP的过程与坑
  19. python第十一课——转换结构
  20. Linux上多次restore Tensorflow模型报错

热门文章

  1. 读书笔记汇总 --- 用Python写网络爬虫
  2. hdu 4706 Children's Day(模拟)
  3. 读书笔记 (一) ———Fundamentals of Multiagent Systems with NetLogo Examples by Prof. Jose M Vidal
  4. javascript closure
  5. 关于用 MySQL 存储 Emoji
  6. 跨平台查询文件时间,如果超过7天,删除该文件(windows和linxu测试过)
  7. ios开发--网页中调用JS与JS注入
  8. C#字符串的常用操作
  9. Stop-The-World
  10. sqlmap批量扫描burpsuite请求日志记录