Ident wrote:If you use CEGUI Irrlicht you would link the following libs: CEGUI-.... Base, CoreWindowRendererSet, ExpatParser (or other), IrrlichtRenderer, SILLYImageCodec (or other), your Irrlicht libs and Irrlicht dependency libs

that's my problem, I don't know if I'm correctly linking the libs.
Ident wrote:In your case it looks like either CEGUIrrlichtRenderer.lib or the Irrlicht libs themselves are not linked
I don't have CEGUIrrlichtRenderer.lib, I only have CEGUIrrlichtRenderer_d and CEGUIrrlichtRenderer_d.dll. By the way I got more errors than I wrote in my previous post, I have errors with everything CEGUI related and those errors come up during the linking stage :
Code: Select all
obj\Debug\GUI\GUIManager.o||In function `GUIManager::GUIManager(CEGUI::String const&, irr::IrrlichtDevice*)':
\ErebnyxEngine\GUI\GUIManager.cpp|17|undefined reference to `__imp__ZN5CEGUI16IrrlichtRenderer15bootstrapSystemERN3irr14IrrlichtDeviceE'|
\ErebnyxEngine\GUI\GUIManager.cpp|19|undefined reference to `__imp__ZN5CEGUI6System12getSingletonEv'|
\ErebnyxEngine\GUI\GUIManager.cpp|19|undefined reference to `__imp__ZNK5CEGUI6System19getResourceProviderEv'|
\ErebnyxEngine\GUI\GUIManager.cpp|20|undefined reference to `__imp__ZN5CEGUIplERKNS_6StringEPKc'|
\ErebnyxEngine\GUI\GUIManager.cpp|20|undefined reference to `__imp__ZN5CEGUI23DefaultResourceProvider25setResourceGroupDirectoryERKNS_6StringES3_'|
\ErebnyxEngine\GUI\GUIManager.cpp|20|undefined reference to `__imp__ZN5CEGUI6StringD1Ev'|
\ErebnyxEngine\GUI\GUIManager.cpp|20|undefined reference to `__imp__ZN5CEGUI6StringD1Ev'|
\ErebnyxEngine\GUI\GUIManager.cpp|21|undefined reference to `__imp__ZN5CEGUIplERKNS_6StringEPKc'|
\ErebnyxEngine\GUI\GUIManager.cpp|21|undefined reference to `__imp__ZN5CEGUI23DefaultResourceProvider25setResourceGroupDirectoryERKNS_6StringES3_'|
\ErebnyxEngine\GUI\GUIManager.cpp|21|undefined reference to `__imp__ZN5CEGUI6StringD1Ev'|
\ErebnyxEngine\GUI\GUIManager.cpp|21|undefined reference to `__imp__ZN5CEGUI6StringD1Ev'|
\ErebnyxEngine\GUI\GUIManager.cpp|22|undefined reference to `__imp__ZN5CEGUIplERKNS_6StringEPKc'|
\ErebnyxEngine\GUI\GUIManager.cpp|22|undefined reference to `__imp__ZN5CEGUI23DefaultResourceProvider25setResourceGroupDirectoryERKNS_6StringES3_'|
\ErebnyxEngine\GUI\GUIManager.cpp|22|undefined reference to `__imp__ZN5CEGUI6StringD1Ev'|
\ErebnyxEngine\GUI\GUIManager.cpp|22|undefined reference to `__imp__ZN5CEGUI6StringD1Ev'|
\ErebnyxEngine\GUI\GUIManager.cpp|23|undefined reference to `__imp__ZN5CEGUIplERKNS_6StringEPKc'|
\ErebnyxEngine\GUI\GUIManager.cpp|23|undefined reference to `__imp__ZN5CEGUI23DefaultResourceProvider25setResourceGroupDirectoryERKNS_6StringES3_'|
\ErebnyxEngine\GUI\GUIManager.cpp|23|undefined reference to `__imp__ZN5CEGUI6StringD1Ev'|
\ErebnyxEngine\GUI\GUIManager.cpp|23|undefined reference to `__imp__ZN5CEGUI6StringD1Ev'|
\ErebnyxEngine\GUI\GUIManager.cpp|24|undefined reference to `__imp__ZN5CEGUIplERKNS_6StringEPKc'|
\ErebnyxEngine\GUI\GUIManager.cpp|24|undefined reference to `__imp__ZN5CEGUI23DefaultResourceProvider25setResourceGroupDirectoryERKNS_6StringES3_'|
\ErebnyxEngine\GUI\GUIManager.cpp|24|undefined reference to `__imp__ZN5CEGUI6StringD1Ev'|
\ErebnyxEngine\GUI\GUIManager.cpp|24|undefined reference to `__imp__ZN5CEGUI6StringD1Ev'|
\ErebnyxEngine\GUI\GUIManager.cpp|25|undefined reference to `__imp__ZN5CEGUIplERKNS_6StringEPKc'|
\ErebnyxEngine\GUI\GUIManager.cpp|25|undefined reference to `__imp__ZN5CEGUI23DefaultResourceProvider25setResourceGroupDirectoryERKNS_6StringES3_'|
\ErebnyxEngine\GUI\GUIManager.cpp|25|undefined reference to `__imp__ZN5CEGUI6StringD1Ev'|
\ErebnyxEngine\GUI\GUIManager.cpp|25|undefined reference to `__imp__ZN5CEGUI6StringD1Ev'|
\ErebnyxEngine\GUI\GUIManager.cpp|27|undefined reference to `__imp__ZN5CEGUI6StringD1Ev'|
\ErebnyxEngine\GUI\GUIManager.cpp|28|undefined reference to `__imp__ZN5CEGUI6StringD1Ev'|
\ErebnyxEngine\GUI\GUIManager.cpp|29|undefined reference to `__imp__ZN5CEGUI6StringD1Ev'|
obj\Debug\GUI\GUIManager.o:C:\Desk\programming_projects\ErebnyxEngine\GUI\GUIManager.cpp|30|more undefined references to `__imp__ZN5CEGUI6StringD1Ev' follow|
obj\Debug\GUI\GUIManager.o||In function `GUIManager::initFont(std::string const&, std::string const&) const':|
\ErebnyxEngine\GUI\GUIManager.cpp|44|undefined reference to `__imp__ZN5CEGUI6System15getSingletonPtrEv'|
\ErebnyxEngine\GUI\GUIManager.cpp|44|undefined reference to `__imp__ZN5CEGUI6System14setDefaultFontERKNS_6StringE'|
\ErebnyxEngine\GUI\GUIManager.cpp|44|undefined reference to `__imp__ZN5CEGUI6StringD1Ev'|
\ErebnyxEngine\GUI\GUIManager.cpp|43|undefined reference to `__imp__ZN5CEGUI6StringD1Ev'|
\ErebnyxEngine\GUI\GUIManager.cpp|43|undefined reference to `__imp__ZN5CEGUI6StringD1Ev'|
\ErebnyxEngine\GUI\GUIManager.cpp|44|undefined reference to `__imp__ZN5CEGUI6StringD1Ev'|
obj\Debug\GUI\GUIManager.o||In function `GUIManager::initMouse(std::string const&, std::string const&) const':|
\ErebnyxEngine\GUI\GUIManager.cpp|51|undefined reference to `__imp__ZN5CEGUI6System15getSingletonPtrEv'|
\ErebnyxEngine\GUI\GUIManager.cpp|51|undefined reference to `__imp__ZN5CEGUI6System21setDefaultMouseCursorERKNS_6StringES3_'|
\ErebnyxEngine\GUI\GUIManager.cpp|51|undefined reference to `__imp__ZN5CEGUI6StringD1Ev'|
\ErebnyxEngine\GUI\GUIManager.cpp|51|undefined reference to `__imp__ZN5CEGUI6StringD1Ev'|
\ErebnyxEngine\GUI\GUIManager.cpp|51|undefined reference to `__imp__ZN5CEGUI6StringD1Ev'|
\ErebnyxEngine\GUI\GUIManager.cpp|51|undefined reference to `__imp__ZN5CEGUI6StringD1Ev'|
obj\Debug\GUI\GUIManager.o||In function `GUIManager::initRootWindow()':|
\ErebnyxEngine\GUI\GUIManager.cpp|58|undefined reference to `__imp__ZN5CEGUI13WindowManager12createWindowERKNS_6StringES3_'|
\ErebnyxEngine\GUI\GUIManager.cpp|58|undefined reference to `__imp__ZN5CEGUI6StringD1Ev'|
\ErebnyxEngine\GUI\GUIManager.cpp|58|undefined reference to `__imp__ZN5CEGUI6StringD1Ev'|
\ErebnyxEngine\GUI\GUIManager.cpp|59|undefined reference to `__imp__ZN5CEGUI6System15getSingletonPtrEv'|
\ErebnyxEngine\GUI\GUIManager.cpp|59|undefined reference to `__imp__ZN5CEGUI6System11setGUISheetEPNS_6WindowE'|
\ErebnyxEngine\GUI\GUIManager.cpp|61|undefined reference to `__imp__ZN5CEGUI6Window10deactivateEv'|
\ErebnyxEngine\GUI\GUIManager.cpp|58|undefined reference to `__imp__ZN5CEGUI6StringD1Ev'|
More errors follow but not being shown.
Edit the max errors limit in compiler options...
=== Build failed: 50 error(s), 14 warning(s) (1 minute(s), 9 second(s)) ===
Now I'm trying stuff randomly, I tried to link directly the dll instead of the extensionless files (project -> build options -> linker settings -> add libraries) which is certainly a dumb idea knowing that dlls are dynamics libs. So the compiler yells at me :
Code: Select all
lib\libcegui\CEGUIExpatParser_d.dll||In function `_CRT_INIT@12':
\home\ruben\mingw-w64\src\mingw-w64\mingw-w64-crt\crt\crtdll.c|76|multiple definition of `__CRT_INIT@12'
lib\libcegui\CEGUIBase_d.dll:\home\ruben\mingw-w64\src\mingw-w64\mingw-w64-crt\crt\crtdll.c|76|first defined here
...and so on...