unresolved inclusion: <math.h>

OP #1963566
Rate this post
• ▲ useful
▼ not useful
Dear All,

I use YAGARTO Tools  and Eclipse to test the model "SAM7X256Test" 
download from http://www.yagarto.de/howto/examples/index.html. In order 
to use some functions such as sin(), pow(), I include math.h in the 
source code.

There is no error during the building. But in Eclipse, there is a red 
waveline under "#include <math.h>". When I move the cursor on the line, 
it shows "unresolved inclusion: <math.h>".

could you tell me what is the problem?

Thanks a lot!

hansflying
Guest #1964355
Rate this post
• ▲ useful
▼ not useful
That's a known problem of the Eclipse editor, which does not know the 
right pathes to the platform-specific include folders. This does not 
harm the compiler.

On the Eclipse AVR implementation the red waveline disappears after the 
first successfull build. Mybe this is the same on the ARM version.

Oliver

Reply

Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.

Formatting
  • [c]C-Code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.