Hello, I have just ran into an error when trying to resize my screen via a function,
error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall sf::Window::setSize(class sf::Vector2<unsigned int> const &)" (__imp_?setSize@Window@sf@@QAEXABV?$Vector2@I@2@@Z) referenced in function "public: void __thiscall Lester::GameScreen(void)" (?GameScreen@Lester@@QAEXXZ)
This is the function resizing:
void Lester::GameScreen()
{
window.clear();
window.setTitle("Lester V0.1");
window.setSize(sf::Vector2u(960, 550));
Screen();
}
Any ideas?
Cheers