gpt4 book ai didi

c++ - MSVCP100D.DLL 丢失 (SFML)

转载 作者:行者123 更新时间:2023-11-30 01:17:51 24 4
gpt4 key购买 nike

当我完成编译并尝试运行我用 C++ 编写的程序时,我发现缺少 MSVCP110D.dll。我有 Windows 8.1 x64,我尝试安装 MV C++ 2010,但它告诉我没有必要,因为我的电脑有更新的版本。看看我的代码:

#include <SFML/Graphics.hpp>

int main()
{
sf::RenderWindow window(sf::VideoMode(200, 200), "SFML works!");
sf::CircleShape shape(100.f);
shape.setFillColor(sf::Color::Green);

while (window.isOpen())
{
sf::Event event;
while (window.pollEvent(event))
{
if (event.type == sf::Event::Closed)
window.close();
}

window.clear();
window.draw(shape);
window.display();
}

return 0;
}

有人可以帮助我吗,我的子系统是 Windows,所有输入、库和\include 都按照 SFML 2.1 tuts 上的说明进行设置。我使用 VS Express 2013。谢谢!

最佳答案

尝试将 visual studio 中的模式从 Debug 更改为 Release 并执行您的代码。

关于c++ - MSVCP100D.DLL 丢失 (SFML),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23504157/

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