Unresolved external linking CEGUI
Posted: Mon Sep 12, 2016 11:30
Hi, i want to add cegui into my project,i built the library successfully.
here is the line of code i use in my engine:
when i build my project it shows me this error:
Severity Code Description Project File Line Column
i link these library:
CEGUIDirect3D11Renderer-0_d.lib
CEGUIBase-0_d.lib
CEGUICommonDialogs-0_d.lib
CEGUICoreWindowRendererSet_d.lib
CEGUIExpatParser_d.lib
freetype_d.lib
jpeg_d.lib
libexpat_d.lib
libpng_d.lib
pcre_d.lib
SILLY_d.lib
zlib_d.lib
anybody know how can i fix this?
here is the line of code i use in my engine:
Code: Select all
CEGUI::System::create(*d_renderer, d_resourceProvider, 0, d_imageCodec, 0,
"", logFile);
when i build my project it shows me this error:
Severity Code Description Project File Line Column
Code: Select all
Error LNK2019 unresolved external symbol "public: static class CEGUI::System & __cdecl CEGUI::System::create(class CEGUI::Renderer &,class CEGUI::ResourceProvider *,class CEGUI::XMLParser *,class CEGUI::ImageCodec *,class CEGUI::ScriptModule *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,int)" (?create@System@CEGUI@@SAAAV12@AAVRenderer@2@PAVResourceProvider@2@PAVXMLParser@2@PAVImageCodec@2@PAVScriptModule@2@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@5H@Z) referenced in function "public: virtual bool __cdecl AngelCore::AngelSubSystem::GUIManager::StartUp(...)" (?StartUp@GUIManager@AngelSubSystem@AngelCore@@UAA_NZZ) AngelEngine E:\AngelEngine-Next-Generation\AngelEngine\GUIManager.obj 1 1
i link these library:
CEGUIDirect3D11Renderer-0_d.lib
CEGUIBase-0_d.lib
CEGUICommonDialogs-0_d.lib
CEGUICoreWindowRendererSet_d.lib
CEGUIExpatParser_d.lib
freetype_d.lib
jpeg_d.lib
libexpat_d.lib
libpng_d.lib
pcre_d.lib
SILLY_d.lib
zlib_d.lib
anybody know how can i fix this?