When I try to use windres (Included with MinGW) to compile my .rc file using the tutorial here, it gives me the following error (I put "windres my.rc -O coff -o my.res" into the command line):
cpp: Too many arguments
windres: my.rc:1: syntax error
my.rc is as follows:
1 ICON "C:\Users\Owner\Desktop\LonelyPlanet\LonelyPlanetIcon.ico"
2 VERSIONINFO
FILEVERSION 1,0,0,0
PRODUCTVERSION 1,0,0,0
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904E4"
BEGIN
VALUE "CompanyName", "Neil Flodin"
VALUE "FileDescription", "A game I made at iD tech camp!"
VALUE "FileVersion", "1.0"
VALUE "InternalName", "Lonely_Planet"
VALUE "LegalCopyright", "Copyright(c) Neil Flodin All Rights Reserved"
VALUE "OriginalFilename", "Lonely Planet.exe"
VALUE "ProductName", "Lonely Planet"
VALUE "ProductVersion", "1.0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1252
END
END
Is there anything weird that I'm doing with my rc file/command line input, and if so, how could I make windres compile it?
-Neil