0
0

I am trying to link FMOD to my project, which I did very easily in the past in Visual Studio 2008…. I am re using the same files that I had in said project, I’m wondering if that’s maybe the problem (incompatible with VS2010?)…

So I have placed the fmodex_vc.lib and the fmodex.dll file in my project directory, added them to my project’s solution explorer, then created a SoundMgr.h file which includes the fmod.h file

include "include\fmod\fmod.h"

Where fmod.h has been placed in the include\fmod folder and opens ok if i right click on the above code and click "Open Document"…

But if I try to write any code at all, including a simple "using namespace FMOD" it tells me that it FMOD is undeclared or unidentified….And any sample code simply wont be recognised…. am I missing any step?

  • You must to post comments
0
0

Right so I eventually fixed it by removing the Additional Dependency in the Input section of the Linker and instead adding Include and Library directories in in Configuration Properties\VC++ directories…. Most articles I found advise to use the actual full path to the FMOD installation folder, but since I want this project to be portable and self contained, i created a "lib" and "include" folder in my project and put those files in them… (used the directories "\lib" and "\include" in the project properties which I am assuming links to the project folder, have never done this before but am hoping it won’t cause dependency issues if I compile this on a different machine)… And on top of this I’ve added the .dll to the project root folder and now it compiles ok!

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.