|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Wind River Help
Hello,
I having been having issues building an ".out" file to download to the cRio. Before I get into to much detail about my issue, I'll first state what I can do. I have downloaded and followed sections 1-5 including benchmark testing and have been successful. I have downloaded the WPI library and copied the files into the correct folder. I have created a new "Example" project in Wind River (Simple Robot Template from the Kernel Module Sample wizard), built it and downloaded it to the cRio. I even changed some values in the programing to ensure it wasn't the default code, so I know how to build ".out" files and download them to the cRio. I have some background in C++ and I am comfortable with the language. My issue: I could simply use the example project, and manipulate it as needed to create a program for the robot, however, I would much prefer to be able to create my own project by extending classes. I have tried to create new projects and have been unsuccessful. I am not sure what the issue is. I've tried copying the code from the Simple Robot Template (MyRobot.cpp) into a new project, but this has not helped either. I may not be including the files properly, although I have downloaded and copied them into "C:\WindRiver\WPILib" as instructed. Would someone be able to give (or link) me a step by step procedure to create a successful ".out" file? For convince, you could use the code from the Simple Robot Template (MyRobot.cpp). Thank you |
|
#2
|
||||
|
||||
|
Re: Wind River Help
What project type are you creating in WindRiver? I was able to build a project from scratch but you need to start a VxWorks Downloadable Kernel project. Then add WPILib to your include and library paths.
|
|
#3
|
||||
|
||||
|
Re: Wind River Help
How do you add WPILib to your include and library paths.
|
|
#4
|
||||
|
||||
|
Re: Wind River Help
To add the paths right click on the project and choose Properties. From the tree list choose Build Properties. You add the include path on the Build Path tab. You then can add the library on the Libraries tab (I have mine pointing directly to WPILib.a). Make sure your active build spec is set to PPC603gnu.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| pic: Wind tunnel | Pat Major | Extra Discussion | 20 | 02-19-2009 07:41 PM |
| Open Wind River | excel2474 | Programming | 12 | 12-31-2008 05:36 PM |
| pic: Virginia Tech wind third in DARPA | falconmaster | Extra Discussion | 4 | 11-07-2007 05:16 PM |
| Wind Tunnel | Wayne Doenges | General Forum | 48 | 01-21-2005 07:22 PM |
| pic: 237 on the road with Second Wind Dreams | CD47-Bot | Extra Discussion | 6 | 05-25-2004 01:45 AM |