[Bf-committers] CMake link problem
Stephen Swaney
sswaney at centurytel.net
Wed Jul 25 15:46:06 CEST 2007
On Wed, Jul 25, 2007 at 10:57:21AM +0200, Hans Lambermont wrote:
> Hi all,
>
> This must be easy to fix :
>
> [100%] Building C object source/creator/CMakeFiles/blender.dir/dna.o
> Linking C executable ../../bin/blender
> lib/libbf_soundsystem.a(SND_OpenALDevice.o)(.text+0xbef): In function `SND_OpenALDevice::LoadSample(STR_String const&, void*, int)':
> : undefined reference to `alutLoadWAVMemory'
>
> And the same for:
> : undefined reference to `alutLoadWAVFile'
> : undefined reference to `alutUnloadWAV'
> *** Error code 1
>
> Anyone ?
>
> System: CMake, FreeBSD 6.2-RELEASE, svn-blender/2-44-stable
Some loonix distros need libalut added to the link libs. Maybe
the same issue here? From the scons linux2-config.py:
# some distros have a separate libalut
# if you get linker complaints, you need to uncomment the line below
# BF_OPENAL_LIB = 'openal alut'
--
Stephen Swaney
sswaney at centurytel.net
More information about the Bf-committers
mailing list