Quantcast
Channel: Fortran
Viewing all articles
Browse latest Browse all 3108

"fatal error LNK1104: cannot open file 'uuid.lib'" and "WindowsSdkDir not found"

$
0
0

Hello,

I have Intel visual Fortran 11.0 and Microsoft Visual Studio 2008 on my system to compile my user-defined subroutines dll to run them with Adina software. I was able to compile my code in widows command console using the makefile that Adina provides. Recently, I installed visual studio 2015 to work on some C# codes. In order to be able to compile the C# codes in windows command console, I edited the path system variable to C:\Windows\Microsoft.NET\Framework64\v4.0.30319. However, I noticed that I am not able to compile Adina anymore. The error message after running Adina makefile was:

Microsoft (R) Program Maintenance Utility Version 9.00.21022.08

Copyright (C) Microsoft Corporation.  All rights reserved.

Could Not Find C:\ADINA89\usrdll64\adusr.*

        link.exe /OUT:"adusr.dll" /INCREMENTAL:NO /NOLOGO /MANIFEST /MANIFESTFIL

E:"adusr.dll.intermediate.manifest" /SUBSYSTEM:WINDOWS /IMPLIB:"adusr.lib" /DLL

ovl20u.obj ovl30u.obj ovl40u.obj ovl50u.obj ovl60u.obj  ovl100u.obj ovl110u.obj

ovl160u.obj ovl170u.obj  ovl30tu.obj ovl40tu.obj ovl90tu.obj  ovl20u_vp1.obj ovl

30u_vp1.obj ovl40u_vp1.obj ovlusr.obj

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

NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio 9.0\

VC\BIN\amd64\link.exe"' : return code '0x450'

Stop.

I tried to set the ifortdir again and I got the following massage:

Setting environment for using Microsoft Visual Studio 2008 Beta2 x64 tools.

WindowsSdkDir not found

I added the variable “WindowsSdkDir” with the value of “C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A”, yet it did not work.
I will appreciate if someone can give me a hint to fix the problem.

P.S.

I can compile and build FORTRAN codes using visual studio 2008 but not using the windows command console and Adina makefile. 


Viewing all articles
Browse latest Browse all 3108

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>