I'm trying ot build a podofo library and it gets up to 65% and the below error occures.
The entire code snipped is below. Not sure what this means or the faintest idea on how to fix it.
Basically I've generated a makefile with CMAKE and tried to bild the library with mingw32-make in the command line. I've attached the Makefile for reference too.
Any clues how to attack the below error? Thanks
C:\CodeBlocks\MinGW\bin\windres.exe: invalid option -- W
Usage: C:\CodeBlocks\MinGW\bin\windres.exe [option(s)] [input-file] [output-file]
[ 65%] Building RC object src/CMakeFiles/podofo_static.dir/doc/podofo-doc.rc.obj
C:\CodeBlocks\MinGW\bin\windres.exe: invalid option -- W
Usage: C:\CodeBlocks\MinGW\bin\windres.exe [option(s)] [input-file] [output-file
]
The options are:
-i --input=<file> Name input file
-o --output=<file> Name output file
-J --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
-I --include-dir=<dir> Include directory when preprocessing rc file
-D --define <sym>[=<val>] Define SYM when preprocessing rc file
-U --undefine <sym> Undefine SYM when preprocessing rc file
-v --verbose Verbose - tells you what it's doing
-c --codepage=<codepage> Specify default codepage
-l --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)
-r Ignored for compatibility with rc
@<file> Read options from <file>
-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.
C:\CodeBlocks\MinGW\bin\windres.exe: supported targets: pe-i386 pei-i386 elf32-i
386 elf32-little elf32-big srec symbolsrec tekhex binary ihex
mingw32-make[2]: *** [src/CMakeFiles/podofo_static.dir/doc/podofo-doc.rc.obj] Er
ror 1
mingw32-make[2]: Target `src/CMakeFiles/podofo_static.dir/build' not remade beca
use of errors.
mingw32-make[1]: *** [src/CMakeFiles/podofo_static.dir/all] Error 2
mingw32-make[1]: Target `all' not remade because of errors.
mingw32-make: *** [all] Error 2