konstantin_doncov
konstantin_doncov

Reputation: 2879

Connect sdl to visual c++

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?

Upvotes: 0

Views: 235

Answers (1)

Igor Tandetnik
Igor Tandetnik

Reputation: 52611

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

Upvotes: 1

Related Questions