Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

time.h Compile errors with WD v2.0
#6

Thanks. As before, the libraries from the Weatherduino RAR are installed fine.

BUT the "time" library in the RAR is out of date (2014), and won't work with Arduino 1.6.6 or later, so you need to get the 1.5 version here: https://github.com/PaulStoffregen/Time/releases

... And then, once you've done that you should include timelib.h rather than time.h (see the updated time library examples) because on Windows "Time.h" == "time.h", which is a standard AVR library header. If you're using a case-sensitive filesystem it probably isn't a problem.
Reply


Messages In This Thread
time.h Compile errors with WD v2.0 - by roddyp - 07-01-2017, 19:19
RE: time.h Compile errors with WD v2.0 - by werk_ag - 07-01-2017, 19:51
RE: time.h Compile errors with WD v2.0 - by zitoune - 08-01-2017, 08:19
RE: time.h Compile errors with WD v2.0 - by roddyp - 08-01-2017, 13:14
RE: time.h Compile errors with WD v2.0 - by hornychz - 08-01-2017, 15:28
RE: time.h Compile errors with WD v2.0 - by roddyp - 08-01-2017, 17:45
RE: time.h Compile errors with WD v2.0 - by hornychz - 08-01-2017, 18:41
RE: time.h Compile errors with WD v2.0 - by roddyp - 08-01-2017, 22:28
RE: time.h Compile errors with WD v2.0 - by roddyp - 08-01-2017, 22:34
RE: time.h Compile errors with WD v2.0 - by werk_ag - 09-01-2017, 02:12
RE: time.h Compile errors with WD v2.0 - by roddyp - 09-01-2017, 12:03
RE: time.h Compile errors with WD v2.0 - by werk_ag - 10-01-2017, 02:57
RE: time.h Compile errors with WD v2.0 - by werk_ag - 09-01-2017, 00:11
RE: time.h Compile errors with WD v2.0 - by roddyp - 09-01-2017, 01:36
RE: time.h Compile errors with WD v2.0 - by Zappie - 09-01-2017, 21:49
RE: time.h Compile errors with WD v2.0 - by werk_ag - 10-01-2017, 03:24
RE: time.h Compile errors with WD v2.0 - by hornychz - 09-01-2017, 00:57
RE: time.h Compile errors with WD v2.0 - by werk_ag - 09-01-2017, 01:08
RE: time.h Compile errors with WD v2.0 - by hornychz - 09-01-2017, 01:23



Users browsing this thread: 1 Guest(s)