Go to Post Goodness gracious professionalism - Billfred [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
  #2   Spotlight this post!  
Unread 12-01-2017, 13:08
Thad House Thad House is offline
Volunteer, WPILib Contributor
no team (Waiting for 2021)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Thousand Oaks, California
Posts: 1,107
Thad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond repute
Re: Build of GearsBotDemo fails, but only for linux_simulate target

Quote:
Originally Posted by mlaga97 View Post
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:

SNIP

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

Any help would be greatly appreciated.
I think that is an issue of GCC 5 being used by default on 16.04, whereas our build system uses 4.9 to build the libraries. Try adding the following line to to the top of every source file in your code, above any includes.

#define _GLIBCXX_USE_CXX11_ABI 0

I haven't tested that, but I have a hunch.
__________________
All statements made are my own and not the feelings of any of my affiliated teams.
Teams 1510 and 2898 - Student 2010-2012
Team 4488 - Mentor 2013-2016
Co-developer of RobotDotNet, a .NET port of the WPILib.
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 21:56.

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