Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
waydenie opened this issue Aug 20, 2016 · 3 comments
Open

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

waydenie opened this issue Aug 20, 2016 · 3 comments

Comments

@waydenie
Copy link

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!

@RileyStarlight
Copy link

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

@drf5n
Copy link

drf5n commented Mar 26, 2023

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

@drf5n
Copy link

drf5n commented Mar 26, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants