Maybe this isn't the correct place to ask the question, but I will try anyway...
I am trying to compile the Static_test that comes with the TinyGPS library that I just downloaded. I have an Arduino Uno R2 that I am attempting to compile this sketch from a Windows 7 PC.
When I click compile I get the following error message.
In file included from static_test.cpp:1:
C:\Users\marks\Desktop\arduino-1.0\libraries\TinyGPS/TinyGPS.h:25:22: error: WProgram.h: No such file or directory
In file included from static_test.cpp:1:
C:\Users\marks\Desktop\arduino-1.0\libraries\TinyGPS/TinyGPS.h:81: error: 'byte' has not been declared
C:\Users\marks\Desktop\arduino-1.0\libraries\TinyGPS/TinyGPS.h:81: error: 'byte' has not been declared
C:\Users\marks\Desktop\arduino-1.0\libraries\TinyGPS/TinyGPS.h:82: error: 'byte' has not been declared
C:\Users\marks\Desktop\arduino-1.0\libraries\TinyGPS/TinyGPS.h:82: error: 'byte' has not been declared
C:\Users\marks\Desktop\arduino-1.0\libraries\TinyGPS/TinyGPS.h:82: error: 'byte' has not been declared
C:\Users\marks\Desktop\arduino-1.0\libraries\TinyGPS/TinyGPS.h:82: error: 'byte' has not been declared
C:\Users\marks\Desktop\arduino-1.0\libraries\TinyGPS/TinyGPS.h:130: error: 'byte' does not name a type
C:\Users\marks\Desktop\arduino-1.0\libraries\TinyGPS/TinyGPS.h:133: error: 'byte' does not name a type
C:\Users\marks\Desktop\arduino-1.0\libraries\TinyGPS/TinyGPS.h:134: error: 'byte' does not name a type
C:\Users\marks\Desktop\arduino-1.0\libraries\TinyGPS/TinyGPS.h:135: error: 'byte' does not name a type
C:\Users\marks\Desktop\arduino-1.0\libraries\TinyGPS/TinyGPS.h: In member function 'void TinyGPS::get_position(long int*, long int*, long unsigned int*)':
C:\Users\marks\Desktop\arduino-1.0\libraries\TinyGPS/TinyGPS.h:48: error: 'millis' was not declared in this scope
C:\Users\marks\Desktop\arduino-1.0\libraries\TinyGPS/TinyGPS.h: In member function 'void TinyGPS::get_datetime(long unsigned int*, long unsigned int*, long unsigned int*)':
C:\Users\marks\Desktop\arduino-1.0\libraries\TinyGPS/TinyGPS.h:57: error: 'millis' was not declared in this scope
static_test.cpp: In function 'void gpsdump(TinyGPS&)':
static_test.pde:-1: error: no matching function for call to 'TinyGPS::crack_datetime(int*, byte*, byte*, byte*, byte*, byte*, byte*, long unsigned int*)'
C:\Users\marks\Desktop\arduino-1.0\libraries\TinyGPS/TinyGPS.h:82: note: candidates are: void TinyGPS::crack_datetime(int*, int*, int*, int*, int*, int*, int*, long unsigned int*)
I downloaded a WProgram.h file but I still have the similar error messages. What should I be looking for to solve this issue? Different version of tinyGPS? Something else?
Any help is greatly appreciated.
Mark