Greetings, o programmers from near and far,
I have little to no experience with sound APIs, let alone FMOD. I am creating a game in C++, using the good old Bloodshed-Devcpp compiler (which uses MinGW). Now, as was to be expected, I’ve run into a couple of problems setting up FMOD.
I have tried compiling the PlaySound tutorial to no avail. I have set Project -> Options -> Parameters -> Libraries -> libfmodex.a. Bloodshed apparently finds this, so that’s good. However, I keep getting nasty Linker Errors (which are my least favourite errors).
[Linker error] undefined reference to `_ZN4FMOD6System10getVersionEPj@8′
That’s what they look like. And it’s a whole list.
Now remember, I didn’t change the tutorial, apart from setting the includes to:
I think Bloodshed has no problem finding these.
At the end, there is also a final error:
C:\Program Files\FMOD SoundSystem\FMOD Programmers API Win32\examples\playsound\Makefile.win [Build Error] [playSound.exe] Error 1
This one I remember to be too general to say much about.
I am not an experienced, programmer, but am at least at a level where I have, on my own, created a game with a flying ship in OpenGL which can shoot flying squares. I would really love to start learning FMOD Ex, but setting up has never been my strong side.
Is there anyone around who can show me some loving and help me unlock the gates to the happy world of sound that is FMOD Ex?
Thanks in advance,
A newbie with dreams
P.S. I’ll be here for the next 6-8 hours, so I’m on stand-by.
- Dysprosium asked 10 years ago
Excellent. It all seems to work now!
One more question. Do you recommend me to use a different compiler and go for the C++ API or is there no problem here? For as far as I as a newbie can see, they are the same, except for the object oriented nature of the C++ API.
They’re functionally equivalent, and there’s no performance differences between the C and C++ APIs either. The question of which environment to use is basically orthogonal.
I happen to like Microsoft Visual Studio; the Express editions are free. But that’s really a personal choice. If you like and are comfortable with Bloodshed-Dev, the stick with it!
Thanks! I like how simple Bloodshed is. It’s old and undeveloped, but it’s a decent program and I’m used to it.
I haven’t had errors since I switched to the C API and am already greatly enjoying FMOD Ex. This is so much better than OpenAL. Thanks for helping me out, Adiss! I really appreciate it.
Please login first to submit.