On line 108? It's the close bracket for the main function... I haven't altered the file in any way.

I'm pretty much convinced now that it's a problem with Vista 64, since a google search yields a whole array of problems with PATH variables and referencing stuff that doesn't exist with AVR Studio. Atmel says their very latest build works with Vista 64, so I'm downloading that now... I'll see what happens.

Troubleshooting this is proving to be really frustrating, since there doesn't seem to be a nice solution anywhere.

I believe I have a solution now for people getting this ridiculous error with Vista 64.

Using the latest build of AVR Studio (v4.14 build 589), I went into the makefile and found/replaced all ".dep" with "dep" and created a subfolder: "C:\My_Robots\Photovore_v1\dep" . Now there is somewhere for the dependency files to go. It built, but I got a new interesting error after it finished: