I am attempting to update my UE4 project from 4.20 to 4.22 (SDK 6).
However, I am running into 2 FMOD related errors.
The first error is: Error C2065 ‘FMOD_OUTPUTTYPE_DSOUND’: undeclared identifier
The line that causes the error is as follows: /
/New stuff line below added to resolve issue with WASAPI audio input
result = system->setOutput(FMOD_OUTPUTTYPE_DSOUND);
I remember adding that line to solve another bug that came up during a version change
The second is in the FMODStudioModule.cpp file where it says:
Error C1083 Cannot open include file: ‘IMediaClock.h’: No such file or directory
Upon further research, I came across one potential solution here:
where is suggests adding
Runtime/Media/Public in all the
so instead of #include ImediaClock.h I put Runtime/Media/Public/IMediaCLock.h and do the same for some other includes like IMediaClockSink.h and IMediaModule.h
That gets rid of the IMedia errors. However, that throws a whole new error
Error LNK1181 cannot open input file ‘C:\Users\XYZ\Documents\Unreal Projects\BGA4.22\Plugins\FMODStudio\Source\FMODStudio…\Binaries\Win64\fmodL64_vc.lib’ 1