Forum: ARM programming with GCC/GNU tools unresolved inclusion: <math.h>

von Hans L. (hansflying)

Rate this post
0 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!


von Oliver (Guest)

Rate this post
0 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.


von Hans L. (hansflying)

Rate this post
0 useful
not useful
Thanks Oliver lot for your information.

It is possible to do some setting of Eclipse editor to let it know the 
include folders?

von Sylvitans (Guest)

Rate this post
0 useful
not useful
Hello !  I'm new on this forum, hope to talk to you soon :)
I love carsn seotons and tuning, and you ?


Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]

Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.