OpenGL

Michael Gustafson michaelrpg at gmail.com
Mon Feb 19 18:47:57 UTC 2007


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


Nope. Should work just the same as far as I know.

On 2/19/07, Erik Schmidt <eschmidt90 at gmail.com> wrote:
>
> 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
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20070219/f3ce7213/attachment.html>


More information about the ubuntu-users mailing list