0
0

Hello,
I’ve got problem.
I try to compile code like this
[code:3dv2ert8]

include <fmod/fmod.hpp>

include <fmod/fmod_errors.h>

void ERRCHECK(FMOD_RESULT result)
{ // nothing
}

int main ( int argc, char** argv )
{
FMOD::System *system;
FMOD_RESULT result;
unsigned int version;

result = FMOD::System_Create(&amp;system);
ERRCHECK(result);

result = system-&gt;getVersion(&amp;version);
ERRCHECK(result);

return 0;

}
[/code:3dv2ert8]

[quote:3dv2ert8]And what I have is
.objs\main.o:main.cpp:(.text+0x34b): undefined reference to `_ZN4FMOD6System10getVersionEPj@8′
collect2: ld returned 1 exit status
[/quote:3dv2ert8]

I already set lib and include directories
In link libraries I have
[quote:3dv2ert8]fmodex[/quote:3dv2ert8]

I don’t know what else I can do :/ pls help

  • You must to post comments
0
0

I use Code::blocks 1.0rc2 under winxp (so mingw), gcc,

I tried adding mingw32 to linker options before/after fmodex and still the same

I uploaded my project here: http://rapidshare.de/files/11557213/fmod_use.rar.html
I you or anyone could download it and check/fix it for me, I would be thankful.

Any sugestions?

[[b:31t3jr4f]edit[/b:31t3jr4f]]
There is no problem when I use FMOD 3.75 … but I ‘d like this one

  • You must to post comments
0
0

does it mean there is no way to use OO (C++) FMODEx ?

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.