本文介绍了C ++ SDL“Native”已经退出,代码为-1073741701(0xc000007b)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的代码

  #includeSDL.h
#include< iostream&
#undef main

int main(void){
SDL_Init(SDL_INIT_EVERYTHING);
SDL_Quit();
return 0;
}

我跟着LazyFoo的tut,但是我还是需要修改我的设置,解决方案。
现在,每次我调试它我得到这个:



程序 [11228] xxx.exe:Native退出您可以帮我吗?



编辑:我运行Windows 7 64位,我有x86 lib包,链接器输入:SDL.lib; SDLmain.lib; SDL_image.lib; OpenGL32.lib; glu32.lib

解决方案

您是否尝试过

您看到的错误通常表示无法找到运行时dll。如果您已经尝试过上述操作,您可以在 depends.exe a>它应该让你知道哪些DLLs丢失。


My Code

#include "SDL.h"
#include <iostream>
#undef main

int main ( void ) {
SDL_Init( SDL_INIT_EVERYTHING );
SDL_Quit(  );
return 0;
}

I followed LazyFoo's tut, but I still needed to modify my settings even to build the solution.Now, every time I debug it I get this:

The program [11228] xxx.exe: Native' has exited with code -1073741701 (0xc000007b).

Can you help me please ?

edit: I'm running Windows 7 64bit, and I've the x86 lib package included, linker inputs: SDL.lib;SDLmain.lib;SDL_image.lib;OpenGL32.lib;glu32.lib

解决方案

Have you tried the suggestions in this answer?

The error you're seeing usually indicates that a runtime dll can't be found. If you have already tried the above, perhaps you could open the built executable in depends.exe which should let you know which DLLs are missing.

这篇关于C ++ SDL“Native”已经退出,代码为-1073741701(0xc000007b)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-14 13:43