this is my first post here. Ive tried Fmod today and been stuck with it for atleast over 4 hours!!!!
I just cant figure it out!!
btw im using C++ in visual studio 2003!
I get this error message while compiling:
EGG error LNK2019: unresolved external symbol _FSOUND_Close@0 referenced in function “public: void __thiscall GameFramework::MainGameInput(void)” (?MainGameInput@GameFramework@@QAEXXZ)
actually theres 6 error messages similar to that one!!!!
heres my code:
[code:3u3r4m4w]#include "fmod.h" //this is right at the top
//then sometime later i have the function if someone presses fire use the sound
//When the User presses the FIRE key F.
if (AdventureGame.keypressed[DIK_F] & 0x80 )
FSOUND_Init (44100, 32, 0);
handle=FMUSIC_LoadSong ("MGS2 Main Theme.wav");
FMUSIC_SetLooping (handle, false);
plz someone help urgently as i need to do add sound for my game for my project which is due in on thursday!!!
- Nads asked 12 years ago
Here’s what I did for Visual C++ 6.0, not sure if its the same for Visual Studio 7.0
There should be a menu called Project in on the main menu (along the top). Choose that and click Settings. In Settings, I think there is a tab called Link. In that section there is a field which asks for any modules you would like to link to. Type in fmodvc.lib or whatever it is and press OK.
- BruceLeroy answered 12 years ago
[quote="birty":20nztx5f]have you linked to the fmod lib? also red this http://188.8.131.52/forum/viewtopic.php?t=2585[/quote:20nztx5f]
i think that might be the problem can u help me with that please!!!
all ive done is put the fmod.dll file into the same folder as my other .cpp files!!!
does that mean i dont have to do anything else with the .dll file just put it in the same folder!!!????
also about this .lib file i dont understnad! could u plz explain how to add it into my project? where do i do it from?
thnx alot for ur help!!
Please login first to submit.