I am new to this forum and this is my first post.
I recently got a UNO and NANO (both clones). I am using Windows 8.1 (64bit) and Arduino 1.8.15. am getting a compiler error when I try to compile and load the sample Blink sketch onto either board. The text of the message is identical except the message says NANO when I'm using the NANO and UNO when I'm using the UNO.
In file included from sketch\Blink.ino.cpp:1:0:
C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:23:10: fatal error: stdlib.h: No such file or directory
- #include <stdlib.h>*
exit status 1
Error compiling for board Arduino Uno.
I did a search on the site, but did not find a post that matches the problem that I'm having. Someone told me that I have a corrupted library but did not tell me which library was bad. They told me to delete and reinstall the library. I see no way to delete; only how to update or install new libraries so installed Arduio 1.8.15 and reinstalled it. I still get the same error.
I also have an authentic UNO that I used with a older version of Ardunio (that I deleted before installing 1.8.15. The older version compiled and loaded blink to the authentic UNO without errors.
Thank you in advance for suggestions on how to resolve this problem.