dusty-nv/jetson-reinforcement

cmake ../

aysegulucar2016 opened this issue · 2 comments

I tried jetson-reinforcement on my new jetson tx2. It has Tegra R28.1.I have not installed a new jetpack version or the new software yet.

However i received some errors. what is the errors

Can I use jetson-reinforcement together with Tegra R28.1

thanks

nvidia@tegra-ubuntu:~/jetson-reinforcement/build$ cmake ../
CUDA_TOOLKIT_ROOT_DIR not found or specified
-- Could NOT find CUDA (missing: CUDA_TOOLKIT_ROOT_DIR CUDA_NVCC_EXECUTABLE CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY)
-- system arch: aarch64
-- output path: /home/nvidia/jetson-reinforcement/build/aarch64
-- nvcuda path: CUDA_TOOLKIT_ROOT_DIR-NOTFOUND
CMake Warning (dev) at CMakeLists.txt:68 (link_directories):
This command specifies the relative path

CUDA_TOOLKIT_ROOT_DIR-NOTFOUND/lib64

as a link directory.

Policy CMP0015 is not set: link_directories() treats paths relative to the
source dir. Run "cmake --help-policy CMP0015" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.

-- Copying /home/nvidia/jetson-reinforcement/c/deepRL.h
-- Copying /home/nvidia/jetson-reinforcement/c/rlAgent.h
-- Copying /home/nvidia/jetson-reinforcement/c/dqnAgent.h
-- Copying /home/nvidia/jetson-reinforcement/c/aiAgent.h
-- Copying /home/nvidia/jetson-reinforcement/c/pyTensor.h
-- Copying /home/nvidia/jetson-reinforcement/c/pyTorch.h
-- Copying /home/nvidia/jetson-reinforcement/cuda/cudaPlanar.h
-- Copying /home/nvidia/jetson-reinforcement/python/gym-actorCritic.py
-- Copying /home/nvidia/jetson-reinforcement/python/RL.py
-- Copying /home/nvidia/jetson-reinforcement/python/test-torch.py
-- Copying /home/nvidia/jetson-reinforcement/python/test-interop.py
-- Copying /home/nvidia/jetson-reinforcement/python/gym-DQN.py
-- Copying /home/nvidia/jetson-reinforcement/python/gym-RL.py
-- Copying /home/nvidia/jetson-reinforcement/python/DQN.py
-- Copying /home/nvidia/jetson-reinforcement/python/intro-DQN.ipynb
-- Copying /home/nvidia/jetson-reinforcement/python/intro-pytorch.ipynb
CMake Warning at /usr/share/cmake-3.5/Modules/FindBoost.cmake:725 (message):
Imported targets not available for Boost version
Call Stack (most recent call first):
/usr/share/cmake-3.5/Modules/FindBoost.cmake:763 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake-3.5/Modules/FindBoost.cmake:1332 (_Boost_MISSING_DEPENDENCIES)
gazebo/CMakeLists.txt:5 (find_package)

CMake Error at /usr/share/cmake-3.5/Modules/FindBoost.cmake:1677 (message):
Unable to find the requested Boost libraries.

Unable to find the Boost header files. Please set BOOST_ROOT to the root
directory containing Boost or BOOST_INCLUDEDIR to the directory containing
Boost's headers.
Call Stack (most recent call first):
gazebo/CMakeLists.txt:5 (find_package)

-- Checking for module 'gazebo'
-- No package 'gazebo' found
-- jetson-utils: building as submodule, /home/nvidia/jetson-reinforcement

Hi, I'm just going through this exercise myself on the TX2. I have Jetpack 3.1 L4T r28.1 installed. Yes I was able to successfully do the build for jetson-reinforcement. Did you try a fresh install of Jetpack 3.1? Seems to be complaining about CUDA. Maybe the symbolic link got deleted. Try this command: sudo ln -s /usr/local/cuda-8.0 /usr/local/cuda. I have CUDA 8.0 installed.

Unfortunately I think that I need to a fresh install of Jetpack 3.1. sudo ln -s /usr/local/cuda-8.0 /usr/local/cuda does not work. thanks
.