- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Hi,
I have installed "Microsoft Visual Studio 2010 Professional" and "Intel Fortran Composer XE 2011 Update 6 SP1" on a new machine, but while compiling a new file I am getting this error: "LINK : fatal error LNK1181: cannot open input file 'user32.lib'".
Not sure what is wrong. I checked VS2010, Tools > Options > Intel Visual Fortran > Compilers > under Libraries for Win32 and x64 and I have these:
Wind 32:
$(IFortInstallDir)compiler\lib\ia32
$(IFortInstallDir)mkl\lib\ia32
$(VCInstallDir)atlmfc\lib
$(VCInstallDir)lib
$(WindowsSdkDir)lib
$(FrameworkSDKDir)lib
X64:
$(IFortInstallDir)compiler\lib\Intel64
$(IFortInstallDir)mkl\lib\Intel64
$(VCInstallDir)atlmfc\lib\amd64
$(VCInstallDir)lib\amd64
$(WindowsSdkDir)lib\x64
As you can see I have "$(WindowsSdkDir)lib\" under both libraries. If I do a "set WindowsSdkDir" in a command prompt, I will get this:
"WindowsSdkDir=C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\"
so if I go to "C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\lib" or ""C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\lib\x64", there is a file named: "User32.Lib". Not sure what is wrong....
Link kopiert
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Hi, Ali
Have you tried whether you can compile the file in Command prompt? From your description the directory path looks correct, then do you have read access to the dll?
Thanks.

- RSS-Feed abonnieren
- Thema als neu kennzeichnen
- Thema als gelesen kennzeichnen
- Diesen Thema für aktuellen Benutzer floaten
- Lesezeichen
- Abonnieren
- Drucker-Anzeigeseite