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 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

 

时间: 2024-09-30 16:23:42

ubuntu 11.10 (64bit) install opencv 2.4.8 and run in Qtcreator的相关文章

ubuntu 11.10 安装apache2 tomcat6

ubuntu 11.10 安装apache2 tomcat6 导读 Tomcat是Apache 软件基金会(Apache Software Foundation)的Jakarta 项目中的一个核心项目,由Apache.Sun 和其他一些公司及个人共同开发而成.由于有了Sun 的参与和支持,最新的Servlet 和JSP 规范总是能在Tomcat 中得到体现,Tomcat 5支持最新的Servlet 2.4 和JSP 2.0 规范.因为Tomcat 技术先进.性能稳定,而且免费,因而深受Java

Ubuntu 11.10 (Oneiric)上编译带utrace补丁的内核 转

Ubuntu 11.10 (Oneiric)上编译带utrace补丁的内核 首先准备linux内核编译环境: sudo apt-get install fakeroot build-essential crash kexec-tools makedumpfile kernel-wedge kernel-package sudo apt-get build-dep linux sudo apt-get install git-core libncurses5 libncurses5-dev lib

Ubuntu 11.10 安装GMONE3,卸载 UNITY和UNITY 2D

Ubuntu 11.10安装GNOME3: 1)sudo apt-get install gnome-shell sudo apt-get install gnome-themes* (或者简单的选择 sudo apt-get install gnome-themes-standard) sudo apt-get install gnome-tweak-tool 2)sudo apt-get install gnome-session-fallback 卸载 UNITY和UNITY 2D: su

【转】ubuntu 11.10(32位系统)下编译android源码

原文网址:http://www.cnblogs.com/dwayne/archive/2011/11/16/2251734.html 本文介绍在ubuntu 11.10系统下编译android 2.3.3源码,编译之前请确定上两篇文章(http://www.cnblogs.com/dwayne/archive/2011/11/16/2250732.html和http://www.cnblogs.com/dwayne/archive/2011/11/11/2245383.html)中所需的准备工作

Ubuntu 11.10 Server下搭建Maven私服

安装Nexus服务的文档可以参考官方站点:http://www.sonatype.com/books/nexus-book/reference/install-sect-install.html 相关阅读: Ubuntu Maven安装与配置 http://www.codesky.net/Linux/2011-07/38964.htm 1.下载并安装Nexus在Ubuntu 11.10 server上,下载Nexus最新版本.和官方文档不一样的地方是,我将nexus放在了/usr而不是/usr/

Ubuntu 16.10(x86) Install WordPress SRV 4.7.1-1-2

Login SRVbr/>輸入用戶名:user:密碼:[email protected] Login Root(超級管理員)輸入:sudo su:輸入密碼:[email protected] 輸入:ifconfig(查詢SRV IP Address)(黃色標示) 打開系統流覽器,輸入以上[IP位址] 正常會看到Apache2默認頁面 Windows 上安裝XShell5 免費程式[Command接入Ubuntu] 1 2 3 4 [新建對話框]輸入[名稱],選擇[SSH]協議,[主機,IP_Ad

[转]ubuntu 11.10 mini2440 qte4.6.3开发环境的建立

原文:http://blog.chinaunix.net/uid-26696487-id-3149316.html 环境:ubunt 11.10硬盘安装qt版本:qte4.6.3设备平台:mini2440交叉编辑器:4.4.31.将 qt-everywhere-opensource-src-4.6.3.tar.gz 压缩包解压为3份,分别编译 PC ,嵌入式 x86 和 arm 三个版本.2. 编译 PC 版:进入pc目录#./configure# gmake# gmake install 如果

nginx-1.11.10 download, install, start and stop

Environment:(CentOS 7) 1 [[email protected]_x1 nginx-1.11.10]$ uname -a 2 Linux netlab_x1 3.10.0-327.28.2.el7.x86_64 #1 SMP Wed Aug 3 11:11:39 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux Download: 1 # download and uncompress 2 wget http://nginx.org/downl

ubuntu 14.10 64bit系统安装mac主题

转载请说明出处:http://blog.csdn.net/cywosp/article/details/41612607 一. 先上两张图看看 二. 具体安装方法 1. 设置软件源,这些源在国外,速度有点慢 sudo add-apt-repository ppa:noobslab/themes sudo add-apt-repository ppa:noobslab/apps sudo add-apt-repository ppa:docky-core/ppa sudo apt-get upda