[Solved] Runtime Error during loading: failed to load module

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

laonious
Just popping in
Just popping in
Posts: 8
Joined: Mon Aug 04, 2014 00:52

[Solved] Runtime Error during loading: failed to load module

Postby laonious » Sun Aug 31, 2014 20:23

Hi again,
First, I don't see a cegui.log file, but I think it's because the executable doesn't get far enough along. Here's the output when I run the program:

CEGUI::GenericException in function '__thiscall CEGUI::DynamicModule::DynamicMod
ule(const class CEGUI::String &)' (..\..\..\cegui\src\DynamicModule.cpp:222) : Failed to load module 'CEGUIExpatParser.dll': The specified module could not be found.

Now, I'm building using VC++ 2013 v 12. I just built the dependencies from source, everything seems to compile fine. The files CEGUIBase-0.dll, CEGUIExpatParser.dll, CEGUIExpatParser_d.dll and CEGUIOpenGLRender-0.dll are all in the same directory as the executable. Any ideas?
Thanks!

User avatar
Kulik
CEGUI Team
Posts: 1382
Joined: Mon Jul 26, 2010 18:47
Location: Czech Republic
Contact:

Re: Runtime Error during loading: failed to load module

Postby Kulik » Sun Aug 31, 2014 21:19

Use depends32.exe on CEGUIExpatParser.dll, you haven't copied dependencies of CEGUIExpatParser.dll into PATH.

laonious
Just popping in
Just popping in
Posts: 8
Joined: Mon Aug 04, 2014 00:52

Re: Runtime Error during loading: failed to load module

Postby laonious » Mon Sep 01, 2014 04:07

Thanks! I didn't even know there was such a thing, thank you for the help!


Return to “Help”

Who is online

Users browsing this forum: No registered users and 20 guests