[Bf-committers] OpenAL OSX Intel + cmake build questions
blender at erwincoumans.com
blender at erwincoumans.com
Fri May 15 19:00:30 CEST 2009
Hi Ken,
(sorry, but I rather reply on the public list, because it is not a private
issue.)
I just want to build Blender on OSX using CMake, and alut/OpenAL errors
prevent this. I don't understand the answers, can you try it again?
0) which version of OpenAL should be used, and where can it be downloaded
exactly? I don't know what 'darwin-9.7.0-i386' means, but I expected some
version number of OpenAL, and the answer: built-in OpenAL or 'downloaded and
build from openal.org'
1) can you clarify what do you mean by 'consolidated'?
2) I don't need a prebuild binary, I need to build Blender myself, using
CMake. So again: is there any CMake flag, that builds Blender without
OpenAL?
Right now, I'm using
cmake ../blender -G Xcode
Thanks a lot,
Erwin
Ken Hursh writes:
> Hi Erwin,
>
> My apologies for writing you directly, but this seems to be a small matter
> for osxintel users, so... ;)
>
> First, I uploaded a modified patch for the alut issues about a week ago, and
> Brecht committed to svn earlier today. That said, I've been able to build
> with both make and scons (though scons, for some reason, has to be built
> with staticopenal...will look into this further).
>
> I tried to build with cmake yesterday (I haven't used cmake since I switched
> from ppc - just haven't been able to get it to work consistently on intel),
> but to no avail. Looking over the cmake script, I found some glaring issues
> - I'll have to tinker around with it when I get some time. Are you able to
> build with cmake out-of-the-box (other than the OpenAL stuff)?
>
> re: 0) I've built & tested with clean checkouts of trunk. Only thing I've
> done on my end was to move all darwin libs to one consolidated folder (in my
> case, darwin-9.7.0-i386) and reflected the change in the scripts
>
> 1) They're there :) just not consolidated correctly, imo.
>
> 2) If you want to checkout bge with audio, you can take a quick peek at a
> build I threw up on graphicall last night :
> http://graphicall.org/builds/builds/showbuild.php?action=show&id=997
>
> I don't know if it will make it into rc3, but hopefully will make it in the
> final (I haven't had any bad reports yet :)
>
> Cheers,
> Ken (inazuma)
>
> On Tue, May 12, 2009 at 8:19 AM, <blender at erwincoumans.com> wrote:
>
>>
>> Blender doesn't compile on Mac OSX Intel, when using cmake, without further
>> flags. It seems OpenAL fix breaks the build.
>>
>>
>> 0) what version of OpenAL is required by default, when using cmake on OSX
>> Intel without further flags?
>>
>> 1) can we include/lib files for the OpenAL library be added in the
>> blender/lib/darwin-8.x.i386 folder?
>>
>> 2) if (1) is not possible, can we just disable sound by default on OSX,
>> unless some flag is set? that way, Blender builds without errors out-of-the
>> box.
>>
>> Thanks,
>> Erwin
>>
>>
>>
>>
>> /Users/erwinjcoumans/develop/blender/blender/intern/SoundSystem/openal/SND_O
>> penALDevice.cpp:46:18: error: alut.h: No such file or directory
>>
>> /Users/erwinjcoumans/develop/blender/blender/intern/SoundSystem/openal/SND_O
>> penALDevice.cpp:228: error: 'alutInit' was not declared in this scope
>>
>> /Users/erwinjcoumans/develop/blender/blender/intern/SoundSystem/openal/SND_O
>> penALDevice.cpp:380: error: 'alutExit' was not declared in this scope
>>
>> /Users/erwinjcoumans/develop/blender/blender/intern/SoundSystem/openal/SND_O
>> penALDevice.cpp:441: error: 'alutLoadWAVMemory' was not declared in this
>> scope
>>
>> /Users/erwinjcoumans/develop/blender/blender/intern/SoundSystem/openal/SND_O
>> penALDevice.cpp:459: error: 'alutLoadWAVFile' was not declared in this
>> scope
>>
>> /Users/erwinjcoumans/develop/blender/blender/intern/SoundSystem/openal/SND_O
>> penALDevice.cpp:490: error: 'alutUnloadWAV' was not declared in this scope
>>
>>
>> _______________________________________________
>> Bf-committers mailing list
>> Bf-committers at blender.org
>> http://lists.blender.org/mailman/listinfo/bf-committers
>>
More information about the Bf-committers
mailing list