Compiling linux package
by fortunatesauce · in Torque Developer Network · 01/11/2007 (11:33 am) · 1 replies
Ran into a little trouble building the linux package, it took some edits to some makefiles and such, i got it working. one of the things i had to do was remove -static ld flags from mk/conf.UNIX.mk
LINK.LIBS.GENERAL = $(LINK.LIBS.VORBIS) -static -Wl,-lGLU -Wl,-dy -L/usr/X11R6/lib -L/usr/lib -lSDL -lpthread -ldl # -lefence
LINK.LIBS.TOOLS = $(LINK.LIBS.VORBIS) -static -Wl,-lGLU -Wl,-dy -L/usr/X11R6/lib -L/usr/lib -lSDL -lpthread -ldl # -lefence
now the comment in the file claims that statically linking GLU is necessary. but i couldnt do the linking b/c i dont have static gl libs, and upon trying to obtain some, couldnt find any. and all of the net seems to think it would be odd to want to statically link GLU and sees no reason to do so.
the engine appears to be functioning properly for me (without -static linking libGLU).
is this perhaps an artifact from some older version? is it necessary? if so, anyone know where one
can get his hands on some static GL libs?
LINK.LIBS.GENERAL = $(LINK.LIBS.VORBIS) -static -Wl,-lGLU -Wl,-dy -L/usr/X11R6/lib -L/usr/lib -lSDL -lpthread -ldl # -lefence
LINK.LIBS.TOOLS = $(LINK.LIBS.VORBIS) -static -Wl,-lGLU -Wl,-dy -L/usr/X11R6/lib -L/usr/lib -lSDL -lpthread -ldl # -lefence
now the comment in the file claims that statically linking GLU is necessary. but i couldnt do the linking b/c i dont have static gl libs, and upon trying to obtain some, couldnt find any. and all of the net seems to think it would be odd to want to statically link GLU and sees no reason to do so.
the engine appears to be functioning properly for me (without -static linking libGLU).
is this perhaps an artifact from some older version? is it necessary? if so, anyone know where one
can get his hands on some static GL libs?
Torque Owner Benoit Touchette