Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   C/C++ (http://www.chiefdelphi.com/forums/forumdisplay.php?f=183)
-   -   No Robot Code error (http://www.chiefdelphi.com/forums/showthread.php?t=130587)

partounian 23-09-2014 11:22

Re: No Robot Code error
 
Quote:

Originally Posted by AustinSchuh (Post 1401128)
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?

AustinSchuh 24-09-2014 00:04

Re: No Robot Code error
 
Quote:

Originally Posted by partounian (Post 1401171)
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.

CoffeeFlux 27-09-2014 21:48

Re: No Robot Code error
 
Quote:

Originally Posted by partounian (Post 1401171)
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


All times are GMT -5. The time now is 22:40.

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