User forums > Using Code::Blocks

invalid win32 rc file

<< < (3/3)

stahta01:
The problem could be in 3 places. I tend to believe it is in a little of all 3 places.

1. M.rc (bad data or formatting)
2. windres.exe ( does not support operations needed by M.rc)
3. Code::Blocks (does not change to folder containing M.rc)

I am going to try to get Mahogany to compile using VS2003 and see if I can reduce the problem areas some.

Tim S

MoonKid:

--- Quote from: stahta01 on May 06, 2007, 11:21:09 pm ---I am going to try to get Mahogany to compile using VS2003 and see if I can reduce the problem areas some.
--- End quote ---

I found the problem.

The string "-Ires" is an option "-I" and a search dir for the resource-compiler "res".
I just changed "res" to ".\res" and it worked.

Is it a C::B specific bug? Should I add bug report? Or is it a winres-bug?

stahta01:
I say that it is a windres.exe bug, but maybe it can be fixed by code in code::blocks.

Tim S

Navigation

[0] Message Index

[*] Previous page

Go to full version