这个我注意了,库的顺序没有问题
When linking to multiple SFML libraries, make sure you link them in the right order, as it's important for MinGW. The rule is the following : if library XXX depends on (uses) library YYY, put XXX first and then YYY. An exemple with SFML : sfml-graphics depends on sfml-window, and sfml-window depends an sfml-system.
我用的不是原来C的库,这错误莫名其妙,
undefined reference to `_imp___ZN2sf6StringC1EPKcRKSt6locale'|
这个_imp___ZN2sf6StringC1EPKcRKSt6locale我压根就没看懂是什么东西