User forums > Using Code::Blocks

invalid win32 rc file

(1/3) > >>

MoonKid:
I imported a MSVisualC++ project and try to build it.

There is a build log say this:
-------------- Build: Debug_Win32 in M ---------------
Compiling: res\M.rc
Option -I is deprecated for setting the input format, please use -J instead.
windres.exe: D:\Garage\projekte\mahogany\MAHOGA~1\res\M.rc: Not a valid WIN32 resource file
Process terminated with status 1 (0 minutes, 0 seconds)
1 errors, 0 warnings
 
The file can be found here:
http://mahogany.svn.sourceforge.net/viewvc/mahogany/trunk/M/res/M.rc?revision=7018&view=markup

I do not what is different here and where I can set the -I and -J option.

stahta01:
What compiler, include version, are you using?

Also, what version of Code::Blocks are you using RC2 or SVN? If SVN, what SVN number?

Tim S

MoonKid:

--- Quote from: stahta01 on May 06, 2007, 06:42:18 pm ---What compiler, include version, are you using?

--- End quote ---

I am using gcc (3.4.2 mingw-special) under WinXP.


--- Quote from: stahta01 on May 06, 2007, 06:42:18 pm ---Also, what version of Code::Blocks are you using RC2 or SVN? If SVN, what SVN number?

--- End quote ---

I am using the current nightly.

dje:

--- Quote ---current nightly
--- End quote ---
I think SVN number is more useful (outside nightly build posts)...

Dje

stahta01:
From doc/build_win.txt

--- Quote ---currently, the supported compilers [, under windows,] for building Mahogany are MS Visual C++ 7.1 and cygwin.
--- End quote ---

I can help you to get past some problems, but it may be a lot of problems and it still maybe won't work using MinGW GCC.

Please turn on Compiler Logging.

Post the command causing the error and I might be able to help you find the cause.

Steps to turn on Compiler Logging:
"Settings" -> "compiler debugger"
Change "Compiler Settings" to "Other Settings"
Set "Compiler Logging" to "Full Command Line"

Tim S

Navigation

[0] Message Index

[#] Next page

Go to full version