简体   繁体   中英

SDL Initialization ERROR

I had have some problems to setup the SDL on my PC .

I already copy all DLL fonts to the folders System32 or SysWOW64 (I've tried both). And make the all the setup in Visual Studio 2012, but when I try to initialize the SDL one error appers:

The program '[8184] "MyProject".exe' has exited with code -1073741701 (0xc000007b). ?

It happens when I try to include SDL.h on my cpp file:

#include <SDL.h>

int main( int argc, char* args[] )
{
    //Start SDL
    SDL_Init( SDL_INIT_EVERYTHING );

    //Quit SDL
    SDL_Quit();

    return 0;    
}

This post bellow answers my request

http://www.gamedev.net/topic/632552-sdl-pisses-me-off/

Resuming you should point to the SDL X86 lib on: Project->Properties->VC++ Directories->Library Directories

I was pointing to X64 =)

Good Bye!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM