I was trying to put a code, and when i compiled, it showed me this message and I have no idea what it means, anyone can help me?
Those are all part of arduino.h
Did you recently install the IDE?
What IDE are you using?
Is there any sketch that compiles?
Like
void setup() {
Serial.begin(9600);
Serial.print("hello");
}
void loop () {
}
please, please never ever again post pictures of text... Not only they are not readable nor usable directly for copy&paste but they use up lots of storage and internet bandwidth which contributes to polluting the planet.
➜ do your part and do yourself a favour and please read How to get the best out of this forum and modify your post accordingly (including code tags and necessary documentation for your ask).
it wont let me either, I just installed it, and it wont let me compile anything, know why?
I think that there might be a problem in the libraries you are using.
You might need to add #include <Arduino.h>
to one of the files. I have no idea which one.
@J-M-L
@build_1971
What do you think about that?
Try restarting your computer.
Try uninstalling and reinstalling the IDE.
PS: what version of the IDE are you using?
Try updating your libraries.
Usually arduino.h is automatically included.
An extra include should do no harm. It is worth a try.
It seems something went wrong with your installation.
I propose this thread to be moved to IDE2.x
You may flag this post and have it moved by a moderator.
@build_1971
I remember hearing about old libraries using a different way to include the standard Arduino functions. I can’t remember what was the file name. What do you think of this?
But it seems odd because the IDE looks like IDE 2.
Maybe the OP had installed a really old version of the IDE before this?
That was WProgram.h
. libraries that were around at the time have been changed and the .h usually contains
#if ARDUINO >= 100
#include "Arduino.h"
#else
#include "WProgram.h"
#endif
that should not be the issue here though, likely a problem with your installation. How did you install the IDE?
already did, same problem
how can i include it, or how can i find that library
Edit your first post and post the error message as text. can't read the small image on my iPhone. as mentioned before, an image is useless for text content.
you might have a bogus .h that you include before including other stuff and it makes a mess. post the full code of your project (or something exhibiting the same behavior) and links to the libraries you use
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.