View Single Post
  #3   Spotlight this post!  
Unread 12-01-2017, 14:59
mlaga97 mlaga97 is offline
Registered User
FRC #1421
 
Join Date: Mar 2015
Location: Picayune, MS
Posts: 3
mlaga97 is an unknown quantity at this point
Re: Build of GearsBotDemo fails, but only for linux_simulate target

After those changes are made, the build then fails at the linking stage with the following error:

Code:
g++ -L/usr/lib/x86_64-linux-gnu -L/home/myusername/wpilib/simulation/lib -Wl,-rpath,/opt/GenICam_v3_0_NI/bin/Linux32_ARM -Xlinker -rpath /home/luc_lagarde/wpilib/simulation/lib -o "FRCUserProgram"  ./src/Subsystems/Claw.o ./src/Subsystems/DriveTrain.o ./src/Subsystems/Elevator.o ./src/Subsystems/Wrist.o  ./src/Commands/Autonomous.o ./src/Commands/CloseClaw.o ./src/Commands/DriveStraight.o ./src/Commands/OpenClaw.o ./src/Commands/Pickup.o ./src/Commands/Place.o ./src/Commands/PrepareToPickup.o ./src/Commands/SetDistanceToBox.o ./src/Commands/SetElevatorSetpoint.o ./src/Commands/SetWristSetpoint.o ./src/Commands/TankDriveWithJoystick.o  ./src/OI.o ./src/Robot.o   -lwpilibcSim -lgz_msgs -lntcore -lgazebo_client -lboost_system
/home/myusername/wpilib/simulation/lib/libwpilibcSim.so: undefined reference to `gazebo::transport::Publisher::Publisher(std::string const&, std::string const&, unsigned int, double)'
/home/myusername/wpilib/simulation/lib/libwpilibcSim.so: undefined reference to `gazebo::transport::Node::DecodeTopicName(std::string const&)'
/home/myusername/wpilib/simulation/lib/libwpilibcSim.so: undefined reference to `google::protobuf::MessageLite::ParseFromString(std::string const&)'
/home/myusername/wpilib/simulation/lib/libwpilibcSim.so: undefined reference to `gazebo::transport::Node::Init(std::string const&)'
/home/myusername/wpilib/simulation/lib/libwpilibcSim.so: undefined reference to `gazebo::transport::ConnectionManager::Advertise(std::string const&, std::string const&)'
/home/myusername/wpilib/simulation/lib/libwpilibcSim.so: undefined reference to `google::protobuf::internal::kEmptyString'
/home/myusername/wpilib/simulation/lib/libwpilibcSim.so: undefined reference to `gazebo::transport::TopicManager::UpdatePublications(std::string const&, std::string const&)'
/home/myusername/wpilib/simulation/lib/libwpilibcSim.so: undefined reference to `gazebo::common::Exception::Exception(char const*, int, std::string)'
/home/myusername/wpilib/simulation/lib/libwpilibcSim.so: undefined reference to `gazebo::transport::TopicManager::FindPublication(std::string const&)'
Any ideas? I appreciate your help.
Reply With Quote