compiling a simple Fmod program

This is a discussion on compiling a simple Fmod program within the Game Programming forums, part of the General Programming Boards category; I'm trying to get a simple progam to compile that uses FMod. When I compile it produces this error: C:\projects\fmodtest\test.c ...

1. compiling a simple Fmod program

I'm trying to get a simple progam to compile that uses FMod. When I compile it produces this error:

C:\projects\fmodtest\test.c
too many arguments to function `FSOUND_Sample_Load'

Why?

I'm using Dev-C++ 5 as my programming environment. Incase I haven't setup things up properly, I have fmod.h located in dev-cpp\include\fmod and fmod.lib in dev-cpp\libs.

Here's the code:
Code:
```#include <stdio.h>
#include "fmod.h"

int main(void)
{
FSOUND_SAMPLE* sound;
FSOUND_Init(44100, 32, 0);
FSOUND_PlaySound(FSOUND_FREE,sound);
getchar();
FSOUND_Sample_Free(sound);

FSOUND_Close();

return 0;
}```

2. you must include the proper libraries.