News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Problem with compiling resources

Started by Destroyer, January 10, 2006, 08:37:58 AM

Previous topic - Next topic

Destroyer

Project   : ZeroCool
Compiler  : GNU GCC Compiler (called directly)
Directory : D:\Projects\ZeroCool\
--------------------------------------------------------------------------------
Switching to target: default
Compiling: resources.rc
windres.exe: invalid option -- J
Usage: windres.exe [option(s)] [input-file] [output-file]
The options are:
  -i --input=<file>            Name input file
  -o --output=<file>           Name output file
  -I --input-format=<format>   Specify input format
  -O --output-format=<format>  Specify output format
  -F --target=<target>         Specify COFF target
     --preprocessor=<program>  Program to use to preprocess rc file
     --include-dir=<dir>       Include directory when preprocessing rc file
  -D --define <sym>[=<val>]    Define SYM when preprocessing rc file
  -v --verbose                 Verbose - tells you what it's doing
     --language=<val>          Set language when reading rc file
     --use-temp-file           Use a temporary file instead of popen to read
                               the preprocessor output
     --no-use-temp-file        Use popen (default)
  -h --help                    Print this help message
  -V --version                 Print version information
FORMAT is one of rc, res, or coff, and is deduced from the file name
extension if not specified.  A single file name is an input file.
No input-file is stdin, default rc.  No output-file is stdout, default rc.
windres.exe: supported targets: pe-i386 pei-i386 elf32-i386 elf32-little elf32-big srec symbolsrec tekhex binary ihex
Process terminated with status 1 (0 minutes, 2 seconds)

What can I do to fix this problem?

Ceniza

I bet you're using an old version of windres.

Compare your windres --version with this one (mine):

Quote from: windres --versionGNU windres 2.16.91 20050827
Copyright 2005 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.

If yours is older, consider updating :)

PS: MinGW's package that comes with windres: binutils

Destroyer

Quote from: Ceniza on January 10, 2006, 08:41:34 AM
I bet you're using an old version of windres.

Compare your windres --version with this one (mine):

If yours is older, consider updating :)

PS: MinGW's package that comes with windres: binutils

Yes, it helps.
Thank you Ceniza for reply.

mandrav

If you don't want to upgrade binutils, search the forum. The solution has been posted many times...
Be patient!
This bug will be fixed soon...