DynamicModule fails to load ExpatParser
Moderators: CEGUI MVP, CEGUI Team
DynamicModule fails to load ExpatParser
Hi guys. I followed the tutorial and built the dependencies and CEGUI in VS. I'm getting a "Failed to load module" error on the expat parser dll, even though it is sitting in the same folder as the executable. Really all I'm doing right now is creating a D3D9 Device and trying to use the bootstrap system on it.
Re: DynamicModule fails to load ExpatParser
Which tutorial? which CEGUI version? does the sample browser work?
CrazyEddie: "I don't like GUIs"
Re: DynamicModule fails to load ExpatParser
The tutorial about building with CMake and Visual Studio, the one on youtube. Using the latest version, only got it yesterday. Not sure what you mean about the sample browser
Re: DynamicModule fails to load ExpatParser
I really dont know which video you mean. A link would help in this case.
The sample browser is part of the solution that you create with cmake (by default). You can run it and you should see if it works there. It is setup and tested and would work if everything else is setup correctly. That way you can find out if it is an issue with your project setup or with the way CEGUI was configured in your case.
Based on the information you gave us so far, I have no real hint why what you are saying is happenign despite the presence of the dll. Maybe a naming issue? Starting from the wrong debugging folder?
The sample browser is part of the solution that you create with cmake (by default). You can run it and you should see if it works there. It is setup and tested and would work if everything else is setup correctly. That way you can find out if it is an issue with your project setup or with the way CEGUI was configured in your case.
Based on the information you gave us so far, I have no real hint why what you are saying is happenign despite the presence of the dll. Maybe a naming issue? Starting from the wrong debugging folder?
CrazyEddie: "I don't like GUIs"
Re: DynamicModule fails to load ExpatParser
Are the dependencies of the expat module maybe missing? (libexpat.dll)
CrazyEddie: "I don't like GUIs"
Re: DynamicModule fails to load ExpatParser
The video I was referring to is this:
https://www.youtube.com/watch?v=VaD-MQJLtWk&
After putting the libexpat_d.dll in my folder, the problem is now loading the SILLY codec. I put CEGUISILLYImageCodec_d.dll and SILLY_d.dll in the folder, but no dice. I'm on Visual Studio 2017, Windows 10, if that makes a difference. Is there a way to tell the program where these DLLs are located instead of having to paste them in the same folder as the executable?
https://www.youtube.com/watch?v=VaD-MQJLtWk&
After putting the libexpat_d.dll in my folder, the problem is now loading the SILLY codec. I put CEGUISILLYImageCodec_d.dll and SILLY_d.dll in the folder, but no dice. I'm on Visual Studio 2017, Windows 10, if that makes a difference. Is there a way to tell the program where these DLLs are located instead of having to paste them in the same folder as the executable?
Re: DynamicModule fails to load ExpatParser
I dumped all *_d.dll files from the dependency folder into my exe folder, and now it works. The problem I'm getting now is when trying to call , I'm getting an exception in the line in Singleton.h
Code: Select all
CEGUI::System::create(myRenderer);
Code: Select all
assert( !ms_Singleton );
Re: DynamicModule fails to load ExpatParser
KillerM wrote:I dumped all *_d.dll files from the dependency folder into my exe folder, and now it works. The problem I'm getting now is when trying to call, I'm getting an exception in the lineCode: Select all
CEGUI::System::create(myRenderer);
in Singleton.hCode: Select all
assert( !ms_Singleton );
Read the documentation carefully again. You are seemingly not initialising things in the right order. Also have you taken a look at the Application Template example? It contains the exact code all in one file to properly start up everything.
CrazyEddie: "I don't like GUIs"
Who is online
Users browsing this forum: No registered users and 11 guests