Download CMake 2.8.12

Extract the file, and run "./bootstrap", then "make", then "sudo make install"

Add some dependencies, run "sudo apt-get install build-essential libgtk2.0-dev libavcodec-dev libavformat-dev libjpeg62-dev libtiff4-dev cmake libswscale-dev libjasper-dev"

Download OpenCV 2.4.10 for linux

Extract the file, and go into the file, and run "cmake ."

After that, run "make"

Wait about 20 minutes and then run "sudo make install"

Download Qt for Linux

chmod +x qt-opensource-linux-x64-1.6.0-8-online.run

sudo ./qt-opensource-linux-x64-1.6.0-8-online.run

Open Qt Creator, in the .pro file, add

INCLUDEPATH+= /usr/local/include
INCLUDEPATH+=/usr/local/include/opencv
INCLUDEPATH+=/usr/local/include/opencv2
LIBS += -L /usr/local/lib/libopencv*

Build the project, if error "Cannot find -lGL" happens, run the following command in the terminal:

sudo apt-get -y install libgl1-mesa-dev

最新文章

  1. BZOJ1257 [CQOI2007]余数之和sum
  2. getElementByName()和getElementById的区别
  3. git rm–r folder fatal:pathspec "" did not match any files
  4. html中a标签做容器的问题
  5. wordpress搬家到本地URL修改问题
  6. cookie的三种操作方法
  7. 20步打造最安全的NGINX WEB服务器
  8. C#分层开发MySchool
  9. SQLServer优化资料整理(一)
  10. CMake学习
  11. 常用js功能函数汇总(持续更新ing)
  12. python打包exe pyinstaller 简单使用
  13. 常用 Git 命令清单
  14. 深度学习框架: Keras官方中文版文档正式发布
  15. 【MyBatis】MyBatis自动生成代码查询之爬坑记
  16. 【一天一道LeetCode】#99. Recover Binary Search Tree
  17. 110道python面试题
  18. [Unit Test] Unit Test Brief Introduction
  19. SQLServer中DataLength()和Len()两内置函数的区别(转载)
  20. git 学习汇总

热门文章

  1. Delphi经验总结(1)
  2. 如何在Ubuntu下安装”.deb“、”.bin“、”.tar.gz“、”.tar.bz2“格式的软件包!
  3. July 30th, Week 31st Saturday, 2016
  4. mongodb数据结构学习1--增删改查
  5. C++中的static数据成员与static成员函数
  6. Linux网络编程必看书籍推荐
  7. /etc/profile和$HOME/.bash_profile
  8. CentOS下源码安装mplayer播放器
  9. poj 1459 多源多汇点最大流
  10. sina sae 部署 java ssh 项目