Jump to content
  • Advertisement
Sign in to follow this  
programwizard

SDL question: Do you have to make everything open source?

This topic is 4864 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Whil reading the licensing page on the SDL website (libsdl.org), it said that you must disclose all SDL source code and all of the code for your application when you distribute an application made with SDL. Does this mean that anything you make with SDL must be open source?

Share this post


Link to post
Share on other sites
Advertisement
http://www.libsdl.org/license.php


It doesn't say that programs must be open source, it actually says that users must be able to change the source of SDL, compile it and that way enhance that part of your application.

It actually says that the libeary must be linked dynamically. And the source of SDL must be included in the distribution

Share this post


Link to post
Share on other sites
"Include the source code for the version of SDL that you link with, as well as the full source or object code to your application so that the user can relink your application"

Nobody said all the source code to your application.

Share this post


Link to post
Share on other sites
"Include the source code for the version of SDL that you link with as well as the full source or object code to your application so that the user can relink your application"
How is that any different from giving away all of your code?

Share this post


Link to post
Share on other sites
object code are for example in GCC .o files that are generated when compiling and they are used to link the binaries, you can just release .o files which are not source files but compiled binaries and let the users relink the program to use a new version of the library

Share this post


Link to post
Share on other sites
Quote:
Original post by programwizard
"Include the source code for the version of SDL that you link with as well as the full source or object code to your application so that the user can relink your application"
How is that any different from giving away all of your code?

The important part is "or object code". The object code = machine code - ie, the executable.

John B

Share this post


Link to post
Share on other sites
OK, so all I have to do is release the SDL source code and the object files. Gotcha. Is there any way to make Visual Studio 2005 give you the object files? Usually it just spits out a .exe and that's it...

[Edited by - programwizard on November 21, 2005 9:42:27 AM]

Share this post


Link to post
Share on other sites
Most likelly the compiler first generates the object files before the *linking* process, those files should be somewhere in the folder the project is located, most likelly a subfolder that was auto generated by VC

Share this post


Link to post
Share on other sites
Thanks for the help everyone... BTW, while we're on the subject of SDL, if you compile an SDL application on Windows, will it run on any other OS that has SDL? Or do you have to do something to your app to make it work on other systems?

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!