首页 / 操作系统 / Linux / OpenCV2.0.0在DM365上的移植
1.解压OpenCV2.0.0的源码2.进入源码目录,写一个configure.sh文件内容如下:#!/bin/bash
./configure
--host=arm-linux
--prefix=/root/Desktop/OpenCV_2.0.0_forARM
--libdir=/root/Desktop/OpenCV_2.0.0_forARM/lib
--includedir=/root/Desktop/OpenCV_2.0.0_forARM/include
--disable-apps
--enable-static
--enable-share
--without-gtk
--without-carbon
--without-quicktime
--without-1394libs
--with-v4l
--without-swig
--with-ffmpeg
--without-python
CXX=arm_v5t_le-g++
CC=arm_v5t_le-gcc
LDFLAGS=-L/opt/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le/lib
CXXFLAGS=-O2
CPPFLAGS=-I/opt/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le/include
AR=arm_v5t_le-ar
LD=arm_v5t_le-ld
RANLIB=arm_v5t_le-ranlib
STRIP=arm_v5t_le-strip注意改成自己的配置.尤其是交叉工具链的路径...3. ./configure.sh4. make5. make install注意:OpenCV2.0.0 下面没有 lib 文件夹需要自己新建个文件夹。 --------------------------------------分割线 --------------------------------------Ubuntu Linux下安装OpenCV2.4.1所需包 http://www.linuxidc.com/Linux/2012-08/68184.htmUbuntu 12.04 安装 OpenCV2.4.2 http://www.linuxidc.com/Linux/2012-09/70158.htmCentOS下OpenCV无法读取视频文件 http://www.linuxidc.com/Linux/2011-07/39295.htmUbuntu 12.04下安装OpenCV 2.4.5总结 http://www.linuxidc.com/Linux/2013-06/86704.htmUbuntu 10.04中安装OpenCv2.1九步曲 http://www.linuxidc.com/Linux/2010-09/28678.htm基于QT和OpenCV的人脸识别系统 http://www.linuxidc.com/Linux/2011-11/47806.htm--------------------------------------分割线 --------------------------------------OpenCV的详细介绍:请点这里
OpenCV的下载地址:请点这里本文永久更新链接地址:http://www.linuxidc.com/Linux/2014-10/107646.htm