Skip to main content
gamedev.net
🔒 Locked

sdl tutorial 1

Started by stilltjack Apr 9, 2002 at 1:28 AM 2 replies 450+ views
Original Post
stilltjack
stilltjack
Did anybody have a problem getting to tutorial 1 to link properly(for visual c++). I swear I did everything exactly the way he said, and everytime I got: sdlmain.lib(SDL_main.obj) : error LNK2001: unresolved external symbol _SDL_main Debug/SDLProject.exe : fatal error LNK1120: 1 unresolved externals more importantly, does anybody know what I did wrong. Thanks, dave
Prosper/LOADED
Prosper/LOADED
You must link two libraries to your project : sdl.lib (you seem to have linked this one, otherwise you would have much more errors) and sdlmain.lib (don''t remember if it''s the correct name but it''s something like this).
stilltjack
stilltjack
Thanks,
I didnt have (int argc, char* argv[]). thanks again.
dave

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.