Promblem compiling any scetch.

Hi,

Just so you know I´m new to Arduino and programming. :slight_smile:

I`ve been having trouble compiling a scetch that i have been writing myself, so i tryed to compile the example "blink" but that didnt work eigther. Then i tryed to unistall Arduino, downloaded it again and tried to compile the "blink" scetch. Still didn´t work.

I have tryed three older versions of Arduino but none of them will even compile the "blink" scetch.

Any theories?

This is the error i get:

Arduino:1.8.3 (Windows 10), Kort:"Arduino/Genuino 101"

In file included from sketch\Blink.ino.cpp:1:0:

C:\Users\Berghiller\AppData\Local\Arduino15\packages\Intel\hardware\arc32\2.0.2\cores\arduino/Arduino.h:23:20: fatal error: stdint.h: No such file or directory

#include <stdint.h>

^

compilation terminated.

exit status 1
Error compiling for board Arduino/Genuino 101.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

It seems like something might be wrong with your Intel Curie Boards installation. Try this:

  • Tools > Board > Boards Manager
  • Wait for the download to finish
  • Scroll down the list and click on "Intel Curie Boards"
  • Click "Remove"
  • Wait for the removal to finish
  • Click "Install"
  • Wait for the installation to finish
  • Click "Close"
  • Try the compilation again.

Hmm, tryed that but got this error instead, it also take loooong time to compile:

Arduino:1.8.3 (Windows 10), Kort:"Arduino/Genuino 101"

Build options changed, rebuilding all
C:\Users\Berghiller\AppData\Local\Arduino15\packages\Intel\tools\arc-elf32\1.6.9+1.0.1/bin/arc-elf32-ar: unable to rename 'core\core.a'; reason: File exists

exit status 1
Error compiling for board Arduino/Genuino 101.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Both the slow compilation and that error make me suspect your antivirus is causing the problem. Try TEMPORARILY disabling your antivirus for a single compilation to see if the problem goes away. If so you will need to change your antivirus settings to whitelist the offending processes or folders.

That worked, thanks! :slight_smile:

Now I can compile the blink scetch, however my other scetch still does not work... and I have not done any changes since last time i compiled it.

Tryed to install the Arduino Software once again and while installing I get this error, any thoughts?

Error.jpg

That also looks like it could be caused by the antivirus doing a scan on the file and thus blocking it from being opened.

e6b52042af8f5f7bc50c1a59163258ca8f3d4564.jpg