Using FMOD from c++ project

(Ivan Del Duca) #1

I’ve followed the “guide” found in FMOD documentation to being able to interface to FMOD from c++ but there’s a problem during linking (Error 24 error LNK1181: cannot open input file ‘C:\Program Files\Epic Games\4.6\Engine\Intermediate\Build\Win64\UE4Editor\Development\Plugins\Dynamic\UE4Editor-FMODStudio.lib’ )
I’ve added FMODStudio to PublicDependencyModuleNames, regenerated the project multiple times but I can’t get rid of the problem. Any ideas? (platform: Windows IDE: Visual Studio)

(Geoff Carlton) #2

Hi Ivan,
That section was written with expectation that the programmer is also compiling UE4 from source. From the error message it looks like you are using the UE4 binaries that has been downloaded from the launcher. Is that correct?

In that case, there might be some more steps needed to link against plugins for C++ game projects. I will investigate and get back to you.

(Ivan Del Duca) #3

Hi Geoff,
yes exactly. I don’t compile UE4 from source but still need to use FMOD from c++ (our previous non-UE4 games also used FMOD and I want to port some of the code and we don’t use blueprints anyway). Any information on how to solve this problem would be very appreciated! Thank you.

(Ivan Del Duca) #4

Hi Geoff,
sorry to bother you but…any updates on this matter?
Thank you.

(Geoff Carlton) #5

Looks like the downloaded version of UE4 wants a completely separate lib file. The next release will include the UE4Editor-FMODStudio.lib in the correct intermediate directory so it will link properly.

(Ivan Del Duca) #6

Thank you Geoff. Is there an estimated date for the next release of FMOD?

(Geoff Carlton) #7

Please try with the latest version of the integration.