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

Missing .lib's

simtec97
Beginner
1,278 Views
I have spent the past 3 weeks testing the Intel Visual Fortran Comiler for Windows and had great success. I just purchased the compiler and installed it.....now following the same procedure that I did with the trial version I am getting link errors that libraries cannot be opened. I ran compilervars.bat to the Intel environment variables. I am developping the 64-bit code on a 64-bit machine. I must be missing something that is different between the trial and offical version.

I am getting the following error during linking:

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

Any help would greatly appreciated!
0 Kudos
12 Replies
Steven_L_Intel1
Employee
1,278 Views
Do you have Visual Studio installed - even the Shell available with the product? The libraries you're looking for are in the Windows Platform SDK. This is installed with Visual Studio. Can you show me the output of running compilervars.bat?
0 Kudos
TimP
Honored Contributor III
1,278 Views
Here's an article which may or may not relate to that problem. I've encountered that message in the past, with now obsolete components. In this case, it seemed that VS Express created a conflict.
0 Kudos
simtec97
Beginner
1,278 Views
Steve,

I have attached a screen capture of the results of running "comilervars.bat intel64". I am compiling and linking via the command line. I did not have Visual Studio installed on my my machine...so I downloaded the compiler version that included Visual Studio. When using the trial copy of the compiler, I had to first download a trail version of Visual Studio from Microsoft before being able to download, install, and run the Intel compiler...that is the difference in my installation procedure. Thanks much.

Tom
0 Kudos
Steven_L_Intel1
Employee
1,278 Views
From the command prompt, please show me the output of these commands:

set VS100COMNTOOLS
set VSSHELL2010INSTALLDIR

Did you uninstall the trial version of VS2010 before installing the compiler (including the shell)?
0 Kudos
simtec97
Beginner
1,278 Views
I have attached a screen capture with the output from CLI commands. I did uninstall all of Visual Studio before proceeding. I assume that Visual Studio was installed along with Visual Fortran as it was downloaded in the same file.
0 Kudos
simtec97
Beginner
1,278 Views
Steve....thanks much for your help. I decided to unistall everything and reinstall.....now everything is working...not sure what went wrong.
0 Kudos
Steven_L_Intel1
Employee
1,278 Views
Glad to hear it.
0 Kudos
sabalan
New Contributor I
1,278 Views

Steve Lionel (Intel) wrote:

Did you uninstall the trial version of VS2010 before installing the compiler (including the shell)?

Steve, I got the same problem and my answer to your question is NO, I did not uninstall the VS2010 libraries and shell, because I need my applications to be run on WinXP as well, and IVF\VC\lib for VS2010 is blocked and can not be installed AFTER VS2012 Pro.

I installed and uninstalled IVF 2013 with and without 2010 and 2013 so many times, getting the same problem that the whole thing became a mess, and I have no IVF now and can’t install it!

I got an error message while uninstalling IVF 2013 last time like the error no 1 (attached). I fixed it using the MS “Fix It”. But back to installation of IVF, I get 2 errors as attached, and no installation.

What to do?

0 Kudos
sabalan
New Contributor I
1,278 Views

Trying to attach a second time.

0 Kudos
Steven_L_Intel1
Employee
1,278 Views

VS2012 now has a Service Pack 1 that handles the problem about building for XP. Its C libraries are now XP compatible and it installs an XP-compatible platform SDK.

So please uninstall everything, install VS2012, its SP1, then reinstall Fortran.

0 Kudos
sabalan
New Contributor I
1,278 Views

Steve, it was your ”sticky topic” about XP compatibility on the top of this forum that made me to create problem for myself. Maybe time to remove it or at least add this new information there?

0 Kudos
Steven_L_Intel1
Employee
1,278 Views

Ok - I will do that.

0 Kudos
Reply