c++ - Can't Build PortAudio - "LNK1104: cannot open file 'ksguid.lib'" -
i'm beginner in c/c++, please bear me.
i'm trying build portaudio library can use in 1 of project. i'm using vs 2013, preset project-file builds had converted version. i've been able fix many problems occurred on long way here, except one:
link : fatal error lnk1104: cannot open file 'ksguid.lib' i've seen this , this site. of them address problem, yet non of them has been able solve it. here solutions these sites suggest:
- add
wasapi- symbolportaudio.def, - add
pa_wdmks_no_ksguid_lib- definition preprocessor
you can ksguid.lib-file windows 7 sdk. might installed on computer. it's best use explorer find (probably c:\program files (x86)\microsoft sdks\windows\v7.1a\lib\x64).
when found it, go visual studio , go project > properties > configuration-properties > linker > input, click on little arrow on right of additional dependencies , choose edit:

enter absolute filepath ksguid.lib. make sure surrounded "-s , put ; @ end. (throws error without usable description otherwise - microsoft know it.)
source: bitbucket, stackoverflow