Open GL Libraries

Hi,

I’m starting to play with OpenGL on RTP. I ported a linux program of
mine that draws some lines on the screen. During the linking process of
the compile, I get a bunch of ‘undefined reference errors’. The
functions start with ‘gr’, so they are not OpenGL or GLU functions. I
am linking with -lgl -lglu.

Am I missing any library links? What other libraries are needed to
compile with OpenGL?

Thanks,
Alec

“Alec Gorjestani,ME 357,625-4817,” wrote:

Hi,

I’m starting to play with OpenGL on RTP. I ported a linux program of
mine that draws some lines on the screen. During the linking process of
the compile, I get a bunch of ‘undefined reference errors’. The
functions start with ‘gr’, so they are not OpenGL or GLU functions. I
am linking with -lgl -lglu.

Am I missing any library links? What other libraries are needed to
compile with OpenGL?

Interesting I had the same problem with the Mesa
library … are these libs completely ported ??

Armin

You’ll need to include the glide libraries into the app. Patch A doesn’t have this problem so you
may want to wait until it’s out. If you can’t wait look at /usr/src/Mesa/demo.glide/ for the libs
you need.


Armin Steinhoff <A-Steinhoff@web_.de> wrote:


“Alec Gorjestani,ME 357,625-4817,” wrote:

Hi,

I’m starting to play with OpenGL on RTP. I ported a linux program of
mine that draws some lines on the screen. During the linking process of
the compile, I get a bunch of ‘undefined reference errors’. The
functions start with ‘gr’, so they are not OpenGL or GLU functions. I
am linking with -lgl -lglu.

Am I missing any library links? What other libraries are needed to
compile with OpenGL?

Interesting I had the same problem with the Mesa
library … are these libs completely ported ??

Armin