GLUT Linking problems

I use OpenGL since a long time for Windows, and now i changed to linux and want to use openGL. But i have some problems with linking GLUT. He can’t find the Glut lib. There is no glut.a file.

Can anyone help me?

the dynamic lib should be something like
“*” (all libraries start with “lib” in
linux, “.so” means it is a dynamic lib). search in
/lib, /usr/lib, or /usr/X11R6/lib

I installed the glut from and copied that libaries to /usr/lib. have i to copie it also to /usr/X11R6/lib and /lib?
Te compiler still can’t find -lglut

Did you manually copy the files to /usr/lib ?

You’ll need to run ldconfig then…

open a terminal, log in as root and execute: /sbin/ldconfig

ohh! i forgot that! I’ll try now!

ok.m i completely reinstalled glut, and didn’t forgot to run ldconfig!

Yes, that was my mistake! thanks for the fast repling!

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.