Author Topic: Bug windres -J ??  (Read 7861 times)

Josef

  • Guest
Bug windres -J ??
« 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

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Bug windres -J ??
« Reply #1 on: February 01, 2005, 12:33:09 pm »
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.

Thanx for mentioning it,
Yiannis.
Be patient!
This bug will be fixed soon...

bszente

  • Guest
Bug windres -J ??
« Reply #2 on: February 07, 2005, 12:19:53 am »
I even deleted the "-J rc" option, and it worked without any problem.