I saw there were a few others of these but the proposed solutions didn't work.
I've tried downloading, compiling SFML2 with cmake, and compiling SFML2 three times with no results. I get the libraries but end up getting these linker errors when using the static debug libraries:
1>Game.obj : warning LNK4217: locally defined symbol ??0RenderWindow@sf@@QAE@VVideoMode@1@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@KABUContextSettings@1@@Z (public: __thiscall sf::RenderWindow::RenderWindow(class sf::VideoMode,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,unsigned long,struct sf::ContextSettings const &)) imported in function "public: __thiscall Game::Game(void)" (??0Game@@QAE@XZ)
1>Game.obj : warning LNK4217: locally defined symbol ??0VideoMode@sf@@QAE@III@Z (public: __thiscall sf::VideoMode::VideoMode(unsigned int,unsigned int,unsigned int)) imported in function "public: __thiscall Game::Game(void)" (??0Game@@QAE@XZ)
1>Game.obj : warning LNK4217: locally defined symbol ??1RenderWindow@sf@@UAE@XZ (public: virtual __thiscall sf::RenderWindow::~RenderWindow(void)) imported in function "public: virtual void * __thiscall sf::RenderWindow::`scalar deleting destructor'(unsigned int)" (??_GRenderWindow@sf@@UAEPAXI@Z)
1>Game.obj : warning LNK4217: locally defined symbol ?Display@Window@sf@@QAEXXZ (public: void __thiscall sf::Window::Display(void)) imported in function "public: void __thiscall Game::draw(void)" (?draw@Game@@QAEXXZ)
1>Game.obj : warning LNK4217: locally defined symbol ?Draw@RenderTarget@sf@@QAEXABVDrawable@2@@Z (public: void __thiscall sf::RenderTarget::Draw(class sf::Drawable const &)) imported in function "public: void __thiscall Game::draw(void)" (?draw@Game@@QAEXXZ)
1>Game.obj : warning LNK4217: locally defined symbol ?Clear@RenderTarget@sf@@QAEXABVColor@2@@Z (public: void __thiscall sf::RenderTarget::Clear(class sf::Color const &)) imported in function "public: void __thiscall Game::draw(void)" (?draw@Game@@QAEXXZ)
1>Game.obj : warning LNK4217: locally defined symbol ??0Color@sf@@QAE@EEEE@Z (public: __thiscall sf::Color::Color(unsigned char,unsigned char,unsigned char,unsigned char)) imported in function "public: void __thiscall Game::draw(void)" (?draw@Game@@QAEXXZ)
1>GameObject.obj : warning LNK4049: locally defined symbol ??0Color@sf@@QAE@EEEE@Z (public: __thiscall sf::Color::Color(unsigned char,unsigned char,unsigned char,unsigned char)) imported
1>GameObject.obj : warning LNK4217: locally defined symbol ??1Image@sf@@QAE@XZ (public: __thiscall sf::Image::~Image(void)) imported in function "public: __thiscall GameObject::GameObject(struct b2Vec2,struct b2Vec2)" (??0GameObject@@QAE@Ub2Vec2@@0@Z)
1>GameObject.obj : warning LNK4217: locally defined symbol ?SetColor@Drawable@sf@@QAEXABVColor@2@@Z (public: void __thiscall sf::Drawable::SetColor(class sf::Color const &)) imported in function "public: __thiscall GameObject::GameObject(struct b2Vec2,struct b2Vec2)" (??0GameObject@@QAE@Ub2Vec2@@0@Z)
1>GameObject.obj : warning LNK4217: locally defined symbol ?SetPosition@Drawable@sf@@QAEXMM@Z (public: void __thiscall sf::Drawable::SetPosition(float,float)) imported in function "public: __thiscall GameObject::GameObject(struct b2Vec2,struct b2Vec2)" (??0GameObject@@QAE@Ub2Vec2@@0@Z)
1>GameObject.obj : warning LNK4217: locally defined symbol ?SetOrigin@Drawable@sf@@QAEXMM@Z (public: void __thiscall sf::Drawable::SetOrigin(float,float)) imported in function "public: __thiscall GameObject::GameObject(struct b2Vec2,struct b2Vec2)" (??0GameObject@@QAE@Ub2Vec2@@0@Z)
1>TestGameObject.obj : warning LNK4217: locally defined symbol ?SetOrigin@Drawable@sf@@QAEXMM@Z (public: void __thiscall sf::Drawable::SetOrigin(float,float)) imported in function "public: __thiscall TestGameObject::TestGameObject(void)" (??0TestGameObject@@QAE@XZ)
1>GameObject.obj : warning LNK4217: locally defined symbol ?Create@Image@sf@@QAE_NIIABVColor@2@@Z (public: bool __thiscall sf::Image::Create(unsigned int,unsigned int,class sf::Color const &)) imported in function "public: __thiscall GameObject::GameObject(struct b2Vec2,struct b2Vec2)" (??0GameObject@@QAE@Ub2Vec2@@0@Z)
1>GameObject.obj : warning LNK4217: locally defined symbol ??0Image@sf@@QAE@XZ (public: __thiscall sf::Image::Image(void)) imported in function "public: __thiscall GameObject::GameObject(struct b2Vec2,struct b2Vec2)" (??0GameObject@@QAE@Ub2Vec2@@0@Z)
1>TestGameObject.obj : warning LNK4217: locally defined symbol ??0Image@sf@@QAE@XZ (public: __thiscall sf::Image::Image(void)) imported in function __ehhandler$??0TestGameObject@@QAE@XZ
1>GameObject.obj : warning LNK4217: locally defined symbol ?SetRotation@Drawable@sf@@QAEXM@Z (public: void __thiscall sf::Drawable::SetRotation(float)) imported in function "public: virtual void __thiscall GameObject::update(void)" (?update@GameObject@@UAEXXZ)
1>TestGameObject.obj : warning LNK4217: locally defined symbol ?LoadFromFile@Image@sf@@QAE_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z (public: bool __thiscall sf::Image::LoadFromFile(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)) imported in function "public: __thiscall TestGameObject::TestGameObject(void)" (??0TestGameObject@@QAE@XZ)
1>Game.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall sf::Sprite::~Sprite(void)" (__imp_??1Sprite@sf@@UAE@XZ) referenced in function "public: void __thiscall Game::loadLevel(char *)" (?loadLevel@Game@@QAEXPAD@Z)
1>GameObject.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall sf::Sprite::~Sprite(void)" (__imp_??1Sprite@sf@@UAE@XZ)
1>Game.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall sf::Sprite::Sprite(void)" (__imp_??0Sprite@sf@@QAE@XZ) referenced in function "public: void __thiscall Game::loadLevel(char *)" (?loadLevel@Game@@QAEXPAD@Z)
1>GameObject.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall sf::Sprite::Sprite(void)" (__imp_??0Sprite@sf@@QAE@XZ)
1>GameObject.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall sf::Sprite::SetImage(class sf::Image const &,bool)" (__imp_?SetImage@Sprite@sf@@QAEXABVImage@2@_N@Z) referenced in function "public: __thiscall GameObject::GameObject(struct b2Vec2,struct b2Vec2)" (??0GameObject@@QAE@Ub2Vec2@@0@Z)
1>TestGameObject.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall sf::Sprite::SetImage(class sf::Image const &,bool)" (__imp_?SetImage@Sprite@sf@@QAEXABVImage@2@_N@Z)
1>GameObject.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class sf::Sprite & __thiscall sf::Sprite::operator=(class sf::Sprite const &)" (__imp_??4Sprite@sf@@QAEAAV01@ABV01@@Z) referenced in function "public: __thiscall GameObject::GameObject(struct b2Vec2,struct b2Vec2)" (??0GameObject@@QAE@Ub2Vec2@@0@Z)
1>C:\Users\Joe\Desktop\GameObjectClass\Windows\build\Static Debug\Game1.exe : fatal error LNK1120: 4 unresolved externals
1>
1>Build FAILED.
Any suggestions?
P.S. Code currently works with Dynamic Debug so it's not the code.
Thanks!