Emulator Issues #5662
FTBFS on latest Windows SDK, PortAudio.lib links to ksguid.lib
In the Externals build of PortAudio.lib, there is a reference to ksguid.lib, a file which is no longer a part of the Windows SDK.
This patch from Mozilla makes removing the ksguid.lib dependency look like a simple process: https://bugzilla.mozilla.org/attachment.cgi?id=608138&action=diff
Unfortunately, the source code to the Externals version of PortAudio is not directly in the repository, so I have nothing to patch.
#5 Updated by fwright543 almost 8 years ago
I am using MS VC++ 2013 Express and the way I fixed this problem was to open Property Pages of my project and remove ksguid.lib from additional dependencies under the linker input. I then opened pa_win_wdmks_utils.c and commented out the following lines:
#if (defined(WIN32) && (defined(_MSC_VER) && (_MSC_VER >= 1200))) /* MSC version 6 and above */
#pragma comment( lib, "ksguid.lib" )
pragma comment tells the linker to search for the comment argument and will throw an error if it can't find it.