0
0

Hi all..
I don’t know if anyone is using Ogre (according to some posts I saw there are a couple of people).
I try to implement a simple ambient sound field in a walkthrough I am currently making. I get the following error when debugging.

[code:2ljhlyhi]SoundManager.obj : error LNK2019: unresolved external symbol "public: enum FMOD_RESULT __stdcall FMOD::System::release(void)" (?release@System@FMOD@@QAG?AW4FMOD_RESULT@@XZ) referenced in function "public: virtual __thiscall SoundManager::~SoundManager(void)" (??1SoundManager@@UAE@XZ)
SoundManager.obj : error LNK2019: unresolved external symbol "public: enum FMOD_RESULT __stdcall FMOD::System::setFileSystem(enum FMOD_RESULT (__stdcall)(char const *,int,unsigned int *,void * *,void * *),enum FMOD_RESULT (__stdcall)(void ,void *),enum FMOD_RESULT (__stdcall)(void ,void *,unsigned int,unsigned int *,void *),enum FMOD_RESULT (__stdcall)(void *,unsigned int,void *),int)" (?setFileSystem@System@FMOD@@QAG?AW4FMOD_RESULT@@P6G?AW43@PBDHPAIPAPAX2@ZP6G?AW43@PAX4@ZP6G?AW43@44I14@ZP6G?AW43@4I4@ZH@Z) referenced in function "public: void __thiscall SoundManager::Initialize(void)" (?Initialize@SoundManager@@QAEXXZ)
SoundManager.obj : error LNK2019: unresolved external symbol "public: enum FMOD_RESULT __stdcall FMOD::System::set3DSettings(float,float,float)" (?set3DSettings@System@FMOD@@QAG?AW4FMOD_RESULT@@MMM@Z) referenced in function "public: void __thiscall SoundManager::Initialize(void)" (?Initialize@SoundManager@@QAEXXZ)
SoundManager.obj : error LNK2019: unresolved external symbol "public: enum FMOD_RESULT __stdcall FMOD::System::init(int,unsigned int,void *)" (?init@System@FMOD@@QAG?AW4FMOD_RESULT@@HIPAX@Z) referenced in function "public: void __thiscall SoundManager::Initialize(void)" (?Initialize@SoundManager@@QAEXXZ)
SoundManager.obj : error LNK2019: unresolved external symbol _FMOD_System_Create@4 referenced in function "enum FMOD_RESULT __cdecl FMOD::System_Create(class FMOD::System * *)" (?System_Create@FMOD@@YA?AW4FMOD_RESULT@@PAPAVSystem@1@@Z)
SoundManager.obj : error LNK2019: unresolved external symbol "public: enum FMOD_RESULT __stdcall FMOD::Channel::set3DAttributes(struct FMOD_VECTOR const *,struct FMOD_VECTOR const *)" (?set3DAttributes@Channel@FMOD@@QAG?AW4FMOD_RESULT@@PBUFMOD_VECTOR@@0@Z) referenced in function "public: void __thiscall SoundManager::FrameStarted(class Ogre::SceneNode *,float)" (?FrameStarted@SoundManager@@QAEXPAVSceneNode@Ogre@@M@Z)
SoundManager.obj : error LNK2019: unresolved external symbol "public: enum FMOD_RESULT __stdcall FMOD::System::getChannel(int,class FMOD::Channel * *)" (?getChannel@System@FMOD@@QAG?AW4FMOD_RESULT@@HPAPAVChannel@2@@Z) referenced in function "public: void __thiscall SoundManager::FrameStarted(class Ogre::SceneNode *,float)" (?FrameStarted@SoundManager@@QAEXPAVSceneNode@Ogre@@M@Z)
SoundManager.obj : error LNK2019: unresolved external symbol "public: enum FMOD_RESULT __stdcall FMOD::System::update(void)" (?update@System@FMOD@@QAG?AW4FMOD_RESULT@@XZ) referenced in function "public: void __thiscall SoundManager::FrameStarted(class Ogre::SceneNode *,float)" (?FrameStarted@SoundManager@@QAEXPAVSceneNode@Ogre@@M@Z)
SoundManager.obj : error LNK2019: unresolved external symbol "public: enum FMOD_RESULT __stdcall FMOD::System::set3DListenerAttributes(int,struct FMOD_VECTOR const *,struct FMOD_VECTOR const *,struct FMOD_VECTOR const *,struct FMOD_VECTOR const *)" (?set3DListenerAttributes@System@FMOD@@QAG?AW4FMOD_RESULT@@HPBUFMOD_VECTOR@@000@Z) referenced in function "public: void __thiscall SoundManager::FrameStarted(class Ogre::SceneNode *,float)" (?FrameStarted@SoundManager@@QAEXPAVSceneNode@Ogre@@M@Z)
SoundManager.obj : error LNK2019: unresolved external symbol "public: enum FMOD_RESULT __stdcall FMOD::System::createStream(char const *,unsigned int,struct FMOD_CREATESOUNDEXINFO *,class FMOD::Sound * *)" (?createStream@System@FMOD@@QAG?AW4FMOD_RESULT@@PBDIPAUFMOD_CREATESOUNDEXINFO@@PAPAVSound@2@@Z) referenced in function "public: int __thiscall SoundManager::CreateSound(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &,enum SOUND_TYPE)" (?CreateSound@SoundManager@@QAEHAAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@W4SOUND_TYPE@@@Z)
SoundManager.obj : error LNK2019: unresolved external symbol "public: enum FMOD_RESULT __stdcall FMOD::System::createSound(char const *,unsigned int,struct FMOD_CREATESOUNDEXINFO *,class FMOD::Sound * *)" (?createSound@System@FMOD@@QAG?AW4FMOD_RESULT@@PBDIPAUFMOD_CREATESOUNDEXINFO@@PAPAVSound@2@@Z) referenced in function "public: int __thiscall SoundManager::CreateSound(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &,enum SOUND_TYPE)" (?CreateSound@SoundManager@@QAEHAAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@W4SOUND_TYPE@@@Z)
SoundManager.obj : error LNK2019: unresolved external symbol "public: enum FMOD_RESULT __stdcall FMOD::Channel::setPaused(bool)" (?setPaused@Channel@FMOD@@QAG?AW4FMOD_RESULT@@_N@Z) referenced in function "public: void __thiscall SoundManager::PlaySoundA(int,class Ogre::SceneNode *,int *)" (?PlaySoundA@SoundManager@@QAEXHPAVSceneNode@Ogre@@PAH@Z)
SoundManager.obj : error LNK2019: unresolved external symbol "public: enum FMOD_RESULT __stdcall FMOD::Channel::setVolume(float)" (?setVolume@Channel@FMOD@@QAG?AW4FMOD_RESULT@@M@Z) referenced in function "public: void __thiscall SoundManager::PlaySoundA(int,class Ogre::SceneNode *,int *)" (?PlaySoundA@SoundManager@@QAEXHPAVSceneNode@Ogre@@PAH@Z)
SoundManager.obj : error LNK2019: unresolved external symbol "public: enum FMOD_RESULT __stdcall FMOD::Channel::getIndex(int *)" (?getIndex@Channel@FMOD@@QAG?AW4FMOD_RESULT@@PAH@Z) referenced in function "public: void __thiscall SoundManager::PlaySoundA(int,class Ogre::SceneNode *,int *)" (?PlaySoundA@SoundManager@@QAEXHPAVSceneNode@Ogre@@PAH@Z)
SoundManager.obj : error LNK2019: unresolved external symbol "public: enum FMOD_RESULT __stdcall FMOD::System::playSound(enum FMOD_CHANNELINDEX,class FMOD::Sound *,bool,class FMOD::Channel * *)" (?playSound@System@FMOD@@QAG?AW4FMOD_RESULT@@W4FMOD_CHANNELINDEX@@PAVSound@2@_NPAPAVChannel@2@@Z) referenced in function "public: void __thiscall SoundManager::PlaySoundA(int,class Ogre::SceneNode *,int *)" (?PlaySoundA@SoundManager@@QAEXHPAVSceneNode@Ogre@@PAH@Z)
SoundManager.obj : error LNK2019: unresolved external symbol "public: enum FMOD_RESULT __stdcall FMOD::Channel::isPlaying(bool *)" (?isPlaying@Channel@FMOD@@QAG?AW4FMOD_RESULT@@PA_N@Z) referenced in function "public: void __thiscall SoundManager::PlaySoundA(int,class Ogre::SceneNode *,int *)" (?PlaySoundA@SoundManager@@QAEXHPAVSceneNode@Ogre@@PAH@Z)
SoundManager.obj : error LNK2019: unresolved external symbol "public: enum FMOD_RESULT __stdcall FMOD::Channel::set3DMinMaxDistance(float,float)" (?set3DMinMaxDistance@Channel@FMOD@@QAG?AW4FMOD_RESULT@@MM@Z) referenced in function "public: void __thiscall SoundManager::Set3DMinMaxDistance(int,float,float)" (?Set3DMinMaxDistance@SoundManager@@QAEXHMM@Z)
SoundManager.obj : error LNK2019: unresolved external symbol "public: enum FMOD_RESULT __stdcall FMOD::Channel::stop(void)" (?stop@Channel@FMOD@@QAG?AW4FMOD_RESULT@@XZ) referenced in function "public: void __thiscall SoundManager::StopAllSounds(void)" (?StopAllSounds@SoundManager@@QAEXXZ)
SoundManager.obj : error LNK2019: unresolved external symbol "public: enum FMOD_RESULT __stdcall FMOD::Sound::getLength(unsigned int *,unsigned int)" (?getLength@Sound@FMOD@@QAG?AW4FMOD_RESULT@@PAII@Z) referenced in function "public: float __thiscall SoundManager::GetSoundLength(int)" (?GetSoundLength@SoundManager@@QAEMH@Z)[/code:2ljhlyhi]

I have no idea whatsoever of what to do. I use an mp3 file and the
SoundManager cpp and header that comes with the Ogre WIki tutorial.
I have just implemented the basic functions. (Play looped sound)

:roll: any ideas?

  • You must to post comments
0
0
  1. wrong forum
  2. you are probably not using msvc which in the fmod ex forum has a big thread stuck right at the top explaining the situation.
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.