LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 01-13-2005, 01:30 AM   #1
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
libsdl vs libsdl-devel


I went to http://www.libsdl.org to get SDL. I compiled and everything turned out fine. I then went to compile my pinball game running this:

Code:
[ken@ken pinball-0.3.1]$ ./configure --prefix=/home/ken/games/pinball
and I got this at the end:

checking for SDL - version >= 1.2.0... yes
checking for IMG_Load in -lSDL_image... no
configure: error: *** libSDL_image not found! Make sure you have the development package of SDL_image installed - (www.libsdl.org) - or try to use the --with-sdlimage-prefix option

My question is, what is the difference between libSDL and libSDL-devel? I can only find libSDL-devel.rpm files on their website, but no source files. I want to do everything manually rather than RPM's. I really don't trust RPM's.
 
Old 01-13-2005, 02:03 AM   #2
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 52
Quote:
My question is, what is the difference between libSDL and libSDL-devel?
well libsdl is a library (maybe more)
libSdl-devel is the development package for this library (headerfiles etc)..
if you want to create an applications using libsdl then you need the development package.
if you get just a binary of the application it's probably dynamically linked to libsdl so you don't need the development package, but if you have the source of the application you may need the development package to be able to compile the application.
They have different packages for this because some people do not want the development packages, they do not have compilers installed and they think its just a waist of space.
If you downloaded and compiled and installed SDL by your self then you have the development files installed.
SDL_image is another package, as far i can see:
http://www.libsdl.org/projects/SDL_image/
install it,then make sure you do as root
/sbin/ldconfig
and try make clean before you do
./configure again.

Last edited by perfect_circle; 01-13-2005 at 02:05 AM.
 
Old 01-13-2005, 11:06 AM   #3
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Original Poster
Rep: Reputation: 45
Thumbs up

I did not realize that SDL_Image was a totally separate thing. I installed it and everything works fine now. I can now enjoy my pinball game. Thanks for the help! Very much appreciated!


Last edited by Micro420; 01-13-2005 at 11:07 AM.
 
Old 01-13-2005, 11:19 AM   #4
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 52
I used to play pinball in the Devils OS (wind0z)
I may also give it a try.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
What is libSDL-1.2.so.0? ccerino Linux - Hardware 1 07-29-2005 12:46 PM
libsdl where can i find it linuxmandrake Linux - Software 1 06-28-2005 10:34 AM
libSDL.so.0 t3gah Linux - Software 5 03-16-2005 05:19 AM
libSDL Ryan450 Linux - Software 10 08-30-2004 06:48 PM
Where to find libSDL-1.3.so.0?? Caluka Linux - Games 4 07-28-2004 05:00 PM


All times are GMT -5. The time now is 06:30 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration