Thoran
29-04-2008 14:34:23
Hello everyone!
I am new to MQuickGUI and currently try to get it running in a very simplistic way to see if it fits my needs.
So far I checked out the MQuickGUI SVN-version from the MOGRE repository and compiled it. Everything is fine. However as soon as I try to instanciate the GUIManager in my C# program I get a FileNotFound exception. An exemplary codeline would look like this
One or the other might complain that the GUIManager is a singleton and I should access it through the Singleton object. I also tried the code example from the wiki. The line causing the exception then would be:
It seems to have a problem with the second constructor GUIManager(width, height) (the default constructor works, but also refernces the second one where the exception gets thrown again), because everytime that one is used the exception is thrown. I didn't see such a behaviour before and wondered if anyone else struggled with that problem and could give me some help.
Any help is greatly appreciated.
Thoran
I am new to MQuickGUI and currently try to get it running in a very simplistic way to see if it fits my needs.
So far I checked out the MQuickGUI SVN-version from the MOGRE repository and compiled it. Everything is fine. However as soon as I try to instanciate the GUIManager in my C# program I get a FileNotFound exception. An exemplary codeline would look like this
MQuickGUI.GUIManager locGUIManager = null;
locGUIManager = new GUIManager();
One or the other might complain that the GUIManager is a singleton and I should access it through the Singleton object. I also tried the code example from the wiki. The line causing the exception then would be:
GUIManager.Singleton._notifyWindowDimensions(800, 600); // Better update this to your current viewport's size!
It seems to have a problem with the second constructor GUIManager(width, height) (the default constructor works, but also refernces the second one where the exception gets thrown again), because everytime that one is used the exception is thrown. I didn't see such a behaviour before and wondered if anyone else struggled with that problem and could give me some help.
Any help is greatly appreciated.
Thoran