I'm using SFML 2.0, downloaded compiled version from website but when I compiled my project (VS 2010) I got this warning (I've shortened the paths):
Warning 1 warning LNK4099: PDB 'sfml-main-d.pdb' was not found with 'sfml-main-d.lib(SFML_Main.cpp.obj)' or at 'C:\...\Debug\sfml-main-d.pdb'; linking object as if no debug info C:\...\sfml-main-d.lib(SFML_Main.cpp.obj)
I know what it means, I've read on this forum that it's harmless yet I'm just the kind of guy that hates warnings and likes his project compile with none. So I've tried compiling SFML myself and replacing *.lib files (debug version). This rid me of the linker warning but later when I used this:
sf::Font::getDefaultFont()
I got following linker error:
Error 1 error LNK2019: unresolved external symbol "__declspec(dllimport) public: static class sf::Font const & __cdecl sf::Font::getDefaultFont(void)" (__imp_?getDefaultFont@Font@sf@@SAABV12@XZ) referenced in function "public: __thiscall PopupText::PopupText(void)" (??0PopupText@@QAE@XZ) C:\...\PopupText.obj
which doesn't occur with the *.lib files downloaded from the website (already compiled).
Am I doing something wrong?