dusty-nv / jetson-reinforcement

Deep reinforcement learning GPU libraries for NVIDIA Jetson TX1/TX2 with PyTorch, OpenAI Gym, and Gazebo robotics simulator.
MIT License
874 stars 225 forks source link

Does not compile with Gazebo 9 #14

Closed mhubii closed 6 years ago

mhubii commented 6 years ago

Hi,

thank you for reading this. I am trying to compile the code and have Gazebo 9 already installed and that may lead to the errors. I am on Ubuntu 16.04 and Pytorch from the master branch is already built from source.

martin@mars:~/Downloads/jetson-reinforcement/build$ make -j8

[huge error code]

make[2]: *** [gazebo/CMakeFiles/gazeboArmPlugin.dir/ArmPlugin.cpp.o] Error 1
CMakeFiles/Makefile2:205: recipe for target 'gazebo/CMakeFiles/gazeboArmPlugin.dir/all' failed
make[1]: *** [gazebo/CMakeFiles/gazeboArmPlugin.dir/all] Error 2
gazebo/CMakeFiles/gazeboRoverPlugin.dir/build.make:62: recipe for target 'gazebo/CMakeFiles/gazeboRoverPlugin.dir/RoverPlugin.cpp.o' failed
make[2]: *** [gazebo/CMakeFiles/gazeboRoverPlugin.dir/RoverPlugin.cpp.o] Error 1
CMakeFiles/Makefile2:167: recipe for target 'gazebo/CMakeFiles/gazeboRoverPlugin.dir/all' failed
make[1]: *** [gazebo/CMakeFiles/gazeboRoverPlugin.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
mhubii commented 6 years ago

Removing Gazebo 9 and replacing it by 7 did the job