Code: Select all
------ Build started: Project: MCG, Configuration: Debug Win32 ------
Compiling...
main.cpp
Linking...
main.obj : error LNK2019: unresolved external symbol "public: void __thiscall SoundManager::PlaySoundA(int,class Ogre::SceneNode *,int *)" (?PlaySoundA@SoundManager@@QAEXHPAVSceneNode@Ogre@@PAH@Z) referenced in function _main
SoundManager.obj : error LNK2019: unresolved external symbol _FMOD_System_Create 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 __thiscall FMOD::Channel::set3DAttributes(struct FMOD_VECTOR const *,struct FMOD_VECTOR const *)" (?set3DAttributes@Channel@FMOD@@QAE?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 __thiscall FMOD::System::getChannel(int,class FMOD::Channel * *)" (?getChannel@System@FMOD@@QAE?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 __thiscall FMOD::System::update(void)" (?update@System@FMOD@@QAE?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 __thiscall FMOD::System::set3DListenerAttributes(int,struct FMOD_VECTOR const *,struct FMOD_VECTOR const *,struct FMOD_VECTOR const *,struct FMOD_VECTOR const *)" (?set3DListenerAttributes@System@FMOD@@QAE?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 __thiscall FMOD::Channel::set3DMinMaxDistance(float,float)" (?set3DMinMaxDistance@Channel@FMOD@@QAE?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 __thiscall FMOD::Channel::stop(void)" (?stop@Channel@FMOD@@QAE?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 __thiscall FMOD::System::setFileSystem(enum FMOD_RESULT (__cdecl*)(char const *,int,unsigned int *,void * *,void * *),enum FMOD_RESULT (__cdecl*)(void *,void *),enum FMOD_RESULT (__cdecl*)(void *,void *,unsigned int,unsigned int *,void *),enum FMOD_RESULT (__cdecl*)(void *,unsigned int,void *),int)" (?setFileSystem@System@FMOD@@QAE?AW4FMOD_RESULT@@P6A?AW43@PBDHPAIPAPAX2@ZP6A?AW43@PAX4@ZP6A?AW43@44I14@ZP6A?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 __thiscall FMOD::System::set3DSettings(float,float,float)" (?set3DSettings@System@FMOD@@QAE?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 __thiscall FMOD::System::init(int,unsigned int,void *)" (?init@System@FMOD@@QAE?AW4FMOD_RESULT@@HIPAX@Z) referenced in function "public: void __thiscall SoundManager::Initialize(void)" (?Initialize@SoundManager@@QAEXXZ)
SoundManager.obj : error LNK2019: unresolved external symbol "public: enum FMOD_RESULT __thiscall FMOD::System::release(void)" (?release@System@FMOD@@QAE?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 __thiscall FMOD::Channel::setPaused(bool)" (?setPaused@Channel@FMOD@@QAE?AW4FMOD_RESULT@@_N@Z) referenced in function "public: void __thiscall SoundManager::PlaySound(int,class Ogre::SceneNode *,int *)" (?PlaySound@SoundManager@@QAEXHPAVSceneNode@Ogre@@PAH@Z)
SoundManager.obj : error LNK2019: unresolved external symbol "public: enum FMOD_RESULT __thiscall FMOD::Channel::setVolume(float)" (?setVolume@Channel@FMOD@@QAE?AW4FMOD_RESULT@@M@Z) referenced in function "public: void __thiscall SoundManager::PlaySound(int,class Ogre::SceneNode *,int *)" (?PlaySound@SoundManager@@QAEXHPAVSceneNode@Ogre@@PAH@Z)
SoundManager.obj : error LNK2019: unresolved external symbol "public: enum FMOD_RESULT __thiscall FMOD::Channel::getIndex(int *)" (?getIndex@Channel@FMOD@@QAE?AW4FMOD_RESULT@@PAH@Z) referenced in function "public: void __thiscall SoundManager::PlaySound(int,class Ogre::SceneNode *,int *)" (?PlaySound@SoundManager@@QAEXHPAVSceneNode@Ogre@@PAH@Z)
SoundManager.obj : error LNK2019: unresolved external symbol "public: enum FMOD_RESULT __thiscall FMOD::System::playSound(enum FMOD_CHANNELINDEX,class FMOD::Sound *,bool,class FMOD::Channel * *)" (?playSound@System@FMOD@@QAE?AW4FMOD_RESULT@@W4FMOD_CHANNELINDEX@@PAVSound@2@_NPAPAVChannel@2@@Z) referenced in function "public: void __thiscall SoundManager::PlaySound(int,class Ogre::SceneNode *,int *)" (?PlaySound@SoundManager@@QAEXHPAVSceneNode@Ogre@@PAH@Z)
SoundManager.obj : error LNK2019: unresolved external symbol "public: enum FMOD_RESULT __thiscall FMOD::Channel::isPlaying(bool *)" (?isPlaying@Channel@FMOD@@QAE?AW4FMOD_RESULT@@PA_N@Z) referenced in function "public: void __thiscall SoundManager::PlaySound(int,class Ogre::SceneNode *,int *)" (?PlaySound@SoundManager@@QAEXHPAVSceneNode@Ogre@@PAH@Z)
SoundManager.obj : error LNK2019: unresolved external symbol "public: enum FMOD_RESULT __thiscall FMOD::Sound::getLength(unsigned int *,unsigned int)" (?getLength@Sound@FMOD@@QAE?AW4FMOD_RESULT@@PAII@Z) referenced in function "public: float __thiscall SoundManager::GetSoundLength(int)" (?GetSoundLength@SoundManager@@QAEMH@Z)
SoundManager.obj : error LNK2019: unresolved external symbol "public: enum FMOD_RESULT __thiscall FMOD::System::createStream(char const *,unsigned int,struct FMOD_CREATESOUNDEXINFO *,class FMOD::Sound * *)" (?createStream@System@FMOD@@QAE?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 __thiscall FMOD::System::createSound(char const *,unsigned int,struct FMOD_CREATESOUNDEXINFO *,class FMOD::Sound * *)" (?createSound@System@FMOD@@QAE?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)
..\bin\Debug\MCG.exe : fatal error LNK1120: 20 unresolved externals
Build log was saved at "file://f:\playground\MCG\Debug\BuildLog.htm"
MCG - 21 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========