Go to Post ...can I play a computer game during a competition, while i'm suppposed to operate the robot? - Gal Longin [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 11-01-2017, 19:38
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
Build of GearsBotDemo fails, but only for linux_simulate target

I have installed the frc toolchain, eclipse, frc plugins, and frcsim using the 2017 instructions on Ubuntu 16.04.

I loaded the example project GearsBotDemo in Eclipse and I am able to successfully build the project for the default target.

My issue is that when I attempt to build the linux_simulate target, the build fails at the linking stage with an error message consisting of several variants of the following:

./src/Subsystems/Claw.o: In function `Claw::Claw()':
/home/myusername/workspace/WPILib/GearsBot/linux_simulate/../src/Subsystems/Claw.cpp:6: undefined reference to `frc::Subsystem::Subsystem(std::__cxx11::basic_str ing<char, std::char_traits<char>, std::allocator<char> > const&)'
makefile:47: recipe for target 'FRCUserProgram' failed
./src/Subsystems/Claw.o:(.rodata._ZTV4Claw[_ZTV4Claw]+0x78): undefined reference to `frc::Subsystem::GetName[abi:cxx11]() const'
./src/Subsystems/Claw.o:(.rodata._ZTV4Claw[_ZTV4Claw]+0x90): undefined reference to `frc::Subsystem::GetSmartDashboardType[abi:cxx11]() const'
./src/Subsystems/Claw.o:(.rodata._ZTV4Claw[_ZTV4Claw]+0xa8): undefined reference to `non-virtual thunk to frc::Subsystem::InitTable(std::shared_ptr<ITable>) '
./src/Subsystems/Claw.o:(.rodata._ZTV4Claw[_ZTV4Claw]+0xb0): undefined reference to `non-virtual thunk to frc::Subsystem::GetTable() const'
./src/Subsystems/Claw.o:(.rodata._ZTV4Claw[_ZTV4Claw]+0xb8): undefined reference to `non-virtual thunk to frc::Subsystem::GetSmartDashboardType() const'
./src/Subsystems/Claw.o:(.rodata._ZTV4Claw[_ZTV4Claw]+0xc0): undefined reference to `non-virtual thunk to frc::Subsystem::GetName() const'


The only thing tying all of them together are that they are all members of the frc namespace.

Any help would be greatly appreciated.
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 13:31.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi