|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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? |
|
#2
|
|||||
|
|||||
|
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. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|