SDL iphone

Member
Posts: 75
Joined: 2009.01
Post: #1
I've been looking at SDL and been wanting to try it out but was wondering if I could use it on the iphone?
I've been googling like mad so I wouldn't have to post here like an idiot but i couldn't find any results except for one thread here about SDL 1.3 from holmes.
That post is about a year old?
I'm just looking for definite answer Rasp
Quote this message in a reply
Member
Posts: 749
Joined: 2003.01
Post: #2
http://www.galaxygameworks.com/

SDL after a long time with no updates seems to be finally close to 1.3 (or at least progressing)

Mailing lists http://www.libsdl.org/mailing-list.php

©h€ck øut µy stuƒƒ åt ragdollsoft.com
New game in development Rubber Ninjas - Mac Games Downloads
Quote this message in a reply
Member
Posts: 75
Joined: 2009.01
Post: #3
Oh thanks!
The galaxygameworks site cleared a few things up.
Quote this message in a reply
Member
Posts: 249
Joined: 2008.10
Post: #4
Najdorf Wrote:http://www.galaxygameworks.com/

SDL after a long time with no updates seems to be finally close to 1.3 (or at least progressing)

Mailing lists http://www.libsdl.org/mailing-list.php

Thanks for the info!

Can you explain me what galaxygameworks is? I thought SDL was free and I see there is a commercial license for the iPhone.

Thanks for suggestions.
Quote this message in a reply
Member
Posts: 749
Joined: 2003.01
Post: #5
galaxygameworks is the company of the author of SDL, sam lantinga. SDL is LGPL which is a problem with iphone since you can't dynamic link.
So you probably need to get a different license to use sdl on the iphone, otherwise you will have to make your app open source (or maybe LGPL is just incompatible with the iphone, not sure).

©h€ck øut µy stuƒƒ åt ragdollsoft.com
New game in development Rubber Ninjas - Mac Games Downloads
Quote this message in a reply
Member
Posts: 249
Joined: 2008.10
Post: #6
Hi friends!

I sent an email to http://www.galaxygameworks.com/ a week ago but no reply at the moment.

Can anyone ask me these questions, please (this is the email I sent them)?

*Can I develop a game in the same way I develop a game for PC with SDL, OpenGL and C++?
*Can iPhone SDL manage multitouch and the accelerometer?
*How much is it? Are there licenses for individuals, small companies or studens?
*Is there any possibility to read docs where I can see differences between iPhone SDL and PC SDL?
*If I use C++, can iPhone SDL launch the keybooard (which obviously uses cocoa API in obj-c)? BTW, I'd like to avoid Obj-C as I prefer C++.
*Does iPhone SDL manage orientations (portrait, landscape)


Thanks a lot for your help.
Quote this message in a reply
Apprentice
Posts: 5
Joined: 2009.03
Post: #7
Hi,

I'm new, but I developed my puzzle games with SDL in C to iPhone. I use SDL svn source. The README.iphoneos answers your questions.
Multitouch and accelerometer works. Orientation only portrait. Keyboard works. There are a few examples in svn source.

I hope helped
Quote this message in a reply
Member
Posts: 249
Joined: 2008.10
Post: #8
ioros Wrote:Hi,

I'm new, but I developed my puzzle games with SDL in C to iPhone. I use SDL svn source. The README.iphoneos answers your questions.
Multitouch and accelerometer works. Orientation only portrait. Keyboard works. There are a few examples in svn source.

I hope helped

But, I thought it was a commercial license. Am I right?
Quote this message in a reply
Apprentice
Posts: 5
Joined: 2009.03
Post: #9
riruilo Wrote:But, I thought it was a commercial license. Am I right?
I think is so, because SDL library linked statically. LGPL or GPL licenses demands dynamically linked library.

ioros
Quote this message in a reply
Member
Posts: 749
Joined: 2003.01
Post: #10
You need to abide to LGPL if you dont have another license.

http://www.gnu.org/licenses/lgpl-2.1.html

It is unclear if this is possible.

Quote: For an executable, the required form of the "work that uses the Library" must include any data and utility programs needed for reproducing the executable from it. However, as a special exception, the materials to be distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable.

It may happen that this requirement contradicts the license restrictions of other proprietary libraries that do not normally accompany the operating system. Such a contradiction means you cannot use both them and the Library together in an executable that you distribute.

©h€ck øut µy stuƒƒ åt ragdollsoft.com
New game in development Rubber Ninjas - Mac Games Downloads
Quote this message in a reply
Apprentice
Posts: 5
Joined: 2009.03
Post: #11
Najdorf Wrote:You need to abide to LGPL if you dont have another license.

http://www.gnu.org/licenses/lgpl-2.1.html

It is unclear if this is possible.

I'm new in licenses questions. The opportunity is sell my program in applestore? I have made available on a website my program source code. Thus, right?

ioros
Quote this message in a reply
Member
Posts: 249
Joined: 2008.10
Post: #12
Wait. So, if I pay iPhone SDL is only to get a proper license, am I right.
In this case, can I access full version without paying anything? (I would like to try it before paying)

Thanks.
Quote this message in a reply
Member
Posts: 749
Joined: 2003.01
Post: #13
ioros Wrote:I'm new in licenses questions. The opportunity is sell my program in applestore? I have made available on a website my program source code. Thus, right?

ioros

Maybe. Maybe not.

Unfortunately LGPL is very complicated and unclear.

Standing to a literal interpretation I would say no, as with your source code you would have to provide all the tools and libraries needed to rebuild your app, and I guess some of these are proprietary. Maybe it's possible to provide open source frameworks (i.e. gcc, darwin etc.) that are enough to build an iphone app? I don't know.

Try to contact the author or ask in the mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Quote:Wait. So, if I pay iPhone SDL is only to get a proper license, am I right.
In this case, can I access full version without paying anything? (I would like to try it before paying)

Yeah download source from http://www.libsdl.org/svn.php, you'll have to build it yourself though.

©h€ck øut µy stuƒƒ åt ragdollsoft.com
New game in development Rubber Ninjas - Mac Games Downloads
Quote this message in a reply
Post Reply