Paths

I’ve a really lame question, but I han’t done mutch programming on Linux
(redhat 5.something)…

How do I set the path so that I can use the sdl?
I installed it to /usr/local/lib

Daniel.

I’ve a really lame question, but I han’t done mutch programming on Linux
(redhat 5.something)…

How do I set the path so that I can use the sdl?
I installed it to /usr/local/lib

I think this is in the FAQ (If it’s not, it should be)

Add -I/usr/local/include/SDL to your compiler flags so the headers can
be found.

Make sure /usr/local/lib is in /etc/ld.so.conf and run ldconfig as root.

That’s it!

-Sam Lantinga				(slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec

Sam Lantinga wrote:

How do I set the path so that I can use the sdl?
I installed it to /usr/local/lib

I think this is in the FAQ (If it’s not, it should be)

It ain’t in the FAQ. I badly wanted it to be in the FAQ. :slight_smile:
Daniel.