Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   C/C++ (http://www.chiefdelphi.com/forums/forumdisplay.php?f=183)
-   -   Wind River header issues (http://www.chiefdelphi.com/forums/showthread.php?t=71662)

dpeterson3 01-09-2009 07:06 AM

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

gvarndell 01-09-2009 07:34 AM

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?

dpeterson3 01-09-2009 08:59 PM

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.

gvarndell 01-10-2009 07:18 AM

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.

dpeterson3 01-10-2009 04:11 PM

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?

virtuald 01-11-2009 12:56 PM

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.

dpeterson3 01-11-2009 06:17 PM

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.


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

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi