In order to test our FMOD Designer project in a game, we must first build the project, by selecting the Build from the Project menu, or pressing Ctrl + B. This process will generate the fev
and fsb
files that we have to copy to our game assets folder.
Next, we have to add some extra dependencies to our C++ project, so that we can interact with the FMOD Designer API. These dependencies ship together with the FMOD Ex Programmer's API, but we must add the references ourselves, as follows:
Navigate to C/C++ | General, and add
C:\FMOD\ fmoddesignerapi\api\inc
to the list of Additional Include Directories (entries are separated by semicolons).Navigate to Linker | General, and add
C:\FMOD\ fmoddesignerapi\api\lib
to the list of Additional Library Directories.Navigate to Linker | Input, and add
fmod_event.lib
to the list of Additional Dependencies.Navigate to Build Events | Post-Build Event, and add
xcopy /y "C:\FMOD\fmoddesignerapi\api\fmod_event.dll” "$(OutDir...