Go to Post When we got it tuned to the point where we were (reasonably) confident it wouldn't slam into Dave's ankle, we quit for the evening. - Kevin Watson [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 Rating: Thread Rating: 6 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 21-01-2011, 02:54
davidalln's Avatar
davidalln davidalln is offline
World's Worst Coder
AKA: David Allen
FRC #2415 (The Westminster Wiredcats)
Team Role: Programmer
 
Join Date: Mar 2009
Rookie Year: 2008
Location: Atlanta, GA
Posts: 108
davidalln is on a distinguished road
Send a message via AIM to davidalln
Re: Wind River build environment

Here's what I'm guessing happened. You copied over your 2010 code after installing the Workbench update. Therefore, all the header references in the code to the WPILib were still trying to point to the 2010 version of WPILib, where the Workbench update updated the WPILib to a newer, 2011 version. This is why the Line Follower example worked, it pointed to the correct WPILib.

If you're having to hack away at WPILib to get rid of errors, then something is going wrong.

My suggestion is to delete the project you're on and start from scratch. It's a pain, but the day or so it takes to copy over the old code to the new project will save you loads of time and errors in the future.
__________________
SANTOSH ANDREW DECKER RICK WYNNIE SEAN DEREK MATT
(alamo (semis), p'tree (CHAMPS!), nc (CHAMPS!), newton (quarters))


Best four years of my life. Thanks to everyone who made it happen.
Reply With Quote
  #2   Spotlight this post!  
Unread 21-01-2011, 03:09
mikets's Avatar
mikets mikets is offline
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 667
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
Re: Wind River build environment

Thanks. It does work. Should have done this a lot earlier Basically, I move the project directory to somewhere else. Did a "New->kernel downloadable module" and created the project. Copy only the source files back, added the WPIlib path and compiled. It worked!
__________________
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 14:15.

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