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!