gpt4 book ai didi

c++ - 找不到 SFML dll

转载 作者:行者123 更新时间:2023-11-28 05:32:40 26 4
gpt4 key购买 nike

当我尝试使用 CodeBlocks 运行它时。我收到此错误:

The procedure entry point _ZNSt7__cxx1112basic_stringlcSt11char_traitslcESalcEE7reserveEj could not be located in the dynamic link library xxxxx\bin\Debug\sfml-system-2.dll

这是什么意思?

最佳答案

您应该将sfml-system-2.dll 等 dll 文件从*\SFML-2.3.2\bin\ 文件夹复制到您的项目xxxxx\bin\调试\

//SFML-2.3.2 - 是你下载的库,你可以有其他版本

我认为您的编译器工作正常,但系统无法运行构建的程序,因为系统找不到必要的 dll 文件。这就是为什么您必须将 dll 从 sfml 库复制到您构建 .exe 的文件夹中

关于c++ - 找不到 SFML dll,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39077737/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com