Verify failed

When I try to upload an arduino program from my laptop I get the error from the imagine. If I try to program directely on the board I get a similar error but with another code. Any idea? Thx

Copy and paste the entire error message in code tags in your next reply.

What board are you using? What OS?

You're using an ancient version of the IDE, which could be part of the problem. 1.5.x was a basketcase.

Retry with 1.6.5r5 (not 1.6.6 or later), with verbose upload output enabled, and post the output of that here, as text, inside code tags.

Also as noted above, we need to know what board you're using, and what OS.