0

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.

4

2 回答 2

1

如果您正在使用,请GCC 4.7 TDM (SJLJ) - 64 bits尝试使用GCC 4.7 MinGW (DW2) - 32 bits.

我也遇到了同样的问题,当我切换到 32 位版本时,它工作正常。

于 2014-07-14T13:17:29.527 回答
0

http://www.youtube.com/watch?v=ZqjNOd1UYtE 查看该视频,看看它是否对您有帮助

于 2013-08-26T03:31:39.877 回答