[Bf-committers] cmkae build problem with current apricot branch

Kent Mein mein at cs.umn.edu
Wed Sep 17 15:21:49 CEST 2008


In reply to Mathias Panzenb?ck (grosser.meister.morti at gmx.net):

> Because the build of the current yo! frankie demo (v1.2) has library problems
> with fedora 8 I tried to compile the current version of the apricot branch. I
> "configured" using cmake -i but after I set all options to ma liking cmake crashed:
> ...
> Variable Name: YESIAMSTUPID
> Description: Enable execution on 64-bit platforms
> Current Value: OFF
> New Value (Enter to keep current value):
> 
> Please wait while cmake processes CMakeLists.txt files....
> 
> 
> 
> panzi at panzi:~/software/apricot$ echo $?
> 1
> panzi at panzi:~/software/apricot$
> 
> 
> 
> Why am I using cmake instead of scons? Because scons always ends compilation
> with this message:
> ...
> Linking program ==> 'blender'
> /home/panzi/software/apricot/build/linux2/lib/libbf_soundsystem.a(SND_OpenALDevice.o):
> In function `SND_OpenALDevice::LoadSample(STR_String const&, void*, int)':
> SND_OpenALDevice.cpp:(.text+0x10f1): undefined reference to `alutLoadWAVMemory'
> SND_OpenALDevice.cpp:(.text+0x118c): undefined reference to `alutUnloadWAV'
> SND_OpenALDevice.cpp:(.text+0x11bf): undefined reference to `alutLoadWAVFile'
> collect2: ld gab 1 als Ende-Status zur?ck
> scons: *** [/home/panzi/software/apricot/build/linux2/bin/blender] Error 1
> scons: building terminated because of errors.
> panzi at panzi:~/software/apricot/apricot$
> 

This looks like your not linking with libalut
make sure
BF_OPENAL_LIB = "openal alut' in your config file.
and you should be all set.

Kent
-- 
mein at cs.umn.edu
http://www.cs.umn.edu/~mein


More information about the Bf-committers mailing list