[Bf-committers] Clues about OpenAL linking issue

GSR gsr.b3d at infernal-iceberg.com
Thu Oct 20 19:41:57 CEST 2005


Hi:

Mika found he had to link with "libvorbisfile.a libvorbis.a liboff.a
libasound.a -lartsc and -lesd" in a FC4. I converted that to the
attached patch and got it going in a Debian. Dunno if it will work for
all distros, but it is a step.

GSR
 
-------------- next part --------------
Index: source/nan_link.mk
===================================================================
RCS file: /cvsroot/bf-blender/blender/source/nan_link.mk,v
retrieving revision 1.26
diff -u -p -r1.26 nan_link.mk
--- nan_link.mk 18 Sep 2005 11:19:53 -0000      1.26
+++ nan_link.mk 20 Oct 2005 17:08:43 -0000
@@ -102,6 +102,7 @@ ifeq ($(OS),linux)
     LLIBS = -L$(NAN_MESA)/lib -L/usr/X11R6/lib -lXmu -lXext -lX11 -lXi
     LLIBS += -lutil -lc -lm -ldl -lpthread
 #    LLIBS += -L$(NAN_ODE)/lib -lode
+	LLIBS += -lesd -lartsc -lasound -lvorbis -lvorbisfile -logg -lsmpeg
     LOPTS = -export-dynamic
     DADD = -lGL -lGLU
     SADD = $(NAN_MESA)/lib/libGL.a $(NAN_MESA)/lib/libGLU.a



More information about the Bf-committers mailing list