无法加载clui.dll

时间:2016-05-20 14:46:03

标签: c++ sfml

出于某种原因,当我尝试在官方SFML网站Tutorial之后编译并运行此程序时:

#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;
}

我收到此错误:

  

严重级代码描述项目文件行抑制状态   错误C1510无法加载语言资源clui.dll。 SFMLPractice1&gt; c:\ Users \ NAME \ documents \ visual studio&gt; 2015 \ Projects \ SFMLPractice1 \ SFMLPractice1 \ CL 1

我需要帮助来解决这个问题..请帮忙!

1 个答案:

答案 0 :(得分:0)

您可以继续使用Visual Studio 2017并安装“用于桌面的VC ++ 2015.3 v14.00(v140)工具集”。 clui.dll似乎在此组件中。

Try this component