Great. Just as I tought I solved the problems with the old libraries, the Arduino itself is giving problems. After (or just before the end) I get the error:
avrdude: stk500_getsync(): not in sync: resp=0x00
And then nothing. Tried every solution I can find with Google:
– other USB port
– reinstall Arduino drivers
– make sure port/board are okay
– reset before uploading
– reset while uploading
– remove all component so only upload to the bare Arduino board
Nothing works. I guess the Arduino hardware itself is just rubbish. Made in Italy, that explains a lot.