SDL or SVGALIB DSL extension?


Forum: myDSL Extensions (deprecated)
Topic: SDL or SVGALIB DSL extension?
started by: fitzbean

Posted by fitzbean on Mar. 01 2005,21:14
I've had no luck whatsoever installing either of these on DSL - any ideas?
Posted by mikshaw on Mar. 02 2005,00:12
If you mean SDL runtime libs, all you need to do is copy the files into some directory listed in /etc/ld.so.conf
There are precompiled downloads available at libsdl.org (try the deb packages...you'll need the dsl-dpkg extension).  If for some reason you can't install from deb, you should be able to at least extract the files.

We've talked about making an SDL extension before, and the bottom line is that it would cause more trouble than it would fix.  The files are small, so they can easily be included with whatever package needs them....better than making too many dependent extensions.

Posted by fitzbean on Mar. 02 2005,13:28
Thanks for your reply mike - I'm actually talking about SDL for development purposes in c/c++.  Do I only need to copy the lib in that case too?  Wouldn't I need header files as well at least?  I don't see those anywhere in the archieve..?  Any advice/info appreciated..

thanks!
Brad

Posted by mikshaw on Mar. 02 2005,14:08
Yeah, that would be an extra set of files.  There are some deb packages listed here
< http://packages.debian.org/stable/devel/ >
scroll down to libsdl-*

Posted by fitzbean on Mar. 02 2005,14:28
Thanks mike - how do I use .deb packages in DSL?
Posted by mikshaw on Mar. 02 2005,15:22
you'll want to install the dsl-dpkg.dsl extension, and maybe gnu-utils (not sure about that one).

Then go to where you download your deb files and do this command:
sudo dpkg -i name_of_file.deb

Can't say that'll work for everything...SDL-dev may need additional support files.

You could also try apt-get instead of dpkg (I think they are both in the same package?), which many people prefer...i can't verify either one personally, but i always like to have archives saved for future use rather than just download and run from a temp directory.

Posted by fitzbean on Mar. 02 2005,18:08
Thanks for the help Mike - I discovered Izarc for windows opens deb packages, so I was able to snag the headers out of it, and ftp over to my linux box.  Not a proper SDL install, but the headers with the library and it actually works.  It'll do.  Something I've grown accustom to as far as linux goes.  A lot of brute forcing; at least for me so far! :)  I only booted linux for the first time a few months ago because I was put on a programming project that my boss wants done in Linux!  Great opportunity to learn linux.  And man have I learned a crapload.. DSL is the best distribution I think... I've tried many.  VNC works great with it too.. I dev on my linux box 100% via vnc from my windows box.  There's no latency over the local network whatsoever! :)

thanks!
Brad

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.