Hello,
I want to test SFGUI, but I have problems to compile it. I'm on windows 7 with VS 2013 express ed.
I downloaded the last release: on
this page, I downloaded the zip file (the button on the right).
I also downloaded the last release of SFML (2.1), but only the "user package" (only binaries and include files).
I managed to generate the VS projects files for SFGUI with cmake.
But when I compile (ALL_BUILD), I got some link errors about the sf::String::begin() fonction that is unresolved:
2>Engine.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class std::_String_const_iterator<class std::_String_val<struct std::_Simple_types<unsigned int> > > __cdecl sf::String::begin(void)const " (__imp_?begin@String@sf@@QEBA?AV?$_String_const_iterator@V?$_String_val@U?$_Simple_types@I@std@@@std@@@std@@XZ) referenced in function "public: class sf::Vector2<float> __cdecl sfg::Engine::GetTextMetricsA(class sf::String const &,class sf::Font const &,unsigned int)const " (?GetTextMetricsA@Engine@sfg@@QEBA?AV?$Vector2@M@sf@@AEBVString@4@AEBVFont@4@I@Z)
But I looked in SFML/String.hpp and this function is well declared (indeed there is 2 version, one returns an iterator, an the other a const iterator).
So first of all, I wanted to bring to your attention this little problem.
And now, what must I do? Do you think I have to download the source code of SFML and compile it?