Ok, here’s my situation: My hard drive died last week, and I decided to try a
Mandrake 9.0 installation instead of returning to the dark ways of W98…
Must say I’m quite amazed at how well it’s working so far…
My point? Oh yeah. I want to be able to compile SDL apps. I’m very familiar
with SDL itself from my coding under W98, somewhat familiar with Linux from
my messing with the Linux boxes at the U of R, and once went through the
KDeveloper FAQ and managed to make a working SDL application. So that’s my
skill level at the moment.
I made an extremely simple .c file that includes “SDL.h” and contains empty
main() that just returns 0, and compiled it with gcc like ‘gcc -o myproggy
myproggy.c’, and it can’t find SDL.h. No problem, I thought, just install
the source RPM right? According to KPackage, this box’s got libSDL 1.2.4 on
it, so I downloaded the appropriate source RPM and installed it. Nothing. I
can’t even FIND sdl.h or any of the sourcecode searching through the
directory tree… so, how do I get the SDL source installed properly?
Ok, here’s my situation: My hard drive died last week, and I decided
to try a Mandrake 9.0 installation instead of returning to the dark
ways of W98… Must say I’m quite amazed at how well it’s working so
far…
My point? Oh yeah. I want to be able to compile SDL apps. I’m very
familiar with SDL itself from my coding under W98, somewhat familiar
with Linux from my messing with the Linux boxes at the U of R, and
once went through the KDeveloper FAQ and managed to make a working
SDL application. So that’s my skill level at the moment.
I made an extremely simple .c file that includes “SDL.h” and contains
empty main() that just returns 0, and compiled it with gcc like ‘gcc
-o myproggy myproggy.c’, and it can’t find SDL.h. No problem, I
thought, just install the source RPM right? According to KPackage,
this box’s got libSDL 1.2.4 on it, so I downloaded the appropriate
source RPM and installed it. Nothing. I can’t even FIND sdl.h or
any of the sourcecode searching through the directory tree… so,
how do I get the SDL source installed properly?
Ok, here’s my situation: My hard drive died last week, and I decided to try a
Mandrake 9.0 installation instead of returning to the dark ways of W98…
Must say I’m quite amazed at how well it’s working so far…
My point? Oh yeah. I want to be able to compile SDL apps. I’m very familiar
with SDL itself from my coding under W98, somewhat familiar with Linux from
my messing with the Linux boxes at the U of R, and once went through the
KDeveloper FAQ and managed to make a working SDL application. So that’s my
skill level at the moment.
I made an extremely simple .c file that includes “SDL.h” and contains empty
main() that just returns 0, and compiled it with gcc like ‘gcc -o myproggy
myproggy.c’, and it can’t find SDL.h. No problem, I thought, just install
the source RPM right? According to KPackage, this box’s got libSDL 1.2.4 on
it, so I downloaded the appropriate source RPM and installed it. Nothing. I
can’t even FIND sdl.h or any of the sourcecode searching through the
directory tree… so, how do I get the SDL source installed properly?
I suspect you need the dev package, not the source package.
Ron Steinke
“The sound of gunfire, off in the distance. I’m getting used to it now.”
– Talking Heads> From: Tyler Montbriand
one way to tell on unixes if sdl has been configured/installed properly or
not is to type this at the prompt:
sdl-config
if that says “file not found” then, you know for sure SDL has not been setup
properly. if it says some stuff like “usage: sdl-config [–cflags]” then
you know sdl is atleast partialy setup.
give it a whirl, see what it says.> ----- Original Message -----
From: rsteinke@w-link.net ()
To:
Sent: Friday, February 21, 2003 4:11 PM
Subject: Re: [SDL] Installing SDL development libraries on Linux
From: Tyler Montbriand
Ok, here’s my situation: My hard drive died last week, and I decided to
try a
Mandrake 9.0 installation instead of returning to the dark ways of
W98…
Must say I’m quite amazed at how well it’s working so far…
My point? Oh yeah. I want to be able to compile SDL apps. I’m very
familiar
with SDL itself from my coding under W98, somewhat familiar with Linux
from
my messing with the Linux boxes at the U of R, and once went through the
KDeveloper FAQ and managed to make a working SDL application. So that’s
my
skill level at the moment.
I made an extremely simple .c file that includes “SDL.h” and contains
empty
main() that just returns 0, and compiled it with gcc like ‘gcc -o
myproggy
myproggy.c’, and it can’t find SDL.h. No problem, I thought, just
install
the source RPM right? According to KPackage, this box’s got libSDL
1.2.4 on
it, so I downloaded the appropriate source RPM and installed it.
Nothing. I
can’t even FIND sdl.h or any of the sourcecode searching through the
directory tree… so, how do I get the SDL source installed properly?
I suspect you need the dev package, not the source package.
Ron Steinke
“The sound of gunfire, off in the distance. I’m getting used to it now.”
– Talking Heads