Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: Josef on February 01, 2005, 11:33:14 am
-
Hi all,
I started to test beta5/Win version of CB. Thank a lot, first.
I got problems to compile my .rc script (MinGW, install package MinGW-3.1.0-1.exe). I looked to advanced options, here is script for compiling resources which is there used:
$rescomp -i $file -J rc -o $resource_output -O coff $res_includes
I wasn't sure about -J switch, because windres --h tell me only about -I switch (input format, in this case rc). So after change -J to -I it work OK.
Can someone comfirm if this is bug or not?
Happy code::blocking
Josef
-
It's not a bug.
MinGW's windres option "-I" is now deprecated (can't remember the exact windres version that happened) and "-J" should be used instead. But if your windres chokes on "-J", then just edit it in the advanced compiler options (like you did).
The solution was alse mentioned in this thread (http://www.codeblocks.org/index.php?name=PNphpBB2&file=viewtopic&t=27&highlight=windres).
Thanx for mentioning it,
Yiannis.
-
I even deleted the "-J rc" option, and it worked without any problem.