Gaussian icon indicating copy to clipboard operation
Gaussian copied to clipboard

fatal error: Math.h: No such file or directory

Open waydenie opened this issue 9 years ago • 3 comments

Hello,

When compiling with IDE v1.6.9 for ESP8266 arduino target using Gaussian v1.0.7 and LinkedList v1.2.3 (installed via IDE Library Manager) on a Ubuntu based platform I get the following error:

In file included from /home/niew/Arduino/magstream/magstream.ino:3:0: /home/niew/Arduino/libraries/Gaussian/Gaussian.h:16:18: fatal error: Math.h: No such file or directory #include "Math.h" ^ compilation terminated. exit status 1 Error compiling for board Generic ESP8266 Module.

Changing line 16 in Gaussian.h to lower case "math.h" appears to allow me to compile cleanly. Will this cause any other issues? Is this library developed on a case insensitive platform?

Thanks!

waydenie avatar Aug 20 '16 03:08 waydenie

Same on IDE v1.6.12 for Arduino UNO. Compile ok with math.h in lower case too.

RileyStarlight avatar Nov 07 '16 11:11 RileyStarlight

It will also compile if you take the line out, since the current IDE includes math.h and Arduino.h by default.

drf5n avatar Mar 26 '23 18:03 drf5n

The code is changed in the repository, but for it to propagate to the Arduino library system, this repository needs a version bump and new release.

drf5n avatar Mar 26 '23 18:03 drf5n