SFML

Alright so i am working on a code for a game and i don't get what i am doing wrong , i am trying to cross two classes to where when the user presses a button the screen will move until that button is released but every time i try to run it i keep getting and error .

Error 2 error LNK2019: unresolved external symbol "public: __thiscall World::World(void)" (??0World@@QAE@XZ) referenced in function "public: __thiscall Player::Player(void)" (??0Player@@QAE@XZ) C:\Users\The-One\Desktop\Game\Shadow\Shadow\Player.obj Shadow

its a large file but the link for it is below any help would be great Thank you

http://www.filedropper.com/shotumup

The error tells me you gave your World class a constructor, but never gave that constructor a body.

Either get rid of the ctor and use the default.... or give that ctor a body.


I tried to download the source but it timed out.
Topic archived. No new replies allowed.