[SOLVED]Visual Studio - SDL2 + CEGUI - failed to load module libXML
Posted: Sun Nov 24, 2019 02:00
Hello everyone. Its been forever since I used CEGUI. Last time I used CEGUI was with OGRE but now I am trying to get it working with SDL2. I built all dependencies from source and everything built fine and is super organized. All I am trying to do now is to get the simple SDL2 example working but it is giving me a hard time now:
The only edits I had to make are adding:
#define CEGUI_USE_GLEW
and also fixing the CEGUI::MouseButton names
The problem is I am hitting an exception when loading "CEGUILibXMLParser_d.dll" within setupXMLParser(). The odd thing is that all the proper dlls are in the working directory so I am stumped what is happening here. All other dlls are loading fine. Screenshot attached. Thanks for any help!
EDIT: I thought maybe there was something not right about using libxml so I rebuilt cegui with expat and also built the SDL2 and GLFW samples along with it and the expat dll is also failing to load in both samples as well. Something isn't quite right here.
This guy had same issue but he just didn't have dlls in working dir: viewtopic.php?f=10&t=7447
The only edits I had to make are adding:
#define CEGUI_USE_GLEW
and also fixing the CEGUI::MouseButton names
The problem is I am hitting an exception when loading "CEGUILibXMLParser_d.dll" within setupXMLParser(). The odd thing is that all the proper dlls are in the working directory so I am stumped what is happening here. All other dlls are loading fine. Screenshot attached. Thanks for any help!
EDIT: I thought maybe there was something not right about using libxml so I rebuilt cegui with expat and also built the SDL2 and GLFW samples along with it and the expat dll is also failing to load in both samples as well. Something isn't quite right here.
This guy had same issue but he just didn't have dlls in working dir: viewtopic.php?f=10&t=7447