Guide of SETUP ZED_SDK_Linux_x86_64_v0.9.2_beta.run

Guide of SETUP ZED_SDK_Linux_x86_64_v0.9.2_beta.run

Hardware Environment: Intel Core i7 Processor & GTX 970

Step 1

Use integrated video card to show by setting GRAPHICS to iGPU in BIOS.
Install Ubuntu 14.04 LTS

Step 2

set software mirror to ustc. (My location is Hong Kong) (Make sure no failed to fetch in apt-get update)

sudo apt-get update
sudo apt-get upgrade
sudo reboot

Step 3

sudo apt-get install aptitude
sudo aptitude install vim
sudo aptitude install g++
sudo aptitude install cmake

Step 4

sudo apt-get install build-essential
sudo apt-get install libprotobuf-dev libleveldb-dev libsnappy-dev libopencv-dev libboost-all-dev libhdf5-serial-dev libgflags-dev libgoogle-glog-dev liblmdb-dev protobuf-compiler

Step 5

Ctrl+Alt+F1

sudo service lightdm stop
sudo dpkg -i cuda-repo-ubuntu1404_6.5-14_amd64.deb
sudo apt-get update
sudo aptitude install cuda-6-5
sudo reboot

You can download installation file at http://download.csdn.net/download/znculee/9294925 for free.
Use independent video card to show by setting GRAPHICS to Auto/PCIE in BIOS.

Step 6

vi ~/.bashrc

Add following in the end.

export PATH=$PATH:/usr/local/cuda-6.5/bin
export LD_LIBRARY_PATH=/usr/local/cuda-6.5/lib64:/usr/local/cuda-6.5/bin

Step 7

cd /usr/local/cuda/samples
sudo make all -j 8 # (the number of core in your CPU)
cd /usr/local/cuda/samples/bin/x86_64/linux/release
./deviceQuery # (Check your installation information)

Step 8

cd ~/Downloads
unzip opencv-2.4.9.zip
cd opencv-2.4.9

Replace NCVPixelOperations.hpp in folder named opencv-2.4.9 to fix the conflict of cuda 6.5 and opencv 2.4.9. You can download NCVPixelOperations.hpp at http://download.csdn.net/download/znculee/9294885 for free.

mkdir build
cd build
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D CUDA_GENERATION=Kepler .. # (Kepler is the structure of the GTX 970, and you may need to change it.)
make -j 8
sudo make install

Step 9

cd ~/Dowloads
./ZED_SDK_Linux_x86_64_v0.9.2_beta.run

You are welcome! Enjoy your research in 3D world with best regards!

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值