Reputation: 101
I've followed the tutorial over at the SFML main site. It doesn't work. I followed it exactly. Still doesn't work. I've been screwing the linker settings for about 12 hours now. I'm new at this. And needless to say I'm quite frustrated.
I'm getting a slew of undefined referenced errors nearly identical to this.
C:/Users/Tim/Desktop/cocks/SFLM Project/main.cpp:5: undefined reference to `sf::String::String(char const*, std::locale const&)'
Please help.
Upvotes: 0
Views: 2207
Reputation: 86
If you are using GCC 4.7 TDM (SJLJ) - 64 bits
then try using GCC 4.7 MinGW (DW2) - 32 bits
.
I also suffered from same problem and when i switched to the 32 bit version , it worked fine.
Upvotes: 1
Reputation: 102
http://www.youtube.com/watch?v=ZqjNOd1UYtE check out that video and see if it helps you I set up this tutorial for using sfml 2.1 but if you're using windows 7 it should work for you
Upvotes: 0