![]() |
Windriver: include paths and new build targets
I'm having trouble using WindRiver. I want to start figuring out how to implement my ideas for the code but I keep getting hung up on setting up my project in WindRiver.
So far: I made a new project once and I tried to include WPI.h. I added the right include path but the compiler gave an error saying it couldn't open WPI.h. At that point I just decided to use the project DefaultRobot and edit the .cpp file there. But with DefaultRobot I could never find the .out file. I tried adding new build targets but none showed up anywhere at all (I searched the whole computer). So now I'm just editing a project that I know had all the right include files and a build target already. That works fine for now I guess, but explanations would still be nice. |
Re: Windriver: include paths and new build targets
If memory serves me correctly, this is what I did:
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. |
Re: Windriver: include paths and new build targets
Thanks. I haven't tried that yet but I'll do that during tomorrow's team meeting.
Also, yeah, that was a typo in my post. My include statement was for WPILib.h, not WPI.h |
| All times are GMT -5. The time now is 10:53 AM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi