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

Please log in before posting.

or

Log in with Google account

Registration is free and takes only a minute.

Register now