I've tried to find the information I need by myself, but now after hours of research I'm totally upset -.-
Isn't there somewhere a list of needed libraries for each class/function? I've just tried to do the following:
Code: Select all
CEGUI::Direct3D11Renderer & renderer = CEGUI::Direct3D11Renderer::create(device, devContext);
CEGUI::System::create(renderer);
CEGUI::System::getSingleton().renderGUI();
..but there was an infinite list of linker errors. Now that I have linked to all this
Code: Select all
CEGUIBase_Static_d.lib
CEGUIDirect3D11Renderer_Static_d.lib
CEGUISILLYImageCodec_Static_d.lib
D3DX11EffectsD.lib
pcre_d.lib
CEGUIExpatParser_static_d.lib
expat_d.lib
freetype_d.lib
libpng_d.lib
jpeg_d.lib
zlib_d.lib
libraries, I'm getting the following linker errors:
Code: Select all
1>CEGUIBase_Static_d.lib(CEGUIScheme.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_getWindowRendererModule" in Funktion ""private: void __thiscall CEGUI::Scheme::loadWindowRendererFactories(void)" (?loadWindowRendererFactories@Scheme@CEGUI@@AAEXXZ)".
1>CEGUISILLYImageCodec_Static_d.lib(CEGUISILLYImageCodec.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) bool __cdecl SILLY::SILLYInit(void)" (__imp_?SILLYInit@SILLY@@YA_NXZ)" in Funktion ""public: __thiscall CEGUI::SILLYImageCodec::SILLYImageCodec(void)" (??0SILLYImageCodec@CEGUI@@QAE@XZ)".
1>CEGUISILLYImageCodec_Static_d.lib(CEGUISILLYImageCodec.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) void __cdecl SILLY::SILLYCleanup(void)" (__imp_?SILLYCleanup@SILLY@@YAXXZ)" in Funktion ""public: virtual __thiscall CEGUI::SILLYImageCodec::~SILLYImageCodec(void)" (??1SILLYImageCodec@CEGUI@@UAE@XZ)".
...
I guess the first one can be solved by adding one more lib (who knows which...maybe CE should ), while for the other errors the linker seems to need the dlls instead of the libs, but i have defined CEGUI_STATIC...