i just migreated to linux, and most of my friends, even on internet, use windows. but im gonna try to find someone
i did try to create one for ogre and iris with checkinstall, but with no sucess.
anyway, i did what you told, and commented the fmod line in sound.cpp and discomented the openal one.
also, in Makefile.am, there's not exactly one line for fmod , as theres also one for openal right bellow the fmod line.
as you told me to replace one by another, i understood that it would be better to remove the fmod one. but iris does not install anyway. Here is the output of the compile:
Code:
if g++ -DHAVE_CONFIG_H -I. -I. -I../include -I/usr/include -I/opt/fmod/api/inc -DOGRE_GUI_GLX -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I/usr/include//lua50 -I/usr/include//lua50 -I/usr/local/include/OIS -I/usr/local/include -g -O2 -MT sound_fmod.o -MD -MP -MF ".deps/sound_fmod.Tpo" -c -o sound_fmod.o sound_fmod.cpp; \
then mv -f ".deps/sound_fmod.Tpo" ".deps/sound_fmod.Po"; else rm -f ".deps/sound_fmod.Tpo"; exit 1; fi
sound_fmod.cpp:4:18: error: fmod.h: Arquivo ou diretório inexistente
sound_fmod.cpp:5:25: error: fmod_errors.h: Arquivo ou diretório inexistente
sound_fmod.cpp:253: error: ISO C++ forbids declaration of ‘FSOUND_SAMPLE’ with no type
sound_fmod.cpp:253: error: expected ‘;’ before ‘*’ token
sound_fmod.cpp:255: error: ISO C++ forbids declaration of ‘FSOUND_STREAM’ with no type
sound_fmod.cpp:255: error: expected ‘;’ before ‘*’ token
sound_fmod.cpp: In constructor ‘cSoundSourceFmod::cSoundSourceFmod(cSoundSystemFmod*, const char*)’:
sound_fmod.cpp:41: error: class ‘cSoundSourceFmod’ does not have any field named ‘mpStream’
sound_fmod.cpp:41: error: class ‘cSoundSourceFmod’ does not have any field named ‘mpSample’
sound_fmod.cpp:42: error: ‘mpStream’ was not declared in this scope
sound_fmod.cpp:42: error: ‘FSOUND_2D’ was not declared in this scope
sound_fmod.cpp:42: error: ‘FSOUND_LOOP_OFF’ was not declared in this scope
sound_fmod.cpp:42: error: ‘FSOUND_Stream_Open’ was not declared in this scope
sound_fmod.cpp: In constructor ‘cSoundSourceFmod::cSoundSourceFmod(cSoundSystemFmod*, const char*, int, int, int, int)’:
sound_fmod.cpp:46: error: class ‘cSoundSourceFmod’ does not have any field named ‘mpStream’
sound_fmod.cpp:46: error: class ‘cSoundSourceFmod’ does not have any field named ‘mpSample’
sound_fmod.cpp:48: error: ‘FSOUND_2D’ was not declared in this scope
sound_fmod.cpp:48: error: ‘FSOUND_SIGNED’ was not declared in this scope
sound_fmod.cpp:48: error: ‘FSOUND_LOOP_OFF’ was not declared in this scope
sound_fmod.cpp:52: error: ‘FSOUND_MONO’ was not declared in this scope
sound_fmod.cpp:55: error: ‘FSOUND_STEREO’ was not declared in this scope
sound_fmod.cpp:59: error: ‘FSOUND_8BITS’ was not declared in this scope
sound_fmod.cpp:61: error: ‘FSOUND_16BITS’ was not declared in this scope
sound_fmod.cpp:66: error: ‘mpSample’ was not declared in this scope
sound_fmod.cpp:66: error: ‘FSOUND_FREE’ was not declared in this scope
sound_fmod.cpp:66: error: ‘FSOUND_Sample_Alloc’ was not declared in this scope
sound_fmod.cpp:71: error: ‘FSOUND_Sample_Lock’ was not declared in this scope
sound_fmod.cpp:73: error: ‘FSOUND_Sample_Unlock’ was not declared in this scope
sound_fmod.cpp: In constructor ‘cSoundSourceFmod::cSoundSourceFmod(cSoundSystemFmod*, float, float, float, const char*)’:
sound_fmod.cpp:80: error: class ‘cSoundSourceFmod’ does not have any field named ‘mpStream’
sound_fmod.cpp:80: error: class ‘cSoundSourceFmod’ does not have any field named ‘mpSample’
sound_fmod.cpp:81: error: ‘mpStream’ was not declared in this scope
sound_fmod.cpp:81: error: ‘FSOUND_LOOP_OFF’ was not declared in this scope
sound_fmod.cpp:81: error: ‘FSOUND_HW3D’ was not declared in this scope
sound_fmod.cpp:81: error: ‘FSOUND_Stream_Open’ was not declared in this scope
sound_fmod.cpp: In constructor ‘cSoundSourceFmod::cSoundSourceFmod(cSoundSystemFmod*, float, float, float, const char*, int, int, int, int)’:
sound_fmod.cpp:86: error: class ‘cSoundSourceFmod’ does not have any field named ‘mpStream’
sound_fmod.cpp:86: error: class ‘cSoundSourceFmod’ does not have any field named ‘mpSample’
sound_fmod.cpp:89: error: ‘FSOUND_SIGNED’ was not declared in this scope
sound_fmod.cpp:89: error: ‘FSOUND_LOOP_OFF’ was not declared in this scope
sound_fmod.cpp:89: error: ‘FSOUND_HW3D’ was not declared in this scope
sound_fmod.cpp:94: error: ‘FSOUND_MONO’ was not declared in this scope
sound_fmod.cpp:97: error: ‘FSOUND_STEREO’ was not declared in this scope
sound_fmod.cpp:101: error: ‘FSOUND_8BITS’ was not declared in this scope
sound_fmod.cpp:103: error: ‘FSOUND_16BITS’ was not declared in this scope
sound_fmod.cpp:110: error: ‘mpSample’ was not declared in this scope
sound_fmod.cpp:110: error: ‘FSOUND_FREE’ was not declared in this scope
sound_fmod.cpp:110: error: ‘FSOUND_Sample_Alloc’ was not declared in this scope
sound_fmod.cpp:115: error: ‘FSOUND_Sample_Lock’ was not declared in this scope
sound_fmod.cpp:117: error: ‘FSOUND_Sample_Unlock’ was not declared in this scope
sound_fmod.cpp: In destructor ‘virtual cSoundSourceFmod::~cSoundSourceFmod()’:
sound_fmod.cpp:125: error: ‘mpSample’ was not declared in this scope
sound_fmod.cpp:127: error: ‘FSOUND_Sample_Free’ was not declared in this scope
sound_fmod.cpp:130: error: ‘mpStream’ was not declared in this scope
sound_fmod.cpp:132: error: ‘FSOUND_Stream_Close’ was not declared in this scope
sound_fmod.cpp: In member function ‘virtual const bool cSoundSourceFmod::Play()’:
sound_fmod.cpp:142: error: ‘FSOUND_SetPaused’ was not declared in this scope
sound_fmod.cpp:147: error: ‘mpStream’ was not declared in this scope
sound_fmod.cpp:147: error: ‘FSOUND_FREE’ was not declared in this scope
sound_fmod.cpp:147: error: ‘FSOUND_Stream_Play’ was not declared in this scope
sound_fmod.cpp:148: error: ‘mpSample’ was not declared in this scope
sound_fmod.cpp:148: error: ‘FSOUND_FREE’ was not declared in this scope
sound_fmod.cpp:148: error: ‘FSOUND_PlaySound’ was not declared in this scope
sound_fmod.cpp:153: error: ‘FSOUND_3D_SetAttributes’ was not declared in this scope
sound_fmod.cpp:153: error: ‘FSOUND_GetError’ was not declared in this scope
sound_fmod.cpp:153: error: ‘FMOD_ErrorString’ was not declared in this scope
sound_fmod.cpp: In member function ‘virtual const bool cSoundSourceFmod::IsPlaying()’:
sound_fmod.cpp:163: error: ‘FSOUND_IsPlaying’ was not declared in this scope
sound_fmod.cpp: In member function ‘virtual const bool cSoundSourceFmod::IsPaused()’:
sound_fmod.cpp:168: error: ‘FSOUND_GetPaused’ was not declared in this scope
sound_fmod.cpp: In member function ‘virtual void cSoundSourceFmod::Stop()’:
sound_fmod.cpp:174: error: ‘FSOUND_StopSound’ was not declared in this scope
sound_fmod.cpp: In member function ‘virtual void cSoundSourceFmod::Pause()’:
sound_fmod.cpp:181: error: ‘FSOUND_SetPaused’ was not declared in this scope
sound_fmod.cpp: In member function ‘virtual void cSoundSourceFmod::SetVolume(float)’:
sound_fmod.cpp:187: error: ‘FSOUND_SetVolume’ was not declared in this scope
sound_fmod.cpp: In member function ‘virtual const float cSoundSourceFmod::GetVolume()’:
sound_fmod.cpp:192: error: ‘FSOUND_GetVolume’ was not declared in this scope
sound_fmod.cpp: In member function ‘virtual void cSoundSourceFmod::SetMinMaxDistance(float, float)’:
sound_fmod.cpp:198: error: ‘FSOUND_3D_SetMinMaxDistance’ was not declared in this scope
sound_fmod.cpp: In member function ‘virtual void cSoundSourceFmod::GetMinMaxDistance(float&, float&)’:
sound_fmod.cpp:203: error: ‘FSOUND_3D_GetMinMaxDistance’ was not declared in this scope
sound_fmod.cpp: In member function ‘virtual void cSoundSourceFmod::SetPosition(float, float, float)’:
sound_fmod.cpp:221: error: ‘FSOUND_3D_SetAttributes’ was not declared in this scope
sound_fmod.cpp:221: error: ‘FSOUND_GetError’ was not declared in this scope
sound_fmod.cpp:221: error: ‘FMOD_ErrorString’ was not declared in this scope
sound_fmod.cpp: In member function ‘virtual void cSoundSourceFmod::SetVelocity(float, float, float)’:
sound_fmod.cpp:231: error: ‘FSOUND_3D_SetAttributes’ was not declared in this scope
sound_fmod.cpp:231: error: ‘FSOUND_GetError’ was not declared in this scope
sound_fmod.cpp:231: error: ‘FMOD_ErrorString’ was not declared in this scope
sound_fmod.cpp: In constructor ‘cSoundSystemFmod::cSoundSystemFmod(int, int)’:
sound_fmod.cpp:270: error: ‘FSOUND_MIXER_AUTODETECT’ was not declared in this scope
sound_fmod.cpp:270: error: ‘FSOUND_SetMixer’ was not declared in this scope
sound_fmod.cpp:271: error: ‘FSOUND_SetMinHardwareChannels’ was not declared in this scope
sound_fmod.cpp:272: error: ‘FSOUND_Init’ was not declared in this scope
sound_fmod.cpp: In destructor ‘virtual cSoundSystemFmod::~cSoundSystemFmod()’:
sound_fmod.cpp:278: error: ‘FSOUND_Close’ was not declared in this scope
sound_fmod.cpp: In member function ‘virtual void cSoundSystemFmod::SetListenerPosition(float, float, float)’:
sound_fmod.cpp:286: error: ‘FSOUND_3D_Listener_SetAttributes’ was not declared in this scope
sound_fmod.cpp: In member function ‘virtual void cSoundSystemFmod::SetListenerVelocity(float, float, float)’:
sound_fmod.cpp:294: error: ‘FSOUND_3D_Listener_SetAttributes’ was not declared in this scope
sound_fmod.cpp: In member function ‘virtual void cSoundSystemFmod::Step()’:
sound_fmod.cpp:342: error: ‘FSOUND_Update’ was not declared in this scope
make[1]: ** [sound_fmod.o] Error 1
make[1]: Exiting directory
`/home/gugutz/downloads/iris/src'
make: ** [install-recursive] Error 1