Sign in to follow this  

how to install SDL in vc6.0

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this