Unresloved External
Posted: Fri Sep 16, 2016 06:27
Hi, when i add this line of code in my project:
it shows me below errors:
i added below libraries:
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
i can skip these problem by adding ,obj files in my additional libraries but i know this is not the correct way to fix!
any idea?
Code: Select all
CEGUI::SchemeManager::getSingleton().createFromFile("TaharezLook.scheme");
it shows me below errors:
Code: Select all
error LNK2001: unresolved external symbol "public: static unsigned int const CEGUI::String::npos" (?npos@String@CEGUI@@2IB)
1>GUIManager.obj : error LNK2001: unresolved external symbol "protected: static class CEGUI::Logger * CEGUI::Singleton<class CEGUI::Logger>::ms_Singleton" (?ms_Singleton@?$Singleton@VLogger@CEGUI@@@CEGUI@@1PAVLogger@2@A)
1>GUIManager.obj : error LNK2001: unresolved external symbol "public: static class CEGUI::String const CEGUI::ResourceEventSet::EventNamespace" (?EventNamespace@ResourceEventSet@CEGUI@@2VString@2@B)
1>GUIManager.obj : error LNK2001: unresolved external symbol "public: static class CEGUI::String const CEGUI::ResourceEventSet::EventResourceCreated" (?EventResourceCreated@ResourceEventSet@CEGUI@@2VString@2@B)
1>GUIManager.obj : error LNK2001: unresolved external symbol "public: static class CEGUI::String const CEGUI::ResourceEventSet::EventResourceDestroyed" (?EventResourceDestroyed@ResourceEventSet@CEGUI@@2VString@2@B)
1>GUIManager.obj : error LNK2001: unresolved external symbol "public: static class CEGUI::String const CEGUI::ResourceEventSet::EventResourceReplaced" (?EventResourceReplaced@ResourceEventSet@CEGUI@@2VString@2@B)
1>GUIManager.obj : error LNK2001: unresolved external symbol "protected: static class CEGUI::SchemeManager * CEGUI::Singleton<class CEGUI::SchemeManager>::ms_Singleton" (?ms_Singleton@?$Singleton@VSchemeManager@CEGUI@@@CEGUI@@1PAVSchemeManager@2@A)
i added below libraries:
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
i can skip these problem by adding ,obj files in my additional libraries but i know this is not the correct way to fix!
any idea?