0

I try to connect sdl to visual c++ like this, but have the problem. I just include SDL.h and have errors:

1>MSVCRTD.lib(crtexe.obj) : error LNK2019: ёё√ыър эр эхЁрчЁх°хээ√щ тэх°эшщ ёшьтюы _main т ЇєэъЎшш ___tmainCRTStartup
1>C:\Users\Zhenya\Documents\Visual Studio 2012\Projects\ConsoleApplication1\Debug\ConsoleApplication1.exe : fatal error LNK1120: эхЁрчЁх°хээ√ї тэх°эшї ¤ыхьхэЄют: 1

Sorry for the encoding, I think you will understand error code. What's the problem?

konstantin_doncov
  • 2,725
  • 4
  • 40
  • 100
  • Maybe this is what you want? http://stackoverflow.com/questions/7071971/simply-including-sdl-header-causes-linker-error – Name Aug 02 '13 at 01:12

1 Answers1

1

You need to implement a function named main. That's where your program will start execution.

Igor Tandetnik
  • 50,461
  • 4
  • 56
  • 85