So I'm just starting out following this tutorial just to get the feel of using SFML.
When I try to run it and I just get an error. I have no idea what the error means.
Error 1 error LNK2001: unresolved external symbol "private: static class sf::RenderWindow Engine::gameWindow" (?gameWindow@Engine@@0VRenderWindow@sf@@A) c:\Project\Engine.obj SFMLProj
Error 2 error LNK1120: 1 unresolved externals c:\Project\Debug\SFMLProj.exe 1 1 SFMLProj
Before I got this error it use to give me break saying line 52 in Engine.cpp was the problem. I don't know why it changed, I did nothing except break and tried running again.
I changed the name of some methods and the class but I'm pretty sure that doesn't matter.
Here's my cpp from this tutorial. http://pastebin.com/jDsJr5Em
here's my .h from this tutorial. http://pastebin.com/qgTCVqQ9
I used the sfml tutorial to set up the project with static libraries.
Thanks for any help or tips to try to fix this. This has me banging my head before I've even started. Something like this doesn't seem like it's that complicated or should cause a problem.
Edited by Sixoul, 16 October 2013 - 03:28 PM.