I am developing a Game in C using Turbo C++ and I need mp3 song to play in same. I am making the game application first time so I don’t have any idea of the initial and first important step to include essential FMOD header and library files (or can say essential required FMOD files) in my project.
I have read on google the sample program which is good enough to understand but i am stuck at including FMOD required files(header and library files) from the FMOD downloaded folder to my project.
My system I am using Windows 7 64 bits
Program I am refering
void main ()
//init FMOD sound system
FSOUND_Init (44100, 32, 0);
//load and play sample
handle=FSOUND_Stream_Open(“sample.mp3”,0, 0, 0);
//wait until the users hits a key to end the app
Here alos is mentioned WHICH I DON’T KNOW WHAT EXACTLY TO COPY AND WHERE
After unpacking the archive, you should copy the FMOD.DLL into your working directory or better still, into the directory where your executable file will be.
Before we can really start we have to do one last thing.
For C users
Now you only have to include the header “fmod.h” and depending on your compiler, the right import library:
fmodvc.lib for Microsoft Visual C++ and Codewarrior
fmodbc.lib for Borland
fmodwc.lib for Watcom
fmodcc.lib for LCC-Win32
libfmod.a for MingW and CygWin
fmod-3-7.lib for GCC
I DON’T KNOW WHAT EXACTLY STEPS ARE TO BE FOLLOWED FOR ABOVE MENTIONED