I followed the instructions to build SFML 2.0 with CMake and it seemed to work without a problem. So now I try to compile against the library but I keep getting errors:
obj\Debug\Game.o: In function `Game':
C:/Users/Mitchell/Programming/Projects/Demise/Game.cpp:13: undefined reference to `_imp___ZN2sf9VideoModeC1Ejjj'
C:/Users/Mitchell/Programming/Projects/Demise/Game.cpp:13: undefined reference to `_imp___ZN2sf12RenderWindowC1ENS_9VideoModeERKSsmRKNS_15ContextSettingsE'
C:/Users/Mitchell/Programming/Projects/Demise/Game.cpp:14: undefined reference to `_imp___ZN2sf6Window17SetFramerateLimitEj'
C:/Users/Mitchell/Programming/Projects/Demise/Game.cpp:27: undefined reference to `_imp___ZN2sf5ImageC1Ev'
C:/Users/Mitchell/Programming/Projects/Demise/Game.cpp:28: undefined reference to `_imp___ZN2sf5Image12LoadFromFileERKSs'
C:/Users/Mitchell/Programming/Projects/Demise/Game.cpp:30: undefined reference to `_imp___ZN2sf5Image9SetSmoothEb'
C:/Users/Mitchell/Programming/Projects/Demise/Game.cpp:13: undefined reference to `_imp___ZN2sf9VideoModeC1Ejjj'
C:/Users/Mitchell/Programming/Projects/Demise/Game.cpp:13: undefined reference to `_imp___ZN2sf12RenderWindowC1ENS_9VideoModeERKSsmRKNS_15ContextSettingsE'
C:/Users/Mitchell/Programming/Projects/Demise/Game.cpp:14: undefined reference to `_imp___ZN2sf6Window17SetFramerateLimitEj'
C:/Users/Mitchell/Programming/Projects/Demise/Game.cpp:27: undefined reference to `_imp___ZN2sf5ImageC1Ev'
C:/Users/Mitchell/Programming/Projects/Demise/Game.cpp:28: undefined reference to `_imp___ZN2sf5Image12LoadFromFileERKSs'
C:/Users/Mitchell/Programming/Projects/Demise/Game.cpp:30: undefined reference to `_imp___ZN2sf5Image9SetSmoothEb'
obj\Debug\Game.o:C:/Users/Mitchell/Programming/Projects/Demise/Game.cpp:58: undefined reference to `_imp___ZN2sf6Window5CloseEv'
obj\Debug\Game.o:C:/Users/Mitchell/Programming/Projects/Demise/Game.cpp:55: undefined reference to `_imp___ZN2sf6Window8GetEventERNS_5EventE'
obj\Debug\Game.o:C:/Users/Mitchell/Programming/Projects/Demise/Game.cpp:60: undefined reference to `_imp___ZNK2sf6Window8GetInputEv'
obj\Debug\Game.o:C:/Users/Mitchell/Programming/Projects/Demise/Game.cpp:63: undefined reference to `_imp___ZN2sf5Color5BlackE'
obj\Debug\Game.o:C:/Users/Mitchell/Programming/Projects/Demise/Game.cpp:63: undefined reference to `_imp___ZN2sf12RenderTarget5ClearERKNS_5ColorE'
obj\Debug\Game.o:C:/Users/Mitchell/Programming/Projects/Demise/Game.cpp:65: undefined reference to `_imp___ZN2sf6Window7DisplayEv'
obj\Debug\Game.o:C:/Users/Mitchell/Programming/Projects/Demise/Game.cpp:52: undefined reference to `_imp___ZNK2sf6Window8IsOpenedEv'
collect2: ld returned 1 exit status
So yeah, what might cause this? The program is trivially simple, it's just a basic game loop at the moment. I have the compiler/linker search directories set correctly and everything, and I'm using the exact same compiler I used to compile SFML (TDM-GCC). Using SVN revision 1786