Page 1 of 1

linux box

Posted: Sun Oct 11, 2015 7:41 pm
by bkc6868
i cant compile my sketch. i get error** home/brian/Desktop/Arduino/libraries/Globals/Globals.cpp:23:18: error: Math.h: No such file or directory

But when i follow that path its there?!?!

Re: linux box

Posted: Mon Oct 12, 2015 7:44 am
by Kungpaoshizi
Maybe it's an issue with the function and the error msg is borked?
(what's the function calling math.h?)

Re: linux box

Posted: Mon Oct 12, 2015 11:59 am
by lnevo
Did you use the linux package from binder or installed the latest Arduino app?

Re: linux box

Posted: Mon Oct 12, 2015 12:04 pm
by bkc6868
I used the package from binder

Re: linux box

Posted: Mon Oct 12, 2015 12:41 pm
by binder
what happens is the case is wrong. linux is case sensitive and Windows is not. you can rename the math.h to be Math.h, along with the cpp file and folder. then it should work.

Sent from my Moto X

Re: linux box

Posted: Mon Oct 12, 2015 4:35 pm
by bkc6868
ok i renamed the library folder to Library and it generates the code but i get a "reef angel was not declared in this scope"error now. i followed all directions in the thread with the package i dont know what else to look for

Re: linux box

Posted: Tue Oct 13, 2015 10:33 am
by rimai
I just tested on my linux box and it run just fine without changing anything.
I'm using ubuntu14.04 LTS
Can you post the code you are trying to compile?

Re: linux box

Posted: Tue Oct 13, 2015 3:49 pm
by bkc6868
Thank you to those who replied, but I just did what I should of done to stay with. I just installed windows and an note dial booting so I don't have these issue any more. Sorry if I wasted anyone's time

Re: linux box

Posted: Wed Oct 14, 2015 7:09 pm
by binder
bkc6868 wrote:Thank you to those who replied, but I just did what I should of done to stay with. I just installed windows and an note dial booting so I don't have these issue any more. Sorry if I wasted anyone's time
not wasting anyone's time. we don't mind at all. we are just trying to help out and make sure we get things working for people.


Sent from my iPad mini