User forums > Using Code::Blocks

bad windres parameter

(1/1)

#!/ussr/bin/restart:
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=<...>
--- End code ---

mandrav:
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
--- End code ---


That's it!

Anonymous:
Thanks!

P.S.
I know it's deprecated, but still...

Anonymous:
Oh! I almost forgot my manners...

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

Navigation

[0] Message Index

Go to full version