[SDL] how to link with microsoft program?
Bob Self
bobself at charter.net
Fri Jul 6 13:10:38 PDT 2007
On Fri, Jul 06, 2007 at 11:02:24AM -0400, Bob Self wrote:
>
> 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
>
>
> _______________________________________________
> SDL mailing list
> SDL at lists.libsdl.org
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>
I found a VisualC.zip file in the root directory and tried to build that with msvc++.
Most of it builds, but I get warnings about snprintf, strcasecmp and strtoull,
and errors about _DX5_SoundFocus being multiply defined. Does anyone know the fix
for this?
Bob
More information about the SDL
mailing list