Jetson tx1 安装opencv2.4.13

参考网址:

1、 http://elinux.org/Jetson/Installing_OpenCV

2、 http://blog.csdn.net/Jalong_Ma/article/details/52743923

过程1、

sudo add-apt-repository universe
sudo apt-get update

2安装库:

# Some general development libraries
sudo apt-get -y install build-essential make cmake cmake-curses-gui g++
# libav video input/output development libraries
sudo apt-get -y install libavformat-dev libavutil-dev libswscale-dev
# Video4Linux camera development libraries
sudo apt-get -y install libv4l-dev
# Eigen3 math development libraries
sudo apt-get -y install libeigen3-dev
# OpenGL development libraries (to allow creating graphical windows)
sudo apt-get -y install libglew1.6-dev
# GTK development libraries (to allow creating graphical windows)
sudo apt-get -y install libgtk2.0-dev

注意:一定要在正式安装opencv前,把库先装好,不然后面会报错,还得重新编译。重点安装libgtk2.0-dev.

按照第二个网址里面的,需注意:

cmake -DWITH_CUDA=ON -DCUDA_ARCH_BIN="5.3" -DCUDA_ARCH_PTX="" -DBUILD_TESTS=OFF -DBUILD_PERF_TESTS=OFF -DCUDA_FAST_MATH=ON ..
jetson tx1的计算架构是5.3,jetson tk1是3.2,需注意下。

其他参考一下上面两个网址,便可顺利安装测试了。

lz之前参考网址:http://blog.csdn.net/hitwengqi/article/details/7292102

https://github.com/Essarelle/JetsonTX1

你可能感兴趣的:(opencv,Jetson,TX1)