[SDL] Developing a standalone EXE in VC++ with SDL - possible?
Stéphan Kochen
stephan at kochen.nl
Sun Jan 27 04:10:54 PST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Martin wrote:
>>> In short, my question is: is there a way to use SDL without requiring that
>>> my program be compiled as a multi-threaded DLL?
>> Yes, using static linking.
>
> Yep, that's the idea. How, without abandoning SDL, which seems to require that
> linking be dynamic?
I doubt SDL really requires dynamic linking. You can probably get static
linking going without too much effort. Did you try simply changing that
option in VC++, to see if it just works?
You should carefully note that SDL is licensed LGPL, though. This means
that if you statically link your application to SDL, your application
should also be licensed LGPL or something compatible. (Your
application's source code should then be available somehow.)
If you're okay with that, and did get it to work, maybe you can add a
FAQ entry on the wiki for others to find.
Regards,
- -- Stéphan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHnHTOcFUq0gzqDwQRAkp5AJ90FXzURoLxV9rBWWxZeBeZJnvSCQCg+u3K
Y6OjpgSiUN3cf9uFMKtWW68=
=0omh
-----END PGP SIGNATURE-----
More information about the SDL
mailing list