Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: #!/ussr/bin/restart on October 13, 2004, 07:32:38 pm

Title: bad windres parameter
Post by: #!/ussr/bin/restart on October 13, 2004, 07:32:38 pm
C::B passes `-J' instead of `-I' key (input format) to the resource compiler:
Code
$(RESCOMP) -i <...>.rc -J rc -o $(default_RESOURCE) -O coff  --include-dir=<...>
Title: bad windres parameter
Post by: mandrav on October 13, 2004, 08:47:46 pm
It's easy to change it:

1) Go to "Settings/Configure plugins/Compiler" to view the global compiler options.
2) Click the "Other" tab and then click "Advanced options...".
3) Click "Yes" in the warning dialog that appears.
4) Select "Compile Win32 resource file" in the "Available commands" listbox.
5) Change "-J" to "-I". The line should now read:
Code
$rescomp -i $file -I rc -o $resource_output -O coff $res_includes


That's it!
Title: bad windres parameter
Post by: Anonymous on October 13, 2004, 09:36:57 pm
Thanks!

P.S.
I know it's deprecated, but still...
Title: bad windres parameter
Post by: Anonymous on October 13, 2004, 09:47:14 pm
Oh! I almost forgot my manners...

It's a great project, long life to it!