OpenGL

Erik Schmidt eschmidt90 at gmail.com
Mon Feb 19 16:46:02 UTC 2007


so I understand how to use the opengl libraries and link them with gcc

is there any difference in lining the the opengl and glut libraries  
with g++?

TIA

~Erik

On Feb 18, 2007, at 7:22 PM, Michael R. Head wrote:

> 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
> -- 
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/ 
> listinfo/ubuntu-users





More information about the ubuntu-users mailing list