ivanseidel / ivanseidel/Gaussian

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

Open
#5 3 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
53
Forks
11
PR merge metrics
No merged PRs in 30d

Description

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!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with Gaussian.h line 16 and reproduce the reported compile for the Generic ESP8266 Module using Arduino IDE 1.6.9 on Ubuntu with Gaussian 1.0.7 and LinkedList 1.2.3. Verify the include-name behavior and confirm the project compiles cleanly for that target without introducing another issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
arduino, cpp, ubuntu
Domain
build-system, embedded-iot
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.