0
0

Hey,

i use the Borland C++ Builder and today i’ve tried to make a fmod project:

[code:3j63tzor]

include <vcl.h>

pragma hdrstop

include "Unit1.h"

include <stdio.h>

include <conio.h>

include "fmod/fmod.hpp"

include "fmod/fmod_errors.h"

[...]

FMOD::System *system2;
FMOD::Sound *sound1, *sound2, *sound3;
FMOD::Channel *channel = 0;
FMOD_RESULT result;
int key;
unsigned int version;

void ERRCHECK(FMOD_RESULT result)
{
if (result != FMOD_OK)
{
printf("FMOD error! (%d) %s\n", result, FMOD_ErrorString(result));
exit(-1);
}
}

int init()
{
result = FMOD::System_Create(&system2);
ERRCHECK(result);

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

if (version &lt; FMOD_VERSION)
{
    printf(&quot;Error!  You are using an old version of FMOD %08x.  This program requires %08x\n&quot;, version, FMOD_VERSION);
    return 0;
}

}
[/code:3j63tzor]

But during linking the compiler tells me this error:
"Unresolved external ‘__stdcall FMOD::System::getVersion(unsigend int *)’…"

The fmodex_bc.lib is has been added to the project.
What can I do??

Thank you for help!

  • You must to post comments
0
0

Please look in the FAQ forum

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.