windres syntax error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • allynm
    New Member
    • Apr 2010
    • 20

    #1

    windres syntax error

    Hello everyone,

    I am attempting to use windres to compile a .rc file. The command line I use is:

    windres -O coff about1.rc -o about1.res

    Windres generates a flurry of (more than 100) messaes each saying "warning: null characters ignored", and then ends by reporting:

    "About1.rc:1:sy ntax error"

    This same event happens even if I try to compile an empty .rc file.

    I am running in a MinGW environment using the most recent version of Windres and a fresh (as of 12/12) downloac of MinGW.

    To further add to the confusion, if I compile EXACTLY the same .rc file using rc.exe, the compiler is happy and generates a usable .res file.

    Any ideas what might be going wrong?

    Regards,
    Mark Allyn
Working...