c++ - 我的电脑缺少 SDL.dll - VS 2010

标签 c++ visual-studio-2010 sdl

我正在尝试编译我编写的 SDL 程序,但是当我这样做时,出现了这个错误:

The program can't start because SDL.dll is missing from your computer. Try reinstalling the program to fix this problem

我不知道为什么。我有 SDL.dll。

  • 我已将它放在正确的文件夹中:C:\Windows\System32

  • 我有所有 SDL header 的正确 PATHS 等等。

VS 说:

Build succeeded: 1

然后屏幕上会弹出上面的错误。

最佳答案

将它添加到您的调试文件夹或您的程序当前所在的任何目录。

关于c++ - 我的电脑缺少 SDL.dll - VS 2010,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12652136/

相关文章:

c++ - 为什么 libcxx 中的 __dependent_type 使用模板非类型参数 bool _Dummy?

c++ - 尝试使用 std::get_time 解析 YYMMDD 并失败

visual-studio - 为什么不允许在 Visual Studio 2010 中进行更改?

visual-studio-2010 - 对象浏览器设置中缺少查看派生类型选项

c++ - 与 CUDA 并行传输数组

visual-studio - 在 Visual Studio 2010 中捕获生成输出

c++ - sdl、sdl2 错误 : SDL_window (among others) not declared

c++ - 如何在 SDL 上加载原始像素位图?

c++ - SDL卡住(黑屏)

c++ - 如何将 CLion (1.2.4) 用于涉及 Qt Creator 的项目?