Thomas233
21-06-2009 17:32:43
Hello,
for my upcoming project which uses MOGRE as 3d renderer and which is written in C# i need a powerful but also easy to use GUI engine which also available for managed code. I`ve compared a lot of freely available GUI engines and the one which i was most impressed about was MyGUI. Therefore i`ve decided to use it as GUI engine for my project.
However because of the lack of tutorials I was not able to find out how to set it up properly up to yet.
Here are the steps i`ve performed:
1. Downloaded Mogre SDK 1.4.8 and succesfully integrated into my project
2. Downloaded precompiled MyGUI realease from http://downloads.sourceforge.net/my-gui ... _MyGUI.zip
3. Copied MyGUI.Managed_d.dll and MyGUI_d.dll to project output directory and added MyGUI.Managed_d.dll as reference to my project
4. Copied content from MyGUI_Media directory to \Resources\GUI\Core path (except all theme files such as core_black_blue.png and the associated .txt and .xml files)
5. Copied blue and orange theme to \Resources\GUI\Themes\Black and \Resources\GUI\Themes\Blue directorys
6. Added resource paths to MOGRE resources.cfg in output directory
If i call
in my code the debugger throws an exception that it couldn`t find the MyGUI assembly.
I tried serveral things to get it running but it didn`t work. I would be very happy about help from people who already got Mogre and Managed MyGUI working !
I`m using Visual Studio 2008 Express SP2 C# and C++ Edition.
Maybe anyone of you has an idea ?
Thank you very much !
Greetings,
Thomas
for my upcoming project which uses MOGRE as 3d renderer and which is written in C# i need a powerful but also easy to use GUI engine which also available for managed code. I`ve compared a lot of freely available GUI engines and the one which i was most impressed about was MyGUI. Therefore i`ve decided to use it as GUI engine for my project.
However because of the lack of tutorials I was not able to find out how to set it up properly up to yet.
Here are the steps i`ve performed:
1. Downloaded Mogre SDK 1.4.8 and succesfully integrated into my project
2. Downloaded precompiled MyGUI realease from http://downloads.sourceforge.net/my-gui ... _MyGUI.zip
3. Copied MyGUI.Managed_d.dll and MyGUI_d.dll to project output directory and added MyGUI.Managed_d.dll as reference to my project
4. Copied content from MyGUI_Media directory to \Resources\GUI\Core path (except all theme files such as core_black_blue.png and the associated .txt and .xml files)
5. Copied blue and orange theme to \Resources\GUI\Themes\Black and \Resources\GUI\Themes\Blue directorys
6. Added resource paths to MOGRE resources.cfg in output directory
[General]
FileSystem=Resources/Gui/Core
FileSystem=Resources/Gui/Themes
If i call
Gui.Initialise()
in my code the debugger throws an exception that it couldn`t find the MyGUI assembly.
The file or assembly "MyGUI.Managed_d, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null" was not found (HRESULT: 0x800736B1)
InnerException: System.COM.InteropException - The application could not be started because it`s configuration is not correct
I tried serveral things to get it running but it didn`t work. I would be very happy about help from people who already got Mogre and Managed MyGUI working !
I`m using Visual Studio 2008 Express SP2 C# and C++ Edition.
Maybe anyone of you has an idea ?
Thank you very much !
Greetings,
Thomas