Today I felt like testing a program I've been working on in Windows in Puppy just to see how it would run. It uses SDL, so I added SDL to Puppy. Puppy liked it so much that I decided to learn how to make a dotpup and upload it. Now anyone can run SDL programs in Puppy. Oh, and it registers with pupget and everything
Remember, though. This is only the runtime library. You need the development librarys to actually compile SDL apps.
EDIT: I fixed it
SDL-1.2.8 Runtime Library
- Pizzasgood
- Posts: 6183
- Joined: Wed 04 May 2005, 20:28
- Location: Knoxville, TN, USA
SDL-1.2.8 Runtime Library
Last edited by Pizzasgood on Mon 16 May 2005, 20:47, edited 2 times in total.
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]
[img]http://www.browserloadofcoolness.com/sig.png[/img]
- Lobster
- Official Crustacean
- Posts: 15522
- Joined: Wed 04 May 2005, 06:06
- Location: Paradox Realm
- Contact:
What is SDL?
What is SDL?
- Pizzasgood
- Posts: 6183
- Joined: Wed 04 May 2005, 20:28
- Location: Knoxville, TN, USA
SDL: Simple DirectMedia Layer
Think DirectX for Linux. Except it is multiplatform (supports Windows, Linux, BSD, etc.), so the program that I was writing on Windows worked with almost no modification on Linux .
It makes doing graphics (and I guess it can do sound too) in C++ much easier. The runtime library will let any programs that use SDL (like the game I'm making) run.
It's actually made for C, not C++, so if I got the development libraries I bet I could use it with tcc. I'll have to try that someday.
Anyway, the average Puppy user isn't going to need this, but it can come in handy if you want to add games to your distro. I just figured as long as I had added it to my Puppy I might as well learn how to make dotpups and put it up just in case anyone else wants it.
Think DirectX for Linux. Except it is multiplatform (supports Windows, Linux, BSD, etc.), so the program that I was writing on Windows worked with almost no modification on Linux .
It makes doing graphics (and I guess it can do sound too) in C++ much easier. The runtime library will let any programs that use SDL (like the game I'm making) run.
It's actually made for C, not C++, so if I got the development libraries I bet I could use it with tcc. I'll have to try that someday.
Anyway, the average Puppy user isn't going to need this, but it can come in handy if you want to add games to your distro. I just figured as long as I had added it to my Puppy I might as well learn how to make dotpups and put it up just in case anyone else wants it.
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]
[img]http://www.browserloadofcoolness.com/sig.png[/img]
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
Pizzagood,
That's fantastic!
I had to immediately see the first DotPup that registers with PupGet!
I looked in /root/.packages/ at alienpackages.txt and sdlxxx.files
and yep, they are there.
I then fired up the PupGet package manager, and there it is, listed as installed!
Great stuff, one thing to fix though.
Perhaps I could put an automatic check for this into the PupGet script....
When an entry is made to alienpackages.txt, it must have a " \"
(space then back-slash) on the end of the line.
Otherwise, if another line gets added, the PupGet script would be broken.
Now, your DotPup is free from being purged at version upgrades by the voracious rc.update script.
And can now be uninstalled with a few mouse clicks!
Great, I'm mighty pleased
That's fantastic!
I had to immediately see the first DotPup that registers with PupGet!
I looked in /root/.packages/ at alienpackages.txt and sdlxxx.files
and yep, they are there.
I then fired up the PupGet package manager, and there it is, listed as installed!
Great stuff, one thing to fix though.
Perhaps I could put an automatic check for this into the PupGet script....
When an entry is made to alienpackages.txt, it must have a " \"
(space then back-slash) on the end of the line.
Otherwise, if another line gets added, the PupGet script would be broken.
Now, your DotPup is free from being purged at version upgrades by the voracious rc.update script.
And can now be uninstalled with a few mouse clicks!
Great, I'm mighty pleased
- Pizzasgood
- Posts: 6183
- Joined: Wed 04 May 2005, 20:28
- Location: Knoxville, TN, USA
Whoops! I didn't see that part.
Oh, well. I fixed it. I also just realized the forum lets you update an attachment, so it's at the same spot up at the top for easy access
Oh, well. I fixed it. I also just realized the forum lets you update an attachment, so it's at the same spot up at the top for easy access
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]
[img]http://www.browserloadofcoolness.com/sig.png[/img]