Go to Post Let’s not scare the newbies away, let’s welcome them and help them. - Arefin Bari [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

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 23-10-2012, 15:44
Anyun Anyun is offline
Co-Captain Team 1308
FRC #1308 (Wildcats)
Team Role: Programmer
 
Join Date: Aug 2012
Rookie Year: 2009
Location: Cleveland
Posts: 13
Anyun is an unknown quantity at this point
WindRiver / WPILib.h Compiler Issue

Hi guys,

So currently our team is trying to get last years robot because more than half our team graduated last year. I am the only other programmer currently, so no one else is around to help. So I imported the code that we used last year and added in WPILib to our project, but when I tried to build, it gave me a catastrophic error, saying there was something wrong with WPILib.h. It turned out be the a line including accelerometer.h, so I deleted it because I don't need it. However, when I tried to build again, it highlighted the very next line. I suspect I may be missing a makefile, but I've redownloaded everything twice already to no avail.

Ideas?
Reply With Quote
  #2   Spotlight this post!  
Unread 23-10-2012, 16:15
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: WindRiver / WPILib.h Compiler Issue

C compiler error messages are notorious for complaining about the line after the one with the real problem, often blaming an included file when the trouble is in the file doing the including. Look at the top of the source file that #includes WPILib.h, and check for an accidentally typed character just before the #include.

I'm not saying you'll find one, but it's an easy thing to look for.
Reply With Quote
Reply


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


All times are GMT -5. The time now is 13:31.

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