I'm trying to add CEGUI to my Irrlicht project but I use Code::Blocks. Using the experimental MinGW binaries.
Search directories are
Compiler:
Code: Select all
cegui\include
include\RendererModules\Irrlicht
dependencies\include
Linker:
Code: Select all
lib
dependencies\lib\static
dependencies\lib\dynamic
Code:
Code: Select all
#include <CEGUI.h>
#include <CEGUIIrrlichtRenderer.h>
...
CEGUI::IrrlichtRenderer& myRenderer = CEGUI::IrrlichtRenderer::create(*device);
CEGUI::System::create( myRenderer );
...
smgr->drawAll();
CEGUI::System::getSingleton().renderGUI();
video->endScene();
DLLs in project bin folder (both debug and release versions):
Code: Select all
CEGUIBase
CEGUIExpatParser
CEGUIIrrlichtRenderer
CEGUISILLYImageCodec
SILLY
The project was compiled fine but I'm getting the following link errors:
Code: Select all
undefined reference to _imp___ZN5CEGUI16IrrlichtRenderer6createERN3irr14IrrlichtDeviceE
(and more same errors)
Also forum search on "ZN5CEGUI" return zero results.
What am I doing wrong?