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

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

(08-01-2017, 17:45)roddyp Wrote:  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.

Hmm,

I don't understand it -  I'm using two computers with Windows 10, one is 32 bit, IDE 1.8.0, the second is 64 bit with IDE 1.7.10. And I use Time library from
.rar package without any problems ...
In this case, I would try to uninstall the entire IDE, delete the old directories and do a completely new installation. Sorry, otherwise, unfortunately I can not advise. Sad

===================================================================================

New editing post:

Sorry, roddyp,

I tried to compile and got the same result as you ... Sad

Maybe it is because I installed it with IDE 1.7.10. With IDE 1.8.0 I tried to do some others very small projects ... Once again, excuse me.
So: When I installed again IDE 1.7.10, it was possible to use Time library from .rar package and was possible to compile it.

For now I recommend to you to use this version IDE, you can find it at Previous Arduino IDE versions.

Good luck again.

Regards
Zdenek

Best Regards
Zdenek

Brandys/L Weather
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)