jetson-inference教程(国内镜像):

(1)安装git和cmake, 并检出库到本地:
sudo apt-get install git cmake
git clone https://github.com/dusty-nv/jetson-inference

(2)更新submodule
cd jetson-inference
git submodule update –init

(3)切换到国内镜像:
sed -in-place -e ‘s@https://nvidia.box.com/shared/static@https://bbs.gpuworld.cn/mirror@g’ CMakePreBuild.sh

(4)编译jetson-inference
mkdir build
cd build
cmake ..

 

 

*************************************************************

sudo apt-get install qt4*

sudo apt-get install qtcreator

*************************************************************

[ 28%] Building CXX object utils/CMakeFiles/jetson-utils.dir/display/glDisplay.cpp.o
In file included from /home/lb/workspace/jetson-inference/utils/display/glDisplay.h:27:0,
from /home/lb/workspace/jetson-inference/utils/display/glDisplay.cpp:23:
/home/lb/workspace/jetson-inference/utils/display/glUtility.h:27:10: fatal error: GL/glew.h: No such file or directory
#include <GL/glew.h>
^~~~~~~~~~~
compilation terminated.
utils/CMakeFiles/jetson-utils.dir/build.make:379: recipe for target ‘utils/CMakeFiles/jetson-utils.dir/display/glDisplay.cpp.o’ failed
make[2]: *** [utils/CMakeFiles/jetson-utils.dir/display/glDisplay.cpp.o] Error 1
CMakeFiles/Makefile2:599: recipe for target ‘utils/CMakeFiles/jetson-utils.dir/all’ failed
make[1]: *** [utils/CMakeFiles/jetson-utils.dir/all] Error 2
Makefile:129: recipe for target ‘all’ failed
make: *** [all] Error 2

apt-cache search glew

sudo apt-get install xxxxxxxx

to jiejue glew problem