Hello, I have a little problem. I want use SFGUI on MS Visual C++, so I used
http://en.sfml-dev.org/forums/index.php?topic=13010.0 Code with SFML compiles normally, but when I use SFGUI (After configuration), I get errors. ;/
1>------ Build started: Project: Eter, Configuration: Release Win32 ------
1>Main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class std::shared_ptr<class sfg::Label> __cdecl sfg::Label::Create(class sf::String const &)" (__imp_?Create@Label@sfg@@SA?AV?$shared_ptr@VLabel@sfg@@@std@@ABVString@sf@@@Z)
1>Main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class std::shared_ptr<class sfg::Window> __cdecl sfg::Window::Create(unsigned char)" (__imp_?Create@Window@sfg@@SA?AV?$shared_ptr@VWindow@sfg@@@std@@E@Z)
1>Main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall sfg::SFGUI::Display(class sf::RenderWindow &)" (__imp_?Display@SFGUI@sfg@@QAEXAAVRenderWindow@sf@@@Z)
1>Main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall sfg::Container::Add(class std::shared_ptr<class sfg::Widget>)" (__imp_?Add@Container@sfg@@QAEXV?$shared_ptr@VWidget@sfg@@@std@@@Z)
1>Main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: int __thiscall sfg::Notebook::AppendPage(class std::shared_ptr<class sfg::Widget>,class std::shared_ptr<class sfg::Widget>)" (__imp_?AppendPage@Notebook@sfg@@QAEHV?$shared_ptr@VWidget@sfg@@@std@@0@Z)
1>Main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class std::shared_ptr<class sfg::Notebook> __cdecl sfg::Notebook::Create(void)" (__imp_?Create@Notebook@sfg@@SA?AV?$shared_ptr@VNotebook@sfg@@@std@@XZ)
1>Main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class std::shared_ptr<class sfg::Button> __cdecl sfg::Button::Create(class sf::String const &)" (__imp_?Create@Button@sfg@@SA?AV?$shared_ptr@VButton@sfg@@@std@@ABVString@sf@@@Z)
I don't know what I did wrong at configuration. So, I please to help me.
Sorry for my english.