[Bf-committers] Re: [Bf-blender-cvs] Blender build question (openal)

Kester Maddock bf-committers@blender.org
Tue, 5 Aug 2003 23:28:45 +1200


Peter,

It looks like it can't find libopenal.  If you installed openal after running 
./configure, try running configure again, or look in config.log to see why 
the openal test failed.

You can also give configure a hint as to where to find libraries:
CPPFLAGS=-I/path/to/openal/include LDFLAGS=-L/path/to/openal/lib 
../blender-2.28/configure
(all on one line.)

The tail of the make process is good, however, the important error messages 
are the first ones, ie after the lines that start with gcc.

Kester

On Sun, 03 Aug 2003 6:09, pw wrote:
> Hello,
>
> I have the blender source from the tarfile for the 2.28 version.
> The build complains when it gets to the SND_ (sound library) stuff.
>
> I have a build of openal on my machine from openal.org. There are
> links in my lib and include paths to AL.
>
> What else am I missing?
>
> There is a dump of the tail from the make process below.
>
> Thanks for any  help.
>
> Peter
>
>
> /blender28/blender-2.28/intern/SoundSystem/openal/SND_OpenALDevice.cpp:624:
> undefined reference to `alSourcef'
> intern/SoundSystem/.libs/libsoundsystem.al(SND_OpenALDevice.lo): In
> function `SND_OpenALDevice::ObjectIs2D(int) const':
> /blender28/blender-2.28/intern/SoundSystem/openal/SND_OpenALDevice.cpp:635:
> undefined reference to `alSourcefv'
> /blender28/blender-2.28/intern/SoundSystem/openal/SND_OpenALDevice.cpp:636:
> undefined reference to `alSourcefv'
> intern/SoundSystem/.libs/libsoundsystem.al(SND_OpenALDevice.lo): In
> function `SND_OpenALDevice::SetObjectTransform(int, MT_Vector3 const &,
> MT_Vector3 const &, MT_Matrix3x3 const &, MT_Vector3 const &, double const
> &) const':
> /blender28/blender-2.28/intern/SoundSystem/openal/SND_OpenALDevice.cpp:655:
> undefined reference to `alSourcefv' collect2: ld returned 1 exit status
> make[2]: *** [blender] Error 1
> make[2]: Leaving directory `/blender28/blender-2.28'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/blender28/blender-2.28'
> make: *** [all] Error 2
> [blender-2.28]#
>
>
>
> _______________________________________________
> Bf-blender-cvs mailing list
> Bf-blender-cvs@blender.org
> http://www.blender.org/mailman/listinfo/bf-blender-cvs