Jump to content
  • Advertisement
Sign in to follow this  
song6295

how to install SDL in vc6.0

This topic is 4439 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

i have set the lib and include path for sdl but when i build my test programme: #include <stdlib.h> #include <stdio.h> #include <SDL.h> main(int argc,char *argv[]) { if (SDL_Init(SDL_INIT_AUDIO|SDL_INIT_VIDEO)<0) { printf("error"); exit(0); } printf("ok"); } there have some error: sss.obj : error LNK2001: unresolved external symbol _SDL_Init LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main Debug/sss.exe : fatal error LNK1120: 2 unresolved externals why it like this?? (my english is not well,wish you can understand it.)

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!