I was building webrtc on my notebook which OS is Win7 when I ran into this issue. I followed my previous steps which I suceeded to download and build the complete webrtc project:
- Install Visual Studio 2010
- Install DirectX SDK 2010(June)
- Install Microsoft SDK v7.1
then downolad webrtc project including the project & settings for Visual Studio, and try to build it. You can view the detail steps here: http://rg4.net/archives/736.html.
“fatal error LNK1104: cannot open file’atlthunk.lib'”
First, I tried to add this pragma to the top of my header file. But problem remains.
Then I digged more into it.
Found out that atlthunk.lib belong to ATL7.1 , and ATL7.1 belongs to WinDDK. So what we need to do actually is download and install WinDDK. You can download it from this url:
After downloaded and installed WinDDK, you still need to add this directory to VC’s library directories manually:
Then, re-open the webrtc’s all.sln, and rebuild the solution.
So the close note will be:
If you are building webrtc on WinXP, you need to install DirectX SDK 2010(June) and Microsoft SDK v7.1. But if you are building it on Win7, you need to install one more SDK, that is WinDDK v7.1.