Go to Post So go out and learn something new, even if it is old. Co-operate in this and you'll get much more out of it. Cheat and you are only cheating yourself. - ChrisH [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Spotlight this post!  
Unread 19-01-2009, 15:56
gokul gokul is offline
Registered User
FRC #0571
 
Join Date: Jan 2006
Location: CT
Posts: 25
gokul is an unknown quantity at this point
Re: WindRiver Programming

Quote:
Originally Posted by dnrobotics11 View Post
How do you compile the different class templates such as the camera and the gyroscope with the main template into a single program download to the cRIO? Are these compiled independently? Which manual is best for these questions for WindRiver programming and downloading?
Start with a base program.
Then copy the files from other projects to this new project's folder (in the workspace).
Make sure you copy the correct .h files also - you need only .cpp and .h files.

Now, you will have to make sure that the key START_ROBOT_CLASS statement is ONLY in your main program and no place else. It should also reference your program (class) only.

By #include'ing correct .H files and referencing the correct classes/methods from the other files you should be able to get a good build.

Hope this helps!
Reply With Quote
 


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
WindRiver Errors ExarKun666 C/C++ 7 04-03-2009 20:32
Windriver LAC McGurky C/C++ 12 25-02-2009 18:38
Getting Familiar with Programming in WindRiver kyungjin C/C++ 35 17-01-2009 13:04
compiling in windriver koreabell Programming 4 05-01-2009 15:32


All times are GMT -5. The time now is 14:54.

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