Go to Post Real projects have good and bad aspects, problems that must be dealt with, and lots of things that dont make any sense from your side of the fence. - KenWittlief [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
  #1   Spotlight this post!  
Unread 17-01-2011, 18:52
WillF WillF is offline
Team Captain
FRC #2945 (B.A.N.G (Bolts and Nuts Gang))
Team Role: Leadership
 
Join Date: Jan 2011
Rookie Year: 2009
Location: Manitou Springs, CO
Posts: 12
WillF is an unknown quantity at this point
Windriver WPILib Build Issues

So we have been trying to get a program up and running for the robot. Unfortunately we have run into a little snag. Whenever we try to build the program it stops at
# include "WPILib.h"

Our theory behind this is that the subdirectories of C:/windriver/vxworks-6.3/target/h are not included in the build path. WPILib.h is in one of the subdirectories. Has anyone else run into this problem? Does anyone know how to set it so that the build paths are recursive?
Reply With Quote
  #2   Spotlight this post!  
Unread 17-01-2011, 22:12
basicxman basicxman is offline
Emily Horsman
FRC #2200 (MMRambotics)
Team Role: Programmer
 
Join Date: Oct 2007
Rookie Year: 2007
Location: Burlington, Ontario
Posts: 971
basicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant future
Send a message via AIM to basicxman Send a message via MSN to basicxman Send a message via Yahoo to basicxman
Re: Windriver WPILib Build Issues

Quote:
Originally Posted by WillF View Post
# include "WPILib.h"
Not sure if this is just formatting you used for your post on this forum, but there should be no space between # and include, example:
Code:
#include "WPILib.h"
Quote:
Originally Posted by WillF View Post
Our theory behind this is that the subdirectories of C:/windriver/vxworks-6.3/target/h are not included in the build path.
Here's a piece of our in-house documentation regarding the proper build paths:
Quote:
9. Switch to the Build Paths tab
Add the following Include directories under Include paths
-I$(WIND_BASE)/target/h
-I$(WIND_BASE)/target/h/WPIlib
-I$(WIND_BASE)/target/h/wrn/coreip

10. Switch to the Libraries tab
Add the following Library directives under Libraries
$(WIND_BASE)/target/lib/WPILib.a
EDIT: If neither of these solutions are working, please post the full build error you are receiving.
Reply With Quote
  #3   Spotlight this post!  
Unread 18-01-2011, 19:27
WillF WillF is offline
Team Captain
FRC #2945 (B.A.N.G (Bolts and Nuts Gang))
Team Role: Leadership
 
Join Date: Jan 2011
Rookie Year: 2009
Location: Manitou Springs, CO
Posts: 12
WillF is an unknown quantity at this point
Re: Windriver WPILib Build Issues

Well, that did the trick. Thanks

Last edited by WillF : 18-01-2011 at 19:36.
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:57.

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