Dolphin, the GameCube and Wii emulator - Forums

Full Version: cannot open input file 'iphlpapi.lib'
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
i just tried building dolphin for the first time using the newly updated guide on the google code page. at the end of everything, the build failed and this error message was displayed:
LINK : fatal error LNK1181: cannot open input file 'iphlpapi.lib'

could someone please help? Big Grin
It is included in the Windows SDK...perhaps people just need to add some more paths...I'll check into it in a few.
any luck?
OK...I just setup a VM with Windows 7 and followed my own instructions (using VS Express)...dolphin built and linked fine (32bit, testing 64bit now...).
just tried building dolphin again, i get the error at the beginning now


1>------ Build started: Project: SVNRevGen, Configuration: Release x64 ------
1> Updating svnrev.h
1> svnrev.h doesn't need updating (already at 7195)
2>------ Build started: Project: Common, Configuration: Release x64 ------
2> Common.vcxproj -> C:\Users\Gabriel\Desktop\dolphin-emu\Source\x64\Release\Common.lib
3>------ Build started: Project: Dolphin, Configuration: Release x64 ------
3>LINK : fatal error LNK1181: cannot open input file 'iphlpapi.lib'
========== Build: 2 succeeded, 1 failed, 20 up-to-date, 0 skipped ==========


Edit: tried building with latest revision, still same results:
13>LINK : fatal error LNK1181: cannot open input file 'iphlpapi.lib'
========== Build: 12 succeeded, 1 failed, 10 up-to-date, 0 skipped ==========
Ah yeah...the 7.0A files (the part of the Windows SDK which comes with Visual Studio) doesn't have x64 stuff...only 32bit. Quite annoying :|
so how would i fix this problem? reinstall it?
The Windows SDK that Visual Studio installs does not include the x64 libraries so you will need to download the full Windows SDK from Microsoft, the one with the x64 libraries, install and set the paths in VS2010.

http://www.microsoft.com/downloads/en/details.aspx?FamilyID=35AEDA01-421D-4BA5-B44B-543DC8C33A20

You want the iso named "GRMSDKX_EN_DVD.iso", after downloading burn to a blank DVD or mount with a virtual drive and install.

You may want to download this as well, install and set the paths in VS2010 in case you haven't done this:

http://www.microsoft.com/downloads/en/details.aspx?FamilyID=3021d52b-514e-41d3-ad02-438a3ba730ba
The only way that could get rid of that error for me was installing the Windows sdk like Xtreme said and changing the toolset for all Dolphin projects to Windows7.1SDK, but that will change vcproj files in the source, there should be another way to solve this...
Maybe the another way is getting a pro VS version :/
(02-20-2011, 11:59 PM)Runo Wrote: [ -> ]... and changing the toolset for all Dolphin projects to Windows7.1SDK...

The annoying this about this is that I tried this in my test Visual Studio Express VM, and it didn't work for me. Instead, I got an error like
Code:
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.x64.Targets(58,5): error : Required file "" is missing.
Pages: 1 2