Go to Post Look at the success of the Banebot's gearboxes this year. Cheap, light, small, and a lot of people are using them, even though their quality may be a bit questionable... Make a similar gearbox for a drivetrain (with a bit more robustness) and I think you've got a winner. - Ben Piecuch [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 Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #2   Spotlight this post!  
Unread 02-02-2009, 22:54
MattD's Avatar
MattD MattD is offline
Registered User
AKA: Matthew Douglas
FRC #0228 (GUS Robotics)
Team Role: Alumni
 
Join Date: Feb 2006
Rookie Year: 2005
Location: Indianapolis, IN
Posts: 185
MattD is a splendid one to beholdMattD is a splendid one to beholdMattD is a splendid one to beholdMattD is a splendid one to beholdMattD is a splendid one to beholdMattD is a splendid one to beholdMattD is a splendid one to behold
Send a message via AIM to MattD
Re: Windriver: include paths and new build targets

If memory serves me correctly, this is what I did:
  1. Create a new Project using File->New->VxWorks Downloadable Kernel Module.
  2. Enter a name for the project and select Create project in workspace (default). Click Next a couple times, using defaults, until reaching Build Specs.
  3. Enable PPC603gnu, uncheck the other options. Click Finish.
  4. In the Project Explorer, right-click on the new project and select Properties.
  5. Select Build Properties, then the Build Paths tab. Click Add and and enter a new include path: $(WIND_BASE)/target/h/WPIlib
  6. Select the Libraries tab. Click Add and enter $(WIND_BASE)/target/lib/WPILib.a.
  7. Add your own files to the project, and edit as normal.

The .out file should be located at $(WIND_BASE)\workspace\<ProjectName>\PPC603gnu\<Pr ojectName>\Debug\<ProjectName>.out. The downloader should be configured to use this file. That can be done in Window->Preferences->FIRST Downloader.

Also, note that you need to include WPILib.h, not WPI.h. I'm not sure if this was just a mistake in your post or not.
__________________
GUS Robotics Team 228

2010 WPI Engineering Inspiration Award
2010 WPI Regional Champions (Thanks 230 & 20!)
2010 CT VEX Champions
2010 CT VEX Innovate Award
2009 QCC VEX Champions
2009 CT Motorola Quality Award
2007 CT J&J Sportsmanship Award
2006 CT Best Website Award
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Default Labview Dashboard and Windriver Example Help sircedric4 Programming 7 25-02-2009 01:58
New WindRiver Update Pancake C/C++ 5 27-01-2009 15:31
Need help in c++ and windriver jkjohnson C/C++ 3 13-01-2009 18:50
Build/Mechanical teams after build and integration Bomberofdoom General Forum 1 02-02-2008 13:45
UTC site updated to include tons of statistics and specifics archiver 2001 8 24-06-2002 01:39


All times are GMT -5. The time now is 15:28.

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