when trying to build and link a program using sdl, I get the following
linker error:
/usr/bin/ld: Undefined symbols:
_SDL_main
sdl-config --cflags and --libs returns:
-I/usr/local/include -I/usr/local/include/SDL -D_THREAD_SAFE
-F/System/Library/
Frameworks/Carbon.framework
-L/usr/local/lib -lSDLmain -lSDL -framework OpenGL -framework AGL
-framework Carbon
is something needed missing or out of order?
Thanks in advance,
Jayson Baird
jayson.baird at ndsu.nodak.edu