Hello,
Maybe it has been already asked but the search module doesn't work actually.
I'm developping a game in SFML 2.0 with VC++ 11 (VS 2012) and i recently added a sf::View in my game to zoom or move the map. So i need to convert coords and try to use the function like this :
m_vMousePos = NS_GLOBAL::Window.convertCoords(NS_GLOBAL::GetMousePos());
NS_GLOBAL is just a global namespace and the Window declared like this:
extern sf::RenderWindow Window;
The GetMousePos() is this function :
return sf::Mouse::getPosition(Window);
This code works with the SFML 2.0 RC but when i get the last snapshot i'm getting this error :
Erreur 3 error LNK2019: symbole externe non rÚsolu "__declspec(dllimport) public: class sf::Vector2<float> __thiscall sf::RenderTarget::convertCoords(class sf::Vector2<int> const &)const " (__imp_?convertCoords@RenderTarget@sf@@QBE?AV?$Vector2@M@2@ABV?$Vector2@H@2@@Z) rÚfÚrencÚ dans la fonction "public: void __thiscall CGameManager::Update(float)" (?Update@CGameManager@@QAEXM@Z) D:\SVN\2012-2013\Sections\Prog3\Eric Dovergne\Projets\DK-X\DK-X\GameManager.obj
In the last snapshot the function "convertCoords" seems to be missing in RenderTarget.
Maybe this function has been deleted during the snapshot, i don't know, so i need some help.
Thanks a lot for de answers !