News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

windres / OGRE

Started by evolutional, August 05, 2005, 09:19:04 AM

Previous topic - Next topic

evolutional

I'm *still* having issues with windres when compiling the OGRE Win32 Platform manager. I've followed all the info I found searching the forum (eg: changing the parameter from -J to -I) but I'm still getting errors...

The resource will semi compile if I remove the include path directive (I kept getting weird messages about C:\MinGW\include being an unrecognised format, even when explicitly passing it as an include directory). The latest error (after hard pathing things like resource.h, etc) is:-

QuoteCompiling: ..\misc\OgreWin32Resources.rc
windres.exe: ../misc/OgreWin32Resources.rc:99: parse error

Line 99 looks like:    CONTROL         106,IDC_STATIC,"Static",SS_BITMAP,0,0,327,140

When I remove that line, it compiles but crashes code::blocks on linking.

It's pretty bizarre, to say the least ^^

Any ideas from people who've compiled OGRE with GCC 4.x under C::B 1.0 final beta?

rickg22

Hmmm it seems your windres is outdated. At least it appears so.

Also, GCC 4.0 is VERY UNSTABLE. Not recommended.

tiwag

i've not compiled ogre, but i had a few occurrences when porting code, which was originally written for M$-compilers, to MinGW, that IDC_STATIC was never defined anywhere in the sourcecode
because M$ seems to define it somewhere in the deep hell of their windows headers.

set it simply to zero -> #define IDC_STATIC 0

be sure, that all identifiers are defined or #define it yourself !

evolutional

Quoteset it simply to zero -> #define IDC_STATIC 0

Thanks, I'll give that a try :)

QuoteHmmm it seems your windres is outdated. At least it appears so.

I'm not so sure, it's from the latest release of MinGW. I'll have to have a look to confirm though

QuoteAlso, GCC 4.0 is VERY UNSTABLE. Not recommended.

Is it? I can't say I've had any problems with it at all until this, and this is a windres issue. Bizarre!

evolutional

Ok I tried a newer version of windres and it killed the errors... the main issue now is the crash that kills C::B. I'm using the old GCC 3 series compiler and it's still happening...

Here's a screengrab of the error:



It seems to be when the Win32PlatformManager is being built...

mandrav

Hi Oli :)

Are you saying that C::B crashes while compiling OGRE Win32 Platform manager?!?

If so, which are your specs?:

WinXP (?)
GCC-4.0 (where from?)
Ogre (version ?)

Also, have you tried with RC1-1? FinalBeta is a few months old by now...

Yiannis.
Be patient!
This bug will be fixed soon...