|
|
|
|
|
|
|
|
1> main.cpp 1>c:\users\twiggystardust\documents\visual studio 2010\projects\tilemapengine\main.cpp(21): warning C4018: '<' : signed/unsigned mismatch 1>c:\users\twiggystardust\documents\visual studio 2010\projects\tilemapengine\main.cpp(23): warning C4018: '<' : signed/unsigned mismatch 1>c:\users\twiggystardust\documents\visual studio 2010\projects\tilemapengine\main.cpp(27): warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data 1>c:\users\twiggystardust\documents\visual studio 2010\projects\tilemapengine\main.cpp(27): warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data 1>main.obj : error LNK2001: unresolved external symbol "public: static class sf::Sprite tileMap::tiles" (?tiles@tileMap@@2VSprite@sf@@A) 1>tileMap.obj : error LNK2019: unresolved external symbol "public: static class sf::Sprite tileMap::tiles" (?tiles@tileMap@@2VSprite@sf@@A) referenced in function "public: static void __cdecl tileMap::mTileMap(void)" (?mTileMap@tileMap@@SAXXZ) 1>main.obj : error LNK2001: unresolved external symbol "public: static class std::vector<class std::vector<class sf::Vector2<int>,class std::allocator<class sf::Vector2<int> > >,class std::allocator<class std::vector<class sf::Vector2<int>,class std::allocator<class sf::Vector2<int> > > > > tileMap::map" (?map@tileMap@@2V?$vector@V?$vector@V?$Vector2@H@sf@@V?$allocator@V?$Vector2@H@sf@@@std@@@std@@V?$allocator@V?$vector@V?$Vector2@H@sf@@V?$allocator@V?$Vector2@H@sf@@@std@@@std@@@2@@std@@A) 1>tileMap.obj : error LNK2001: unresolved external symbol "public: static class std::vector<class std::vector<class sf::Vector2<int>,class std::allocator<class sf::Vector2<int> > >,class std::allocator<class std::vector<class sf::Vector2<int>,class std::allocator<class sf::Vector2<int> > > > > tileMap::map" (?map@tileMap@@2V?$vector@V?$vector@V?$Vector2@H@sf@@V?$allocator@V?$Vector2@H@sf@@@std@@@std@@V?$allocator@V?$vector@V?$Vector2@H@sf@@V?$allocator@V?$Vector2@H@sf@@@std@@@std@@@2@@std@@A) 1>tileMap.obj : error LNK2001: unresolved external symbol "private: static class std::vector<class sf::Vector2<int>,class std::allocator<class sf::Vector2<int> > > tileMap::tempMap" (?tempMap@tileMap@@0V?$vector@V?$Vector2@H@sf@@V?$allocator@V?$Vector2@H@sf@@@std@@@std@@A) 1>tileMap.obj : error LNK2001: unresolved external symbol "private: static class sf::Texture tileMap::tileTexture" (?tileTexture@tileMap@@0VTexture@sf@@A) 1>tileMap.obj : error LNK2001: unresolved external symbol "private: static class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > tileMap::tileLocation" (?tileLocation@tileMap@@0V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@A) 1>C:\Users\TwiggyStardust\documents\visual studio 2010\Projects\tileMapEngine\Debug\tileMapEngine.exe : fatal error LNK1120: 5 unresolved externals ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== |
|
|
|
|
|
|
|
|
while(window.pollEvent(event))
loop holds the window open without displaying anything until the user closes it. Only then do you actually start to draw anything.
|
|
|
|
|
|
|
|
|
|