Very newb problem (Irrlicht and C::B)
Posted: Wed Sep 07, 2011 23:07
Hi there!
I'm trying to add CEGUI to my Irrlicht project but I use Code::Blocks. Using the experimental MinGW binaries.
Search directories are
Compiler:
Linker:
Code:
DLLs in project bin folder (both debug and release versions):
The project was compiled fine but I'm getting the following link errors:
(and more same errors)
Also forum search on "ZN5CEGUI" return zero results.
What am I doing wrong?
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?