Static linking of GLU
by Gregory "Centove" McLean · in Torque Game Engine · 03/19/2005 (1:32 pm) · 2 replies
In mk/conf.UNIX.mk it states the following:
# GLU must be statically linked, otherwise torque will crash.
# JMQNOTE: aside from gluProject/unProject, GLU doesn't work.
# calling a GLU function that calls a GL function will cause a
# crash. let me know if you have a fix :)
And then has the ld voodoo to accomplish this.
However this don't appear to be true anymore? Removed all the static voodoo and it linked fine, and as a bonus it ran fine as well.
As to the JMQNOTE, I haven't messed with the GLU functions to see if that is still crashing or not.
# GLU must be statically linked, otherwise torque will crash.
# JMQNOTE: aside from gluProject/unProject, GLU doesn't work.
# calling a GLU function that calls a GL function will cause a
# crash. let me know if you have a fix :)
And then has the ld voodoo to accomplish this.
However this don't appear to be true anymore? Removed all the static voodoo and it linked fine, and as a bonus it ran fine as well.
As to the JMQNOTE, I haven't messed with the GLU functions to see if that is still crashing or not.
#2
I'm not sure about the distro question. As far as the working OpenGL install.. Well you're not gonna run the non dedicated version on a headless, GPU-less server are you? It wouldn't work in even if you did statically link the stuff in, it would bail out unable to initialize OpenGL. As to the dedicated target, it don't link any of the OpenGL stuff.
03/20/2005 (6:10 am)
@BenI'm not sure about the distro question. As far as the working OpenGL install.. Well you're not gonna run the non dedicated version on a headless, GPU-less server are you? It wouldn't work in even if you did statically link the stuff in, it would bail out unable to initialize OpenGL. As to the dedicated target, it don't link any of the OpenGL stuff.
Associate Kyle Carter