linux box

Basic / Standard Reef Angel hardware
Post Reply
bkc6868
Posts: 95
Joined: Wed Sep 02, 2015 4:39 pm

linux box

Post 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?!?!
Image
Kungpaoshizi
Posts: 52
Joined: Wed Sep 16, 2015 8:12 am

Re: linux box

Post by Kungpaoshizi »

Maybe it's an issue with the function and the error msg is borked?
(what's the function calling math.h?)
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: linux box

Post by lnevo »

Did you use the linux package from binder or installed the latest Arduino app?
bkc6868
Posts: 95
Joined: Wed Sep 02, 2015 4:39 pm

Re: linux box

Post by bkc6868 »

I used the package from binder
Image
binder
Posts: 2871
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: linux box

Post 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
bkc6868
Posts: 95
Joined: Wed Sep 02, 2015 4:39 pm

Re: linux box

Post 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
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: linux box

Post 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?
Roberto.
bkc6868
Posts: 95
Joined: Wed Sep 02, 2015 4:39 pm

Re: linux box

Post 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
Image
binder
Posts: 2871
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: linux box

Post 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
Post Reply