- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page