[SDL] how to link with microsoft program?

Bob Self bobself at charter.net
Fri Jul 6 08:02:24 PDT 2007


I have built sdl in msys/mingw and get a sdl.dll it seems to work. Now I need
to link sdl with a microsoft visual c++ program. How can I get a sdl.lib file?
Can the msys/mingw scripts generate one? I plan to use sdl.dll but need a sdl.lib
file for linking.

Another question. I see a SDL-1.2.11.tar.gz and a SDL-dev-1.2.11-mingw32.tar.gz.
I have only used SDL-1.2.11.tar.gz. When do you need to use the devel version?
Should you unpack that on top of the non-devel version or is it a stand-alone
replacement for the non-devel version?

thanks,
	Bob




More information about the SDL mailing list