Go to Post FIRST is a big family and we‘ll get through this together. - Gary Dillard [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

 
Reply
Thread Tools Rate Thread Display Modes
  #16   Spotlight this post!  
Unread 23-09-2014, 11:22
partounian's Avatar
partounian partounian is offline
Registered User
FRC #0599
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2012
Location: United States
Posts: 5
partounian is an unknown quantity at this point
Smile Re: No Robot Code error

Quote:
Originally Posted by AustinSchuh View Post
Unfortunately, I can't... I have been using custom linux based build environments and unsupported GCC cross compilers that I built myself for years. Hopefully someone else will be able to take my diagnostic and help you figure out what to do with it with WindRiver...

Conceptually, you want to add WPILib.a to the link command. Not sure the magic key strokes to do that.

My guess is that the following diff to your .wrproject did it.

Code:
-            <listAttribute key="BLD::Info|Libs|PPC32diab">
-                <stringAttribute value="$(WIND_BASE)/target/lib/WPILib.a"/>
-            </listAttribute>
-            <listAttribute key="BLD::Info|Libs|PPC603gnu">
-                <stringAttribute value="$(WIND_BASE)/target/lib/WPILib.a"/>
-            </listAttribute>
Hey Austin, thank you so much for your help. I'm one of the other head programmers for the team and I got it to work by getting onto the IDE and adding WPILib.a file to the library from the project settings. I'll post exact instructions for other when I get back into robotics in a few days.

Also nowadays is there an easy way to compile directly with Linux(specifically Debian or Arch Linux)? Or would I have to go ahead and write up a custom environment too?
Reply With Quote
  #17   Spotlight this post!  
Unread 24-09-2014, 00:04
AustinSchuh AustinSchuh is offline
Registered User
FRC #0971 (Spartan Robotics) #254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Feb 2005
Rookie Year: 1999
Location: Los Altos, CA
Posts: 803
AustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond repute
Re: No Robot Code error

Quote:
Originally Posted by partounian View Post
Also nowadays is there an easy way to compile directly with Linux(specifically Debian or Arch Linux)? Or would I have to go ahead and write up a custom environment too?
971's code is open source, and there is a ucpp project (https://github.com/nikitakit/ucpp) which aims to do that.

I'd recommend waiting until the roboRIO arrives to mess with a new environment. The new tools should work from Linux a lot smoother.
Reply With Quote
  #18   Spotlight this post!  
Unread 27-09-2014, 21:48
CoffeeFlux's Avatar
CoffeeFlux CoffeeFlux is offline
Registered User
AKA: Ryan Lucia
FRC #0422 (Mech Tech Dragons)
Team Role: Programmer
 
Join Date: Mar 2014
Rookie Year: 2010
Location: United States
Posts: 5
CoffeeFlux is an unknown quantity at this point
Re: No Robot Code error

Quote:
Originally Posted by partounian View Post
Also nowadays is there an easy way to compile directly with Linux(specifically Debian or Arch Linux)? Or would I have to go ahead and write up a custom environment too?
We use this, it's fantastic. Works better than Wind River.
http://firstforge.wpi.edu/sf/projects/c--11_toochain
Reply With Quote
Reply


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:32.

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