Try moving line 3312 in interface.c down one line, so that it looks like this: pixel *old_vid=(pixel *)calloc((XRES+BARSIZE)*(YRES+MENUSIZE), PIXELSIZE); viewcountbuffer[0] = 0; fillrect(vid_buf, -1, -1, XRES+BARSIZE, YRES+MENUSIZE, 0, 0, 0, 192);
(the source code doesn't always work perfectly in Visual Studio)
Looks like you've copied a string with odd quotes in, look through the linker options in Visual Studio, check the Libraries option and replace any odd quotes (”) with the correct ones. (")