dusty-nv / jetson-reinforcement

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

run "./gazebo-arm.sh", error raised, "This program requires version 3.5.0 of the Protocol Buffer runtime library" #13

Open ababycat opened 6 years ago

ababycat commented 6 years ago

The project can complied completely, but when I run this "gazebo-arm.sh" or "gazebo-rover.sh" in the command line, it got errors. When I run "gazebo-arm.sh", it print the error bellow. And then I removed protobuf(2.6.1), and installed a protobuf(version 3.5.0), the project couldn't make well, that gazebo7 use protobuf (2.6.1), so I remove protobuf(3.5.0), and re-installed protobuf(2.6.1). The error still exists. I don't really know where got the error This program requires version 3.5.0, which program use "3.5.0"? Do someone meet this error?

Thank you!

configuring Gazebo7 plugin paths previous GAZEBO_PLUGIN_PATH= ./gazebo-arm.sh: 6: ./gazebo-arm.sh: Bad substitution script directory /home/nvidia/X/jetson/jetson-reinforcement/build/aarch64/bin plugin path /home/nvidia/X/jetson/jetson-reinforcement/build/aarch64/bin/../lib GAZEBO_PLUGIN_PATH=/home/nvidia/X/jetson/jetson-reinforcement/build/aarch64/bin/../lib:

starting Gazebo7 Client (gzclient) starting Gazebo7 Server (gzserver)

Gazebo multi-robot simulator, version 7.0.0 Copyright (C) 2012-2016 Open Source Robotics Foundation. Released under the Apache 2 License. http://gazebosim.org

[Msg] Waiting for master. [Msg] Connected to gazebo master @ http://127.0.0.1:11345 [Msg] Publicized address: 169.254.10.203 ArmPlugin::ArmPlugin() ArmPlugin::Load('arm') [deepRL] use_cuda: True [deepRL] use_lstm: 1 [deepRL] lstm_size: 256 [deepRL] input_width: 64 [deepRL] input_height: 64 [deepRL] input_channels: 3 [deepRL] num_actions: 6 [deepRL] optimizer: RMSprop [deepRL] learning rate: 0.1 [deepRL] replay_memory: 10000 [deepRL] batch_size: 32 [deepRL] gamma: 0.9 [deepRL] epsilon_start: 0.9 [deepRL] epsilon_end: 0.05 [deepRL] epsilon_decay: 200.0 [deepRL] allow_random: 1 [deepRL] debug_mode: 0 [deepRL] creating DQN model instance [deepRL] DRQN::init() [deepRL] LSTM (hx, cx) size = 256 [deepRL] DQN model instance created [deepRL] DQN script done init [cuda] cudaAllocMapped 49152 bytes, CPU 0x101340000 GPU 0x101340000 [deepRL] pyTorch THCState 0x40E53120 [libprotobuf FATAL google/protobuf/stubs/common.cc:61] This program requires version 3.5.0 of the Protocol Buffer runtime library, but the installed version is 2.6.1. Please update your library. If you compiled the program yourself, make sure that your headers are from the same version of Protocol Buffers as your link-time library. (Version verification failed in "google/protobuf/any.pb.cc".) terminate called after throwing an instance of 'google::protobuf::FatalException' what(): This program requires version 3.5.0 of the Protocol Buffer runtime library, but the installed version is 2.6.1. Please update your library. If you compiled the program yourself, make sure that your headers are from the same version of Protocol Buffers as your link-time library. (Version verification failed in "google/protobuf/any.pb.cc".) Aborted (core dumped) Gazebo7 Server (gzserver) has exited.