CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Error

  1. #1
    Join Date
    Dec 2007
    Posts
    67

    Question Error

    Hi All

    How can i solve that type of Error

    fatal error LNK1181: cannot open input file '..\..\..\program files\microsoft visual studio .net\vc7\platformsdk\lib\IPHlpApi.Lib'

  2. #2
    Join Date
    Aug 2007
    Location
    Birmingham, UK
    Posts
    360

    Re: Error

    According to MSDN - http://msdn2.microsoft.com/en-us/library/y6b12xkc.aspx

    Some common causes for error LNK1181 include:
    • filename is referenced as an additional dependency on the linker line, but the file does not exist.
    • A /LIBPATH statement that specifies the directory containing filename is missing.
    To resolve the above issues, ensure any files referenced on the linker line are present on the system. Also ensure there is a /LIBPATH statement for each directory containing a linker-dependent file.

    Another possible cause for LNK1181 is that a long file name with embedded spaces was not enclosed in quotation marks. In that case, the linker will only recognize a file name up to the first space, and then assume a file extension of .obj. The solution to this situation is to enclose the long file name (path plus file name) in quotation marks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured