SlackwareThis Forum is for the discussion of Slackware Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I'm trying to write OpenGL programs in slack and I'm wondering if slack already has the necessary libraries. If not, where can I get them? I'm writing the programs in C so the compiler shouldn't be an issue.
Slack always has everything you need, or really easy to get. I'm assuming that you've already got an OpenGL capable card and drivers that go with it. You will either need GLUT or SDL to setup contexts and other stuff.
I have an ATI rage 128. It's one of the cards listed when you configure X. OpenGL apps run fine.
When I slocate the header files gl.h and glut.h, I find them in /usr/X11R6/include/GL. Can I use these or do I have to get something else? Also, how would I go about including them as headers in the programs I write?
well in windows I find that I have to add linker flags for my GL programs even with the includes defined. My programs are not compiling thus far, but examples that I've downloaded from the net are doing fine. So I'm thinking maybe I need to use the -L option in gcc to link the libraries too. I'll figure it out
Ah, see that. In *nix, it is custom to compile your stuff into .o files, then link them all together (Windows does that too, but kind of behind your back). With simple one-file programs, the .o step could be skipped like you did in that.
Try removing the -I and -L. Those directories should already be in your include and library paths.