Guide of SETUP ZED_SDK_Linux_x86_64_v0.9.2_beta.run

来源:互联网 发布:淘宝网站的发展现状 编辑:程序博客网 时间:2024/04/30 11:33

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 updatesudo apt-get upgradesudo reboot

Step 3

sudo apt-get install aptitudesudo aptitude install vimsudo aptitude install g++sudo aptitude install cmake

Step 4

sudo apt-get install build-essentialsudo 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 stopsudo dpkg -i cuda-repo-ubuntu1404_6.5-14_amd64.debsudo apt-get updatesudo aptitude install cuda-6-5sudo 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/binexport LD_LIBRARY_PATH=/usr/local/cuda-6.5/lib64:/usr/local/cuda-6.5/bin

Step 7

cd /usr/local/cuda/samplessudo 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 ~/Downloadsunzip opencv-2.4.9.zipcd 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 buildcd buildcmake -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 8sudo 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
原创粉丝点击