Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29264 Discussions

fatal error LNK1104: cannot open file 'uuid.lib'

cuseken_14870
Beginner
4,386 Views
Hi - I recently installed Profesional Version 11.1.048 Update 2 Revised for Windows. I installed it in order to run another program (SINDA) which uses the VF complier. When I tried to run SINDA, it crashed with the following error: fatal error LNK1104: cannot open file 'uuid.lib'. Any idea what might have gone wrong? - thanks
0 Kudos
14 Replies
Steven_L_Intel1
Employee
4,385 Views

In what environment are you building the program? uuid.lib is provided by the Windows SDK which is installed either with Visual Studio (separate) or by the included Visual Studio 2008 Shell. Which Visual Studio are you using and are you building from the command line or from within Visual Studio?
0 Kudos
cuseken_14870
Beginner
4,385 Views

In what environment are you building the program? uuid.lib is provided by the Windows SDK which is installed either with Visual Studio (separate) or by the included Visual Studio 2008 Shell. Which Visual Studio are you using and are you building from the command line or from within Visual Studio?

I am using Microsoft Visual Studio 2008 Shell and Libraries. Since SINDA is fully automated I assume it is working with Visual Studio.
0 Kudos
Steven_L_Intel1
Employee
4,385 Views
In Visual Studio, select Tools > Options > Intel Visual Fortran > Compilers. Click on the ... button next to Libraries. Copy and paste the contents into a reply here.

Next, on the Compilers page, click Reset All, then OK. Try a build now.

Did you have a previous version of Intel Visual Fortran installed and uninstalled it after installing 11.1.048?
0 Kudos
cuseken_14870
Beginner
4,385 Views
In Visual Studio, select Tools > Options > Intel Visual Fortran > Compilers. Click on the ... button next to Libraries. Copy and paste the contents into a reply here.

Next, on the Compilers page, click Reset All, then OK. Try a build now.

Did you have a previous version of Intel Visual Fortran installed and uninstalled it after installing 11.1.048?
This is what is in Libraries:

$(IFortInstallDir)libia32
$(IFortInstallDir)mklia32lib
$(VCInstallDir)atlmfclib
$(VCInstallDir)lib
$(VCInstallDir)PlatformSDKlib
$(VCInstallDir)PlatformSDKlibx86
$(WindowsSdkDir)lib

I will try Reset All. No I never used VF on this computer. The previous version of SINDA had a built-in complier so I never had to worry about these issues.

Thanks for your help.
0 Kudos
Steven_L_Intel1
Employee
4,385 Views
Do you have a folder named SDK or something like that under C:Program FilesMicrosoft Visual Studio 9.0VC?
0 Kudos
cuseken_14870
Beginner
4,385 Views
Do you have a folder named SDK or something like that under C:Program FilesMicrosoft Visual Studio 9.0VC?

Yes I do, it has no files just the following folder structure:

C:Program Files (x86)Microsoft Visual Studio 9.0SDKv3.5Bin
0 Kudos
Steven_L_Intel1
Employee
4,385 Views
Well, it would appear then that something did not get installed properly or got removed.

Please uninstall Intel Visual Fortran and Microsoft Visual Studio 2008 Shell. Then reinstall using the "full" package from the latest Intel Visual Fortran update (update 2 or 3 if available).
0 Kudos
cuseken_14870
Beginner
4,385 Views
Well, it would appear then that something did not get installed properly or got removed.

Please uninstall Intel Visual Fortran and Microsoft Visual Studio 2008 Shell. Then reinstall using the "full" package from the latest Intel Visual Fortran update (update 2 or 3 if available).

I reinstalled as you suggested using the full package option and update 2. However, the end result was the same - nothing in the C:Program Files (x86)Microsoft Visual Studio 9.0SDK folder and I still get the "cannot open file uuid.lib" error message. I also attached the installation summary window. thanks
0 Kudos
Steven_L_Intel1
Employee
4,385 Views
At this point, I suggest downloading the Microsoft Windows SDK and installing it. When you get to the component selection dialog, make it look like this:



Ignore the warning that some pieces needed for VS are missing.

Then add the path to its Lib folder to the Libraries path list in Visual Studio. This will be C:Program FilesMicrosoft SDKsWindowsv6.1Lib for IA32 and C:Program FilesMicrosoft SDKsWindowsv6.1Libx64 for Intel 64.


I could suggest additional diagnostics but I don't think it's worth your time at this point.
0 Kudos
cuseken_14870
Beginner
4,385 Views
At this point, I suggest downloading the Microsoft Windows SDK and installing it. When you get to the component selection dialog, make it look like this:



Ignore the warning that some pieces needed for VS are missing.

Then add the path to its Lib folder to the Libraries path list in Visual Studio. This will be C:Program FilesMicrosoft SDKsWindowsv6.1Lib for IA32 and C:Program FilesMicrosoft SDKsWindowsv6.1Libx64 for Intel 64.


I could suggest additional diagnostics but I don't think it's worth your time at this point.

Thanks for all your help Steve, that did the trick!
0 Kudos
Scott_Cannon
Beginner
4,385 Views
Hello!

Iam installingIVF to use with the 64-bit version of SINDA. I already have installed MVS2008Pro (separate) and have installed the IVF 11.1.051 (Intel 64 "for customers who have Microsoft Visual Studio already installed"). I believe SINDA builds from the command line by issuing a command like:

ifort astap.for /fpe:0 /names:lowercase /iface:cref /module:C:PROGRA~1CULLIM~1SINDAF~1lib /MT /libs:dll /iface:mixed_str_len_arg /include:C:PROGRA~1CULLIM~1SINDAF~1lib /assume:byterecl /extend_source:132 /O3 /list /traceback /INCREMENTAL:NO

When I try to run a SINDA sample file, I receive an error that says "LINK : fatal error LNK1104: cannot open file 'OLDNAMES.lib'" In Visual Studio, under Tools > Options > Intel Visual Fortran > Compilers, it says "No Compiler Installed" for the Selected Compiler and there are no Executables, Libraries, Includes, etc. The "reset" and "reset all" buttons have no effect. Obviously, MVS2008 is not seeing IVF. How should I proceed to fix it?

Thanks

0 Kudos
Steven_L_Intel1
Employee
4,385 Views

You did not enable "x64 compiler and tools" in the VS2008 install. See the IVF release notes for instructions.
0 Kudos
Scott_Cannon
Beginner
4,385 Views

You did not enable "x64 compiler and tools" in the VS2008 install. See the IVF release notes for instructions.

Thanks. I've now fixed that and SINDA is working better. Now, during execution, I get a message "astap.exe has stopped working" and asks me to debug or close proram. When I select "debug", it tells me that "An unhandled Win32 exception occurred in astap.exe [1476]" and asks me to select from two possible debuggers, VS2005 and VS2008. When I run VS2008 debugger, it tells me:

This may be due to a corruption of the heap, which indicates a bug in astap.exe or any of the DLLs it has loaded.This may also be due to the user pressing F12 while astap.exe has focus.The output window may have more diagnostic information. The program '[6088] astap.exe: Native' has exited with code -1073740940 (0xc0000374).

Any advice?

0 Kudos
Steven_L_Intel1
Employee
4,385 Views
You'll have to run the program in the debugger and try to find the problem. It's pretty much impossible to guess what it might be from a symptom like that.
0 Kudos
Reply