So it's been a while since I fired up my Arduino IDE, and when I tried to compile, it shows the error "Error compiling for board Arduino/Genuono" with no other texts. I tried reinstalling the IDE and Java, deleted all temp folders and in the end it's still showing the same error.
I turned on the verbose text and this is what it shows me:
ballscrewbob:
WOW then you really do have an issue.
So we know its win 7 on the latest IDE with a UNO.
Anything connected to the board ?
Does device manager see it ?
Real UNO or a clone ?
Was that just a compile or an upload ?
Any other info you can provide ?
Anything connected to the board ?
I've tried to do both, same result.
Does device manager see it ?
It even shows up in the COM selection in the IDE.
Real UNO or a clone ?
It's real.
Was that just a compile or an upload ?
It gives the error during compilation, so it doesn't even attempt to even upload.
It does it with any board I selected. At first I thought it's a library issue, then I decided to try it on a blank sketch (the default you get from just opening a new IDE window). Then I tried to make a deliberate syntax error. The error messages given were all identical.
I just realised there was one thing I haven’t tried. I reinstalled the IDE in the D drive and now it works fine.
Still don’t know what was the issue though, cause I’ve deleted the temp folders when I helplessly reinstalled it over and over previously.