Compilation problem

Hello. I had my software working ok until the last week, but now it will take more than 30 minutes to compile ANY code, even a blank code! Ive tried to re-install the compiler, but the same thing keeps happening... Could anyone help me with that?

Hi Daniel

Common causes seems to be the sketches folder having too many sketches in.
Poor library management with regards lots of similar libraries that it has to trawl through.
Some antivirus also slows it down.

Maybe you could provide a some more information.

Computer type and OS ?
IDE version and board type ?
Whats connected to the board ?
What other steps you have taken to try fix the issue ?
Maybe if it shows any errors then supply the log (make sure VERBOSE is switched on in the IDE for compilation and upload along with compiler warnings in Preferences)

Hey, my PC is an HP Pavilion dv6, Intel i5 processor, with Windows 7

Im using Arduino Genuino Uno, IDE 1.6.9
I have an EMG aquisition circuit connected to the board, but as I said, even with a blank code I have the same problem

The verbose is on, and apparently the program is getting stuck in a file named "Hardware"

Ive tried re-installing, changing the folder location, and turning off the antivirus, but none of these have worked...

Could you share your code (please use the code tags)

Specs for your lappy state USB 2.0 so that should not be an issue.

Have you tried other cables ? (presume you are connecting directly to laptop)

Will it upload quicker if you remove the extra hardware ? (if so then there may be some issue with the extra components)

I don't have your extra hardware but If it will compile here for a bare board it may give a clue.

Even with everything disconnected it doesnt work...

the code is

void setup(){

int a;

}

void loop(){

}

I had another code, but ive been trying to compile this, because its very simple...

Ill try changing the cable...