
OpenGl beginning
Hi!
First, in OpenGl programming I''m a totally newb.
I was a long time socket-programming, so I have a some
c knowledge.
But to my question:
First I installed a lot of packages...
glut
glx
Mesalib
Mesa
NVIDIA-kernel
NVIDIA_GLX
But when I''m comiling a opengl source (one of nehe-tuts lesson01), the compiler shouts:
"/lib/libGL.a: could not read symbols: Archive has no index; run ranlib to add one"
But that file exists! and it''s also a symbol.
I know, that''s an extremly newby question, I hope someone can help me...
PS: Info: Slackware 8.0, kernel 2.4.16, kde, Geforce2
thx

This is a wild guess, but there might be a conflict with Mesa Opengl and Nvidia''s Opengl.
Try doing a fresh install and only install nvidia glx and nvidia kernel.
Also, try compiling a ready made gl game that uses sdl maybe like canonsmash.
Try doing a fresh install and only install nvidia glx and nvidia kernel.
Also, try compiling a ready made gl game that uses sdl maybe like canonsmash.
thx for helping.
I''ve found the Nvidia OpenGL Configuration mini-HOWTO.
I installed all the packages step by step, but ldconfig says:
ldconfig: /lib/libGL.so is not an ELF file - it has the wrong magic bytes at the start.
ldconfig: /lib/libGL.a.so is not an ELF file - it has the wrong magic bytes at the start.
ldconfig: /lib/libGLU.a.so is not an ELF file - it has the wrong magic bytes at the start.
ldconfig: /lib/libGLU.so is not an ELF file - it has the wrong magic bytes at the
start.
mhm...I think that''s the problem *fg*. What can I do ?
thx for helping!
I''ve found the Nvidia OpenGL Configuration mini-HOWTO.
I installed all the packages step by step, but ldconfig says:
ldconfig: /lib/libGL.so is not an ELF file - it has the wrong magic bytes at the start.
ldconfig: /lib/libGL.a.so is not an ELF file - it has the wrong magic bytes at the start.
ldconfig: /lib/libGLU.a.so is not an ELF file - it has the wrong magic bytes at the start.
ldconfig: /lib/libGLU.so is not an ELF file - it has the wrong magic bytes at the
start.
mhm...I think that''s the problem *fg*. What can I do ?
thx for helping!
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement