Hi, recently learned how to build blender with the help of a great tutorial over at Blender Cookie. Since then I have wanted to build some of blenders branches however I keep running into error problems.
I am trying to build the render25 branch and keep getting this error:
scons: done reading SConscript files.
scons: Building targets …
Compiling ==> ‘AUD_Buffer.cpp’
Compiling ==> ‘AUD_BufferReader.cpp’
intern/audaspace/intern/AUD_BufferReader.cpp: In member function ‘virtual void AUD_BufferReader::seek(int)’:
intern/audaspace/intern/AUD_BufferReader.cpp:47: warning: comparison between signed and unsigned integer expressions
Compiling ==> ‘AUD_C-API.cpp’
Compiling ==> ‘AUD_FileFactory.cpp’
In file included from intern/audaspace/intern/AUD_C-API.cpp:59:
intern/audaspace/SDL/AUD_SDLDevice.h:31:17: error: SDL.h: No such file or directory
In file included from intern/audaspace/intern/AUD_C-API.cpp:63:
intern/audaspace/OpenAL/AUD_OpenALDevice.h:35:19: error: AL/al.h: No such file or directory
intern/audaspace/OpenAL/AUD_OpenALDevice.h:36:20: error: AL/alc.h: No such file or directory
intern/audaspace/intern/AUD_C-API.cpp:73:34: error: libavformat/avformat.h: No such file or directory
In file included from intern/audaspace/intern/AUD_FileFactory.cpp:35:
intern/audaspace/ffmpeg/AUD_FFMPEGReader.h:36:34: error: libavformat/avformat.h: No such file or directory
In file included from intern/audaspace/intern/AUD_FileFactory.cpp:38:
intern/audaspace/sndfile/AUD_SndFileReader.h:33:21: error: sndfile.h: No such file or directory
In file included from intern/audaspace/intern/AUD_FileFactory.cpp:35:
intern/audaspace/ffmpeg/AUD_FFMPEGReader.h:78: error: ISO C++ forbids declaration of ‘AVFormatContext’ with no type
intern/audaspace/ffmpeg/AUD_FFMPEGReader.h:78: error: expected ‘;’ before ‘’ token
intern/audaspace/ffmpeg/AUD_FFMPEGReader.h:88: error: ISO C++ forbids declaration of ‘ByteIOContext’ with no type
intern/audaspace/ffmpeg/AUD_FFMPEGReader.h:88: error: expected ‘;’ before ‘’ token
intern/audaspace/ffmpeg/AUD_FFMPEGReader.h:111: error: ‘AVPacket’ has not been declared
In file included from intern/audaspace/intern/AUD_FileFactory.cpp:38:
intern/audaspace/sndfile/AUD_SndFileReader.h:35: error: ISO C++ forbids declaration of ‘sf_count_t’ with no type
intern/audaspace/sndfile/AUD_SndFileReader.h:35: error: typedef ‘sf_count_t’ is initialized (use typeof instead)
intern/audaspace/sndfile/AUD_SndFileReader.h:35: error: ‘sf_read_f’ was not declared in this scope
intern/audaspace/sndfile/AUD_SndFileReader.h:71: error: ISO C++ forbids declaration of ‘SNDFILE’ with no type
intern/audaspace/sndfile/AUD_SndFileReader.h:71: error: expected ‘;’ before ‘’ token
intern/audaspace/sndfile/AUD_SndFileReader.h:76: error: ‘SF_VIRTUAL_IO’ does not name a type
intern/audaspace/sndfile/AUD_SndFileReader.h:89: error: ‘sf_count_t’ does not name a type
intern/audaspace/sndfile/AUD_SndFileReader.h:90: error: ‘sf_count_t’ does not name a type
intern/audaspace/sndfile/AUD_SndFileReader.h:91: error: ‘sf_count_t’ does not name a type
intern/audaspace/sndfile/AUD_SndFileReader.h:92: error: ‘sf_count_t’ does not name a type
scons: *** [/Users/Matthew/blender-build-render/build/darwin/intern/audaspace/intern/AUD_FileFactory.o] Error 1
In file included from intern/audaspace/intern/AUD_C-API.cpp:59:
intern/audaspace/SDL/AUD_SDLDevice.h:45: error: ‘Uint8’ has not been declared
In file included from intern/audaspace/intern/AUD_C-API.cpp:63:
intern/audaspace/OpenAL/AUD_OpenALDevice.h:49: error: ISO C++ forbids declaration of ‘ALCdevice’ with no type
intern/audaspace/OpenAL/AUD_OpenALDevice.h:49: error: expected ‘;’ before ‘’ token
intern/audaspace/OpenAL/AUD_OpenALDevice.h:54: error: ISO C++ forbids declaration of ‘ALCcontext’ with no type
intern/audaspace/OpenAL/AUD_OpenALDevice.h:54: error: expected ‘;’ before ‘*’ token
intern/audaspace/OpenAL/AUD_OpenALDevice.h:124: error: ‘ALenum’ has not been declared
intern/audaspace/intern/AUD_C-API.cpp: In function ‘void AUD_initOnce()’:
intern/audaspace/intern/AUD_C-API.cpp:96: error: ‘av_register_all’ was not declared in this scope
scons: *** [/Users/Matthew/blender-build-render/build/darwin/intern/audaspace/intern/AUD_C-API.o] Error 1
scons: building terminated because of errors.
I assume that there is a problem with my openal setting or that I don’t have the dependancies for them installed properly but I am not sure what is causing the problem. I’m hoping someone out there will be able to tell me what I’m doing wrong and that it’s not too obvious.
My operating system is OSX 10.6 snow leopard if that is needed at all.
Thanks in advance, any help is appreciated.