opdenkamp/xbmc — comment on commit 052563898c7a46ed41e8ff34219be2fe9e9ede8b
File:  line 0
By TheChief79:

When i try to compile under OSX with XCode, i get the following error, maybe this has something todo with the changes.

CompileC build/XBMC.build/Release/XBMC.build/Objects-normal/i386/AudioRendererFactory.o xbmc/cores/AudioRenderers/AudioRendererFactory.cpp normal i386 c++ com.apple.compilers.gcc.4_0
cd /Users/xxx/xbmc
setenv LANG en_US.US-ASCII
/Developer/usr/bin/gcc-4.0 -x c++ -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -O2 -Wreturn-type -Wunused-variable -Wsign-compare -DTARGET_POSIX -DTARGET_DARWIN -DTARGET_DARWIN_OSX -D_LINUX -D_REENTRANT -D_FILE_DEFINED -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -DHAS_SDL_JOYSTICK -DHAVE_CONFIG_H -DHAS_SPC_CODEC -isysroot /Developer/SDKs/MacOSX10.4u.sdk -funroll-loops -ftree-vectorize -mmacosx-version-min=10.4 -gdwarf-2 -I/Users/xxx/xbmc/build/XBMC.build/Release/XBMC.build/XBMC.hmap -F/Users/xxx/xbmc/build/Release -I/Users/Shared/xbmc-depends/osx-10.4_i386/include -I/Users/Shared/xbmc-depends/osx-10.4_i386/include/libcec -I/Users/Shared/xbmc-depends/osx-10.4_i386/include/mysql -I/Users/Shared/xbmc-depends/osx-10.4_i386/include/freetype2 -I/Users/Shared/xbmc-depends/osx-10.4_i386/include/python2.6 -I/Users/xxx/xbmc/build/Release/include -I/Users/xxx/xbmc -Ixbmc -Ixbmc/osx -Ixbmc/linux -Ixbmc/cores/dvdplayer -Ilib -Ilib/ffmpeg -I/Users/Shared/xbmc-depends/osx-10.4_i386/include -I/Users/Shared/xbmc-depends/osx-10.4_i386/include/libcec -I/Users/Shared/xbmc-depends/osx-10.4_i386/include/mysql -I/Users/Shared/xbmc-depends/osx-10.4_i386/include/freetype2 -I/Users/Shared/xbmc-depends/osx-10.4_i386/include/python2.6 -I/Users/xxx/xbmc/build/XBMC.build/Release/XBMC.build/DerivedSources/i386 -I/Users/xxx/xbmc/build/XBMC.build/Release/XBMC.build/DerivedSources -c /Users/xxx/xbmc/xbmc/cores/AudioRenderers/AudioRendererFactory.cpp -o /Users/xxx/xbmc/build/XBMC.build/Release/XBMC.build/Objects-normal/i386/AudioRendererFactory.o

/Users/xxx/xbmc/xbmc/cores/AudioRenderers/AudioRendererFactory.cpp: In static member function 'static IAudioRenderer* CAudioRendererFactory::Create(IAudioCallback*, int, PCMChannels*, unsigned int, unsigned int, bool, bool, IAudioRenderer::EEncoded)':
/Users/xxx/xbmc/xbmc/cores/AudioRenderers/AudioRendererFactory.cpp:152: error: cannot allocate an object of abstract type 'CCoreAudioRenderer'
/Users/xxx/xbmc/xbmc/cores/AudioRenderers/CoreAudioRenderer.h:122: note: because the following virtual functions are pure within 'CCoreAudioRenderer':
/Users/xxx/xbmc/xbmc/cores/AudioRenderers/IAudioRenderer.h:55: note: virtual bool IAudioRenderer::Initialize(IAudioCallback*, const CStdString&, int, PCMChannels*, unsigned int, unsigned int, bool, bool, IAudioRenderer::EEncoded)
/Users/xxx/xbmc/xbmc/cores/AudioRenderers/AudioRendererFactory.cpp: In static member function 'static IAudioRenderer* CAudioRendererFactory::CreateFromUri(const CStdString&, CStdString&)':
/Users/xxx/xbmc/xbmc/cores/AudioRenderers/AudioRendererFactory.cpp:204: error: cannot allocate an object of abstract type 'CCoreAudioRenderer'
/Users/xxx/xbmc/xbmc/cores/AudioRenderers/CoreAudioRenderer.h:122: note: since type 'CCoreAudioRenderer' has pure virtual functions

Any ideas how to fix?