dusty-nv/jetson-reinforcement

tx2 and jetpack 3.2.1

aysegulucar2016 opened this issue · 0 comments

I installed jetpack 3.2.1 on jetson tx2. Later I installed pip 10.

Finally I installed directly your code without installing ROS gazebo and gym.

$ sudo apt-get install cmake
$ git clone http://github.com/dusty-nv/jetson-reinforcement
$ cd jetson-reinforcement
$ git submodule update --init
$ mkdir build
$ cd build
$ cmake ../
$ make
After final step --make step--
I received error. what is problem

Scanning dependencies of target jetson-reinforcement
[ 40%] Building CXX object CMakeFiles/jetson-reinforcement.dir/c/dqnAgent.cpp.o
[ 42%] Building CXX object CMakeFiles/jetson-reinforcement.dir/c/rlAgent.cpp.o
In file included from /home/nvidia/jetson-reinforcement/c/rlAgent.cpp:6:0:
/home/nvidia/jetson-reinforcement/c/pyTorch.h:14:19: fatal error: TH/TH.h: No such file or directory
compilation terminated.
CMakeFiles/jetson-reinforcement.dir/build.make:93: recipe for target 'CMakeFiles/jetson-reinforcement.dir/c/rlAgent.cpp.o' failed
make[2]: *** [CMakeFiles/jetson-reinforcement.dir/c/rlAgent.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/jetson-reinforcement.dir/all' failed
make[1]: *** [CMakeFiles/jetson-reinforcement.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2