(Another post has come in and I have read it.)
If it was for an Arduino it would be math.h not Maths.h
I shall try it shortly, but I now feel I have to explain EVERYTHING as there is confusion awry here.
I am programming an ARDUINO.
To PROGRAM it, I am using a RPI. NOT windows.
Time and time I have been told USE THE WINDOWS ONE - IT IS BETTER.
I can't on a RPI. And I am not going to run windows on a RPI. I am using the RPI IDE.
I went off and tried to find links on how to calculate sunrise and set times. All in weird languages I didn't understand.
Looking for ARDUINO libraries I found sunrise - link posted in first post.
It didn't work. It gives the same error as shown below.
Now granted Pete just said there is a difference with RPI and ARDUINO version names. Arduino being maths.h and RPI being Maths.h.
Given I am getting/downloading the ARDUINO version the case of the library SHOULD not be an issue.
I'll check now anyway, but I think it is a bit childish being flamed for not knowing that when it should be for the arduino.
I am stating I am using the RPI so any limits the IDE has over the "better" one can be allowed for, as I have also been flamed for not stating which IDE I am using before as well.
It is a lose lose situation for me no matter which way I go.
I am still learning this stuff and am asking to learn.
I don't get it that if you all know the answers why you are so afraid to answer the questions I ask - how ever dumb they are.
So what is below is sort of retrospective.... But I don't feel like posting more "as we go" posts each time I get something done/resolved or another issue comes up.
Alas back to square 1.
In file included from SunriseSunset.ino:1:0:
/home/pi/sketchbook/libraries/TimeLord/TimeLord.h:4:19: fatal error: Math.h: No such file or directory
#include <Math.h>
^
compilation terminated.
So it remains a mystery to me that if maths.h is supposed to be included, what is going on.
The link where this came from
You already have math.h.
math.h is part of the core that gcc brings to the party. Arduino-specific libraries do need to be downloaded.
I'm at a loss.