歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux技術 >> ZedBoard上移植OpenCV

ZedBoard上移植OpenCV

日期:2017/3/3 12:47:02   编辑:Linux技術
目的:實現OpenCV在ZedBoard上的移植
host os:Win7sp1-64bit
vm os:Ubuntu14.04.4
參考:
http://www.wiki.xilinx.com/OpenCV+Installation

一. 准備工作

1. OpenCV下載
官網:http://opencv.org/downloads.html
我下載的是linux版的opencv-3.1.0
2. FFmpeg下載
官網:http://www.ffmpeg.org/download.html
我下載的是ffmpeg-3.0.2
Ubuntu上需要安裝的pkg:(這裡假設Vivado2015.4已經安裝完畢)
2. cmake、cmake-curses-gui
$sudo apt-get install cmake cmake-curses-gui
我的話,是用Ubuntu軟件中心下載的

二. 安裝FFmpeg

1. 在ffmpeg源文件目錄下(源文件不能放在共享文件夾下),輸入
$./configure --enable-shared --disable-static --cross-prefix=arm-xilinx-linux-gnueabi- --arch=armv7l --target-os=linux --prefix=/opt/local
$make
$make install
Copyright © Linux教程網 All Rights Reserved