PDA

View Full Version : Man pages for OpenGL



Renée Jade
September 21st, 2010, 09:17 AM
Hey guys,

So it's project month for Australian Computer Science students. Pretty exciting! What I need to know is whether there are man pages for OpenGL and GLUT available, like the man pages for standard C libraries, and where I can find them for Karmic. There was a thread about this many years ago. I would love some more up-to-date info.

Thanks.


Renée.

EDIT: Just to clarify that, I am doing a simple project in OpenGL with C language. We're implementing some pretty basic interactive 3D stuff. I'm not 100% sure where that fits in the big scheme of things.

kahumba
September 21st, 2010, 10:45 AM
Afaik you can only get them online (and download if needed), google for "OpenGL 2.1 Reference Pages".

Renée Jade
September 21st, 2010, 11:04 AM
Thanks

cprevoe
September 26th, 2010, 11:59 PM
Hello,

I've successfully installed the OpenGL man pages.

To do this, first I downloaded the "man" directory from svn as instructed on http://www.opengl.org/wiki/Getting_started/XML_Toolchain_and_Man_Pages (one link away from the OpenGL Reference).

Once downloaded, I did the following:

sudo apt-get install docbook2x docbook-mathml
cd man
for x in *.xml; do echo Converting $x; docbook2x-man $x; done
for x in *.3G; do Compressing $x; gzip $x; done
mv *.gz /usr/share/man/man3

Is this the correct way to install these pages? I am not actually familiar with docbook (or man) and while this method works for me, I'd still like to know what the 'correct' way is.