
03-06-2010, 21:07
|
 |
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
|
|
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
|
|
|
Re: H4x0rs needed
Quote:
Originally Posted by Robototes2412
I run Linux, Wind River does not.
|
But, wine+makefiles==(WindRiver-IDE)
The attached makefile & utils is from AustinSchuh:
Quote:
I have a couple scripts and patches that I've collected up that let me build WPILib and pull down the latest.
My makefile pulls down the latest WPILib (you need to point it to the latest version when that changes), patches it (I found a bug, and the makefile needs to get swapped out for it to build), pulls down the latest GCC compiler that is needed to compile for the cRIO, and then builds the code. So, once all the pieces are found and together, it works like a charm.
If I'm doing things right, and you have all the unlisted prerequisites, all you should have to do is type make in the MainRobot directory. And then wait. Make sure you have wput, ftp, and wine, to start with.
The paths might not seem to make the most sense now, but I'm pulling things from our repository and this is how things are set up.
|
Quote:
Type make to build the code
Type make deploy to deploy the code. You will have to edit the makefile to change all IP addresses from 10.9.71.2 to your team number.
And that's it. If you want to add more source files, add them on the line that goes something like MainRobot.o.
Once you are that far, you can start poking at it a bit more. It's definately not the most polished makefile in existence.
|
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib
|