Quote Originally Posted by louislouis View Post
and if you take away the config part, it compiles without errors?
Copy and paste this, and try to compile.
Yes, compile without problems

If I understand correctly, that's what I do when programming the chip, I set the fuses like this

Name:  Untitled.jpg
Views: 2615
Size:  60.3 KB