Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Robert

Pages: [1]
1
General / SFGUI
« on: January 23, 2014, 03:28:17 pm »
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.

2
Graphics / Re: non-ASCII characters
« on: January 13, 2014, 09:13:52 pm »
text.setString(L"éèàç");
- in the guide.

In my case it looks like this:
text1.setString(mtexts[2]);

I do not know how in this case, I  can put the "L". : (

3
Graphics / non-ASCII characters
« on: January 13, 2014, 08:55:25 pm »
Hi, I want to display text containing "non-ASCII characters," but I have a little problem. As a parameter for the "setString ()" gives an element of an array of strings, but that the text handle "non-ASCII characters" before the string need to write "L", but how am I supposed to do in this case when I have quoted before, which should be put the "L"? Please help me, Excuse me for grammar, etc.

Pages: [1]