You need to copy the two files (maxr.ico and maxr.bmp) from the game directory to the source directoy. Then it should compile successfully.