FATAL ERROR LINK1181

Hello people,

I just installed the visual Studio Express(followed all the steps on Microsoft website) and trying to compile a simple code but I get error message: FATAL ERROR LINK1181 cannot open input file 'user32.lib'

Also when I search for this fie on my computer this file cannot be found.

I reinstalled the Visual Studio again & again. The same result.

Please help.

Farrokh Mooir

Please help




Answer this question

FATAL ERROR LINK1181

  • paruchuri

    I'm using Visual Studio Express for C++ and yes,I followed all 5 steps and instaled PSDK as well

  • Tim Rupe

    My problem: FATAL ERROR LINK1181still exists

    So would be alerted again for this issue or I need to create another Thread



  • Rames Gantanant

    My library files are:

    $(VCInstallDir)lib

    c:\programfiles\Microsoft Platform SDK for Windows Server 2003 R2\Lib

    $(FrameworkSDKDir)lib

    $(VSInstallDir)

    $(VSInstallDir)lib



  • Jonathan Ward

    What version of express are you using... (C#, C++, VB.Net etc), if you are using the Visual C++ Edition hae you linked in the platform SDK.

    http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/default.aspx



  • enric vives

     Farrokh Moori wrote:

    My library files are:

    $(VCInstallDir)lib

    c:\programfiles\Microsoft Platform SDK for Windows Server 2003 R2\Lib

    $(FrameworkSDKDir)lib

    $(VSInstallDir)

    $(VSInstallDir)lib

    The recommendation is to include the PSDK library path at the beginning, although I don't think that is your problem.

    Try replacing "c:\programfiles\" with "$(ProgramFiles)\" in the path for the Platform SDK libraries and see if that works better.

     - Dennis



  • Satya vani

    Could you past what is in your lib settings

    Thanks,
    Ayman Shoukry
    VC++ Team


  • Rush hour

    If so then it looks like you have set it up right... I will move this thead to the VC++ Express groups as the guys there should be able to help more.



  • TomasLeung

    This didn't solve any problem. I'm still getting same error message

  • Troy Lundin

    There is no need to create another thread as I have moved the current one into the group.



  • fulish1

    Hey Farrokh Moori

    Under Tools|Options

    where you put the SDK path on the top right there is a pulldown that has Excutable file then there is Include files

    you need to add $(ProgramFiles)\Microsoft Platform SDK for Windows Server 2003 R2\Include Path there also.

    anyways look at it you will get the Idea.

    Leo



  • FATAL ERROR LINK1181