C ++的SFML错误,找不到入口点 [英] SFML Error with C++, Entry Point Not Found
问题描述
我收到错误消息无法在动态链接库libstdc ++-6.dll中找到过程点__gxx_personality_v0。如何解决此问题?我不知道,将不胜感激。
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.
推荐答案
您的编译器使用的是libstdc ++-6.dll的另一个版本,而不是您下载的SFML的二进制版本。这基本上意味着,当SFML编译您下载的库版本使用的是libstdc ++的不同版本,那么您在计算机上使用的版本显然会在大多数时间引起问题。
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.
您将需要从源代码进行编译。您将需要一些操作来完成此任务。请下载SFML 2.1源代码 http://www.sfml-dev.org/download.php (或您想要的任何版本)。从源代码进行编译,您可以按照本教程进行操作 http:// www .sfml-dev.org / tutorials / 2.1 / compile-with-cmake.php 。
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.
这篇关于C ++的SFML错误,找不到入口点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!