Go to Post In my opinion, watching someone CAD is about as exciting as watching them sleep. - DampRobot [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 09-01-2009, 07:06
dpeterson3 dpeterson3 is offline
Registered User
FRC #1178 (DURT)
Team Role: Alumni
 
Join Date: Aug 2008
Rookie Year: 2008
Location: St. Louis
Posts: 158
dpeterson3 is a jewel in the roughdpeterson3 is a jewel in the roughdpeterson3 is a jewel in the roughdpeterson3 is a jewel in the rough
Wind River header issues

I can't seem to get Wind River to include the WPI library. It works just fine with the demo codes, but when I tell it to include in a test project, it won't. I select the project in the explorer, go to project>properties>include paths. I add the path the defualt program has, but it will not appear in the explorer and the project still can't find WPILib.h. Also, there are a bunch of includes I don't need the project wizard put there that don't show up in the properties menu. What am I doing wrond?

P.S. I haven't installed the update yet, but I would think the defualt should still work

running XP SP2 as admin

Last edited by dpeterson3 : 09-01-2009 at 07:11.
Reply With Quote
  #2   Spotlight this post!  
Unread 09-01-2009, 07:34
gvarndell's Avatar
gvarndell gvarndell is offline
Software Engineer
AKA: Addi's and Georgie's Dad
FRC #1629 (GaCo)
Team Role: Parent
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Grantsville, Maryland
Posts: 350
gvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond repute
Re: Wind River header issues

After you added the correct include file search path to the project properties, did you clean and/or rebuild the project?
From your description, you've done the right thing.
I am not sure what you mean by "it will not appear in the explorer".
What won't appear and where did you expect it to appear?
Reply With Quote
  #3   Spotlight this post!  
Unread 09-01-2009, 20:59
dpeterson3 dpeterson3 is offline
Registered User
FRC #1178 (DURT)
Team Role: Alumni
 
Join Date: Aug 2008
Rookie Year: 2008
Location: St. Louis
Posts: 158
dpeterson3 is a jewel in the roughdpeterson3 is a jewel in the roughdpeterson3 is a jewel in the roughdpeterson3 is a jewel in the rough
Re: Wind River header issues

I expected them to show up in the project explorer under includes. I haven't tried building this project yet, so I didn't think I would need to clean it. I will try that and see how it goes.

that took care of it. Thanks. I am use to IDE's that do that for you.

Last edited by dpeterson3 : 09-01-2009 at 21:03.
Reply With Quote
  #4   Spotlight this post!  
Unread 10-01-2009, 07:18
gvarndell's Avatar
gvarndell gvarndell is offline
Software Engineer
AKA: Addi's and Georgie's Dad
FRC #1629 (GaCo)
Team Role: Parent
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Grantsville, Maryland
Posts: 350
gvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond repute
Re: Wind River header issues

It is a source of constant frustration to me (I use Wind River Workbench in my job) that changing project properties doesn't regenerate the makefiles automatically. But you'll become accustomed to cleaning as a matter of habit.
Reply With Quote
  #5   Spotlight this post!  
Unread 10-01-2009, 16:11
dpeterson3 dpeterson3 is offline
Registered User
FRC #1178 (DURT)
Team Role: Alumni
 
Join Date: Aug 2008
Rookie Year: 2008
Location: St. Louis
Posts: 158
dpeterson3 is a jewel in the roughdpeterson3 is a jewel in the roughdpeterson3 is a jewel in the roughdpeterson3 is a jewel in the rough
Re: Wind River header issues

Having two more problems and thought I would post it here rather than create a new thread.

Problem 1
I can not connect to the CRIO from my machine. I get an error saying that the connection timed out. (no- back-end response). I can ping the CRIO, so that is not my problam. I have not installed the update yet, so that could be that problem.

Problem 2
Since my computer wouldn't work, I tried another machine that could up load one of the test files. When I tried to open my project on his computer, the open project bar was greyed out. Is there some way that I am missing to open a project in wind river?
Reply With Quote
  #6   Spotlight this post!  
Unread 11-01-2009, 12:56
virtuald's Avatar
virtuald virtuald is offline
RobotPy Guy
AKA: Dustin Spicuzza
FRC #1418 (), FRC #1973, FRC #4796, FRC #6367 ()
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2003
Location: Boston, MA
Posts: 1,031
virtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant future
Re: Wind River header issues

#1: Install the update

#2: WindRiver doesn't really focus that much on projects, but rather the workspace environment (which being from a Visual Studio background, annoys me to no end). Try right clicking in the Project Explorer, select Import, and then select General -> Existing Projects into Workspace... that should do the trick. If you're using SVN/subclipse (highly recommended, btw), you can do an import in a similar manner.
__________________
Maintainer of RobotPy - Python for FRC
Creator of pyfrc (Robot Simulator + utilities for Python) and pynetworktables/pynetworktables2js (NetworkTables for Python & Javascript)

2017 Season: Teams #1973, #4796, #6369
Team #1418 (remote mentor): Newton Quarterfinalists, 2016 Chesapeake District Champion, 2x Innovation in Control award, 2x district event winner
Team #1418: 2015 DC Regional Innovation In Control Award, #2 seed; 2014 VA Industrial Design Award; 2014 Finalists in DC & VA
Team #2423: 2012 & 2013 Boston Regional Innovation in Control Award


Resources: FIRSTWiki (relaunched!) | My Software Stuff
Reply With Quote
  #7   Spotlight this post!  
Unread 11-01-2009, 18:17
dpeterson3 dpeterson3 is offline
Registered User
FRC #1178 (DURT)
Team Role: Alumni
 
Join Date: Aug 2008
Rookie Year: 2008
Location: St. Louis
Posts: 158
dpeterson3 is a jewel in the roughdpeterson3 is a jewel in the roughdpeterson3 is a jewel in the roughdpeterson3 is a jewel in the rough
Re: Wind River header issues

Thanks. I will try that tomorrow when I can get to the CRIO. I am a VB.NET Visual Studio person. I am use to it doing almost everything for me also.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
pic: Wind tunnel Pat Major Extra Discussion 20 19-02-2009 19:41
Wind River Printing from cRio Mr.Macdonald C/C++ 6 12-01-2009 20:42
Wind River Help BenB Programming 3 02-01-2009 21:42
Open Wind River excel2474 Programming 12 31-12-2008 17:36
Wind Tunnel Wayne Doenges General Forum 48 21-01-2005 19:22


All times are GMT -5. The time now is 10:03.

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