0
0

Hi,

When working on a small game, I started writing the initialization code for FMOD Ex, however, when I try to recompile, I get the following errors

[code:2grbo6ny] FMOD::System *system;
FMOD::Sound *sound;
FMOD::Channel *channel;

void InitFMOD()
{
    FMOD::System_Create(&system);
    system->init(32, FMOD_INIT_NORMAL, 0);
}

[/code:2grbo6ny]

[code:2grbo6ny]sound.o : 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 "void __cdecl Sound::InitFMOD(void)" (?InitFMOD@Sound@@YAXXZ)
sound.o : 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)
[/code:2grbo6ny]

I’m using Code::Blocks with MSVC++ Toolkit 2003. Thanks in advance for any help, if you need more info, just ask.

  • You must to post comments
0
0

I decided to drop Code::Blocks and use VS2005 Express, all is working now. Thanks anyway.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.