EmbDev.net

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


von Hans L. (hansflying)


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

von Oliver (Guest)


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

von Hans L. (hansflying)


Rate this post
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
useful
not useful
Hello !  I'm new on this forum, hope to talk to you soon :)
I love carsn seotons and tuning, and you ?

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.