[SOLVED] Problems compiling MyGUI 3.0.1 under windows

NoxWings

24-10-2011 13:46:21

Hi!This is my first post :P!

I have tried to compile MyGUI 3.0.1 downloading sources from the website
I'm using CMake 2.8.6 and MinGW.

But it runs into an error when trying to compile the tools and demos, saying "windres.exe: invalid option -f"

Anyway CMAKE_RC_FLAGS is set to be an empty string so I don't know how to fix this issue.


[ 46%] Building RC object Demos/Demo_Colour/CMakeFiles/Demo_Colour.dir/__/__/Com
mon/Base/BaseResource.rc.obj
C:\MinGW\bin\windres.exe: invalid option -f

mingw32-make[2]: *** [Demos/Demo_Colour/CMakeFiles/Demo_Colour.dir/__/__/Common/Base/BaseResource.rc.obj] Error 1
mingw32-make[1]: *** [Demos/Demo_Colour/CMakeFiles/Demo_Colour.dir/all] Error 2
mingw32-make: *** [all] Error 2


Any clue?

Altren

24-10-2011 15:05:07

Try MyGUI 3.2.0RC1 - I'm almost sure that this was fixed.

NoxWings

28-10-2011 12:59:17

Try MyGUI 3.2.0RC1 - I'm almost sure that this was fixed.

After doing this I have gotten stuck with the "invalid option -- m", so searching a little bit in this forum I've realized I have to use CMake 2.8.3, and voila! solved! thx ^^