View Single Post
  #15   Spotlight this post!  
Unread 05-04-2015, 05:03 PM
heydowns's Avatar
heydowns heydowns is offline
Registered User
AKA: Jeff Downs
FRC #1511 (Rolling Thunder)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Ra-Cha-Cha
Posts: 142
heydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond repute
Re: New tool for C++ Programming for old cRIOs

Quote:
Originally Posted by zehcorah View Post
how would we be able to fix it by hand, we are on a fairly tight time constraint with this project. thank you for all the help and efforts so far
The easiest way is to place your Eclipse workspace in a location (folder) that does not contain spaces as described in my earlier post. Go to File->Switch Workspace in Eclipse. Browse to your c:\ directory and create a new folder and select that to be your workspace. Then do everything you'd been doing before (you can even copy the project from the old workspace to this one if you want). This will work around this issue.

The other option is to edit the compiler options to fix as per Alan's suggestion. Right click the project in Project Explorer in Eclipse. Choose properties. Expand C/C++ Build in the tree at left, then choose Settings under it. In the right side of the window, expand "Thunder cRIO Tools C++ Compiler" if it is not already, then pick "Includes" under that. The first entry in the list at right under "Include Paths" should be your project's include directory. Double-Click this entry to bring up the edit box for it, then put double quotes (") both at the beginning and at the end of the text that is already there. Click "OK" all the way out, then try to build again. It should resolve the issue.
Alternatively if you do not use any header files in the include directory of your project, you can just delete that first entry instead of editing it to add the quotes.
Reply With Quote