OpenGL installation on Debian Linux


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users OpenGL installation on Debian Linux
# 1  
Old 12-10-2007
OpenGL installation on Debian Linux

Hi,

I need your help in installing OpenGL in my Debian (ubuntu) Linux PC. Please elaborate the steps in a clear manner, so that I may follow the installation procedure without getting in to any problem. Also, please tell me what are the libraries should I link my program with, what are the header files should I include in my C++ program (for OpenGL). It would be better if you give me the sample compiler option flag(s) for compiling OpenGL program.

Thanks
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Tablet with Debian Linux ?

Hi , i want to buy a tablet with LINUX DEBIAN. Sparky is possible too. Have heared about Ubuntu Touch and a tablet with a real keyboard to switch from touch to normal keyboard. Does anyone know something ? WBR SM (3 Replies)
Discussion started by: Sennenmut
3 Replies

2. Debian

Linux Mint Debian 32 bit installation using Windows (using something like wubi or mint4Linux) )

Hello , Im new at Linux and have problem with instalation Other Mint version has an instalation file like mint4linux , Ubuntu has a wubi to install it through Windows Linux Mint Debian 32 bit doesint has such software, I have tried to use it from other iso but its doesint work ... (0 Replies)
Discussion started by: edgkkk
0 Replies

3. UNIX for Advanced & Expert Users

free memory in debian linux

hi- im running glassfish 3.1 on debian server and there are times where I need to start the domain when we cannot access the web application. I checked the memory and it's confusing me. Am i still ok? can you explain the below? USER PID %CPU %MEM VSZ RSS TTY STAT START TIME... (1 Reply)
Discussion started by: lhareigh890
1 Replies

4. Debian

format/reinstall debian from CD after wrong installation

Hi all, I installed the newest debian stable wrong. I entered the wrong gateway IP. So the installation prozess couldn't load a mirror image. Now i would like to reinstall Debian with the right gateway IP and a mirrord image... It wan't boot from the installation CD Can I enforce that?... (1 Reply)
Discussion started by: vivelafete
1 Replies

5. Ubuntu

i am new to opengl , how to work opengl in ubuntu

Hi, i am new to opengl, how to work openGL in ubuntu ,, i am not getting which packages as to be install and how to install those packages. and how to work with small programs.. Please guide me ,,, it will appriceated ... (7 Replies)
Discussion started by: Ravikishore
7 Replies

6. UNIX for Dummies Questions & Answers

problem in new debian installation

Hi All, I have insatll one debian OS and facing the following the problems: 1. I want that when i type http://ip.address/wecome.html it should show my welcome.html page. but i am unabe to do rather i am abe to do by following http://ip.address/cgi-bin/welcome.html 2. i am unable to... (5 Replies)
Discussion started by: gauri_agr
5 Replies

7. Debian

debian network installation

we have separate repo for the ftp installation. I copied vmlinuz and initrd from the repo(stable disti) and booted my lapton from it(after modyfing the grub). Now the problem is setup is looking for .iso file (?). Why do i need iso file ? without iso we can start the shell . So can we make use of... (0 Replies)
Discussion started by: yogesh_powar
0 Replies
Login or Register to Ask a Question
OpenGL::XScreenSaver(3pm)				User Contributed Perl Documentation				 OpenGL::XScreenSaver(3pm)

NAME
OpenGL::XScreenSaver - prepare environment for writing OpenGL-based XScreenSaver hacks SYNOPSIS
use OpenGL qw(:all); use OpenGL::XScreenSaver; OpenGL::XScreenSaver::init(); # GetOptions(...); # parse your own options, if any OpenGL::XScreenSaver::start(); while(1) { glClear(...); # draw your scene here OpenGL::XScreenSaver::update(); } DESCRIPTION
This module allows you to write OpenGL XScreenSaver hacks in Perl. It prepares the GL to be used with XScreenSaver. Read the synopsis for how your program might look. Description of functions The init() function will return a true value if a window to draw on has been found, and a false value if a window will have to be created. This value can be ignored unless you want to make sure that your screenhack cannot be executed outside XScreenSaver (e.g. if your standalone version comes as an extra binary with keyboard control, which would be useless in a screensaver). The start() function will open the connection to the X server and bind to the window ID or create a new window to draw on (depends on if it was called standalone or from XScreenSaver). The update() function should be called when you finished rendering the frame. It will flush output and swap the buffers. In the future it might also handle a minimal set of X events when run in standalone mode (like window deletion requests by the window manager). The dimensions() function returns a list with the width and the height of the currently used window. About screenhacks What follows is a short description of how it works and what XScreenSaver expects a screenhack to do. XScreenSaver tells the hack on startup what window ID the hack shall draw to. This is either a small window mapping to the screen in the preview dialog, or a fullscreen window. The window ID is passed either via the -window-id option or via the XSCREENSAVER_WINDOW environment variable. init() of this module checks both of these. XScreenSaver handles all user input including exiting and pausing the screensaver. The process is sent a SIGSTOP when the unlock screen is displayed, obviously a SIGCONT when it is dismissed, and when the pointing device is moved or the screen gets unlocked XScreenSaver sends a SIGTERM. This means that no event handling is required by your screenhack whatsoever. This again keeps the design of a screenhack dead simple. SEE ALSO
OpenGL AUTHORS &; COPYRIGHTS Made 2010 by Lars Stoltenow. OpenGL::XScreenSaver is free software; you may redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2010-02-20 OpenGL::XScreenSaver(3pm)