Hi all,
I have a problem that I just cannot solve and any help would be appreciated.... I searched the old forums but did not find anything similar to my situation.
I downloaded the Time Library from the Playground and just cannot get any sketches using the library to compile. I followed the installation instuctions and the libraries are installed in
C:\arduino\libraries\Time\DateStrings.cpp
C:\arduino\libraries\Time\Time.cpp
C:\arduino\libraries\Time\Time.h
When I verify one of the example sketches, the compile process runs for a few seconds and terminate with "Error compiling".
The same thing happens if I just take a simple sketch such as "Blink.pde" and include the time library as #include <Time.h>
I tried putting the files
C:\arduino\libraries\Time\DateStrings.cpp
C:\arduino\libraries\Time\Time.cpp
C:\arduino\libraries\Time\Time.h
in any other directory then the compile just fails with an error such as
---------------------------------------
"TimeSerial.cpp:12:20: error: Time.h: No such file or directory
TimeSerial:16: error: 'time_t' does not name a type
TimeSerial.cpp: In function 'void setup()':"
---------------------------------------
So it appears that the Time library is where arduino IDE expects it to be.
The problem is that the compile fail even with just a simple #include <Time.h>
So Time.h itself must be problematic??
Any suggestions, ideas?
How can I get the IDE to be more verbose when compiling instead of just saying "Error compiling"?
Running Windows 7 and Arduino0022
Regards
Andre