- Código: Seleccionar todo
#include <stdio.h>
#include <stdlib.h>
#include <conio.h>
#include "SDL.h"
#include "SDL_image.h"
int main()
{
getch();
return 0;
}
El error es este:
1>MSVCRTD.lib(crtexe.obj) : error LNK2019: símbolo externo _main sin resolver al que se hace referencia en la función ___tmainCRTStartup
1>C:\Users\Administrador\Documents\Visual Studio 2008\Projects\PRUEBAS SDL\Debug\Mouse y teclado.exe : fatal error LNK1120: 1 externos sin resolver
EDITO: Me tira el mismo error tambien con cualquier funcion de SDL.. que esta pasando aqui?!:S