OpenGL

Michael R. Head burner at suppressingfire.org
Mon Feb 19 00:22:29 UTC 2007


On Sun, 2007-02-18 at 12:06 -0500, Erik Schmidt wrote:
> how do I install OpenGL in ubuntu
> 
> once installed, where will the libraries I have to link to be located?

Sounds like you want the headers and linkable libraries. There's a
libgl-dev virtual package:
http://packages.ubuntu.com/edgy/virtual/libgl-dev

You can see that there's a software rendering library and an accelerated
library, so you'd probably want to pick libgl1-mesa-dev

Once it's installed you can run "dpkg -L libgl1-mesa-dev" to find out
where its files are located.

Generally they'll be in the right place so your source should compile
just like normal:

gcc -lGL my-opengl-program.c

mike 

> TIA
> 
> -Erik
> 
> 
-- 
Michael R. Head <burner at suppressingfire.org>
http://www.suppressingfire.org/~burner/
http://suppressingfire.livejournal.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20070218/45afc562/attachment.bin>


More information about the ubuntu-users mailing list