So currently I am trying to load a tmx map using tmxloader: https://github.com/fallahn/sfml-tmxloader
I have zlib and tmxloader in, the includes work fine but I am getting 3 weird errors.
I am loading the map like so:
tmx::MapLoader ml("maps/desert.tmx");
ml.Load("desert.tmx");
window.draw(ml);
Yet these are my errors:
Error 1 error LNK2001: unresolved external symbol "private: virtual void __thiscall tmx::QuadTreeNode::draw(class sf::RenderTarget &,class sf::RenderStates)const " (?draw@QuadTreeNode@tmx@@EBEXAAVRenderTarget@sf@@VRenderStates@4@@Z) F:\GAMES BY ME\TiledLoader\SFMLGame\Game.obj SFMLGame
Error 2 error LNK2019: unresolved external symbol "public: __thiscall tmx::MapLoader::MapLoader(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,unsigned char)" (??0MapLoader@tmx@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@E@Z) referenced in function "void __cdecl Map(class sf::RenderWindow &)" (?Map@@YAXAAVRenderWindow@sf@@@Z) F:\GAMES BY ME\TiledLoader\SFMLGame\Game.obj SFMLGame
Error 3 error LNK2019: unresolved external symbol "public: bool __thiscall tmx::MapLoader::Load(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?Load@MapLoader@tmx@@QAE_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) referenced in function "void __cdecl Map(class sf::RenderWindow &)" (?Map@@YAXAAVRenderWindow@sf@@@Z) F:\GAMES BY ME\TiledLoader\SFMLGame\Game.obj SFMLGame
Can't seem to figure out where I am going wrong here..