Hi, I found the same thing at 2005-08-12, and I put a simple patch at
http://projects.blender.org/tracker/index.php?func=detail&aid=2927&group_id=9&atid=127

And this is a Blender Leader's reply:

Date: 2005-08-14 14:13
Sender: ton
Logged In: YES
user_id=103

Hi,

Can you give a description of what actually is proposed to work?
In my understanding, we only link with the OpenAL we have in our CVS
lib directory...

Since Blender Foundation prefer compile blender use extern lib in
their CVS lib, so they doesn't care this. It seems that opanal's API
had some changes.

I don't know how Debian do this, use openal in blender's source or
Debian's openal package? If second, your patch is necessary.

And I have another question: where is Blender 2.37a in Debian?

2005/8/17, Matt Kraai <[EMAIL PROTECTED]>:
> Package: blender
> Version: 2.36-1
> Severity: serious
> Tags: patch
> 
> blender fails to build because there are some invalid conversions and
> a call of an undeclared function:
> 
> > g++ -pipe -funsigned-char -O2 -Wall -W -DGAMEBLENDER=1 -DUSE_SUMO_SOLID 
> > -DNDEBUG -Ibuild/linux2/intern/SoundSystem -Iintern/SoundSystem 
> > -Iintern/SoundSystem -Ibuild/linux2/intern/SoundSystem/intern 
> > -Iintern/SoundSystem/intern -Iintern/SoundSystem/intern 
> > -Ibuild/linux2/intern/moto/include -Iintern/moto/include 
> > -Iintern/moto/include -Ibuild/linux2/intern/string -Iintern/string 
> > -Iintern/string -Ibuild/linux2/intern/SoundSystem/dummy 
> > -Iintern/SoundSystem/dummy -Iintern/SoundSystem/dummy 
> > -Ibuild/linux2/intern/SoundSystem/openal -Iintern/SoundSystem/openal 
> > -Iintern/SoundSystem/openal -Ibuild/linux2/intern/SoundSystem/sdl 
> > -Iintern/SoundSystem/sdl -Iintern/SoundSystem/sdl -I/usr/include 
> > -I/usr/include/SDL -c -o 
> > build/linux2/intern/SoundSystem/openal/SND_OpenALDevice.o 
> > intern/SoundSystem/openal/SND_OpenALDevice.cpp
> > intern/SoundSystem/openal/SND_OpenALDevice.cpp: In member function 'virtual 
> > SND_WaveSlot* SND_OpenALDevice::LoadSample(const STR_String&, void*, int)':
> > intern/SoundSystem/openal/SND_OpenALDevice.cpp:426: error: invalid 
> > conversion from 'signed char*' to 'ALbyte*'
> > intern/SoundSystem/openal/SND_OpenALDevice.cpp:426: error:   initializing 
> > argument 1 of 'void alutLoadWAVMemory(ALbyte*, ALenum*, ALvoid**, ALsizei*, 
> > ALsizei*, ALboolean*)'
> > intern/SoundSystem/openal/SND_OpenALDevice.cpp:441: error: 'alutLoadWAV' 
> > was not declared in this scope
> > intern/SoundSystem/openal/SND_OpenALDevice.cpp: At global scope:
> > intern/SoundSystem/openal/SND_OpenALDevice.cpp:505: warning: unused 
> > parameter 'rollofffactor'
> > intern/SoundSystem/openal/SND_OpenALDevice.cpp:680: warning: unused 
> > parameter 'id'
> > intern/SoundSystem/openal/SND_OpenALDevice.cpp:680: warning: unused 
> > parameter 'loopstart'
> > intern/SoundSystem/openal/SND_OpenALDevice.cpp:680: warning: unused 
> > parameter 'loopend'
> > intern/SoundSystem/openal/SND_OpenALDevice.cpp:732: warning: unused 
> > parameter 'orientation'
> > intern/SoundSystem/openal/SND_OpenALDevice.cpp:732: warning: unused 
> > parameter 'lisposition'
> 
> The attached patch, extracted from upstream, fixes these problems by
> fixing the conversions and using alutLoadWAVFile instead of
> alutLoadWAV.
> 
> --
> Matt
> 
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (GNU/Linux)
> 
> iD8DBQFDAn+UfNdgYxVXvBARAuYPAJ90tLPALyo963d4KSOy0WM8wv5F4wCfcG0W
> SE96Ln8/ZPDIF01REys2HoQ=
> =VFDl
> -----END PGP SIGNATURE-----
> 
> 
> 
> 


-- 
(setq reply-to
  (concatenate 'string "Binghe " "<tianchunbinghe" '(#\@) "gmail.com>"))

Reply via email to