SFML Error with C++, Entry Point Not Found

白昼怎懂夜的黑 提交于 2019-12-12 17:01:37

问题


I get the error "The procedure point __gxx_personality_v0 could not be located in the dynamic link library libstdc++-6.dll How can I fix this? I have no idea and any help would be appreciated.


回答1:


Your compiler is using a different version of libstdc++-6.dll then the binary of SFML that you downloaded. What this basically means is that when SFML compiled the version of the library you downloaded they used a different version of libstdc++ then you have on your computer which will obviously cause problems most of the time.

Here is probably the best solution to this problem.

You will need to compile from the source. You will need a few things to do this. First go out and get CMake which is available here. Then go and download the SFML 2.1 source code http://www.sfml-dev.org/download.php (Or whatever version you want). Next to figure out how to compile from the source code you can follow this tutorial http://www.sfml-dev.org/tutorials/2.1/compile-with-cmake.php .

Once everything is compiled link to the new libraries that you created specifically for your compiler and you should be good to go.




回答2:


Maybe your gcc version is (very) different from what SFML library is built with? The best solution is to build the source yourself, with your compiler.



来源:https://stackoverflow.com/questions/18647280/sfml-error-with-c-entry-point-not-found

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!