- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a Window XP SP3. Not a computer guy, just need Fortran complier for a software to run. I am required to run a test to see if compliation works. In the command prompt of Windows I have error "fatal error LNK1104: cannot open file 'ImageHlp.lib', however, the complier command prompt for Intel seems to test fine.
I have uploaded a screen shot of the environmental variables and the 2 command prompts. If you cant see the picture, let me know how to upload?
SDK V 2.0 and Fortran V 11.0.066
I have uploaded a screen shot of the environmental variables and the 2 command prompts. If you cant see the picture, let me know how to upload?
SDK V 2.0 and Fortran V 11.0.066
Link Copied
18 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
See the link in my signature for how to attach files - be sure you follow all seven steps.
I am not sure what you mean by "SDK V2.0". If you have purchased the compiler, it includes Visual Studio 2005 Premier Partner Edition which will satisfy the requirements. Otherwise, you should install Visual C++ 2008 Express Edition and then reinstall the Fortran compiler to get all the necessary files. imagehelp.lib comes from the Windows Platform SDK, but I don't know of a "V2.0". That may be some other SDK.
I am not sure what you mean by "SDK V2.0". If you have purchased the compiler, it includes Visual Studio 2005 Premier Partner Edition which will satisfy the requirements. Otherwise, you should install Visual C++ 2008 Express Edition and then reinstall the Fortran compiler to get all the necessary files. imagehelp.lib comes from the Windows Platform SDK, but I don't know of a "V2.0". That may be some other SDK.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - Steve Lionel (Intel)
See the link in my signature for how to attach files - be sure you follow all seven steps.
I am not sure what you mean by "SDK V2.0". If you have purchased the compiler, it includes Visual Studio 2005 Premier Partner Edition which will satisfy the requirements. Otherwise, you should install Visual C++ 2008 Express Edition and then reinstall the Fortran compiler to get all the necessary files. imagehelp.lib comes from the Windows Platform SDK, but I don't know of a "V2.0". That may be some other SDK.
I am not sure what you mean by "SDK V2.0". If you have purchased the compiler, it includes Visual Studio 2005 Premier Partner Edition which will satisfy the requirements. Otherwise, you should install Visual C++ 2008 Express Edition and then reinstall the Fortran compiler to get all the necessary files. imagehelp.lib comes from the Windows Platform SDK, but I don't know of a "V2.0". That may be some other SDK.
With SDK V 2 I meant Microsoft .NET Framework SDK Kit 2.0.
I wanted the file sdkvars.bat for the software to run, I did not find that in the Visual Studio 2005 hence downloaded .NET Framwork SDK kit 2.0.
I hope you will now be able to look at the file.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The Microsoft .NET Framework SDK is not used in building Fortran applications. imagehlp.lib is provided by the WIndows Platform SDK. This is provided with Visual Studio, except Visual C++ 2005 Express Edition.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - Steve Lionel (Intel)
The Microsoft .NET Framework SDK is not used in building Fortran applications. imagehlp.lib is provided by the WIndows Platform SDK. This is provided with Visual Studio, except Visual C++ 2005 Express Edition.
I am sorry, the SDK is infact in the Visual studio (C:Program FilesMicrosoft Visual Studio 8SDKv2.0Bin). however, going back to the problem for some odd reason (as you can see in the uploaded file) imagehlp.lib is unable to open or not opening. I am able to locate imagehlp.lib (location: C:Program FilesMicrosoft Visual Studio 8VCPlatformSDKLib) Am I missing something?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Have you by any chance installed the Windows 7 Beta SDK? This has a documented bug that it corrupts Visual Studio's pointer to the platform SDK.
I suggest doing a "Repair" on Visual Studio from Add/remove programs and see if that helps.
I suggest doing a "Repair" on Visual Studio from Add/remove programs and see if that helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - gbahetiunmc.edu
I am sorry, the SDK is infact in the Visual studio (C:Program FilesMicrosoft Visual Studio 8SDKv2.0Bin). however, going back to the problem for some odd reason (as you can see in the uploaded file) imagehlp.lib is unable to open or not opening. I am able to locate imagehlp.lib (location: C:Program FilesMicrosoft Visual Studio 8VCPlatformSDKLib) Am I missing something?
Thanks
Sam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - sliao99
would you able to resolve this problem with imagehlp.lib? Could you please let me know how you resolve this?
Sam
Sam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - sliao99
would you able to resolve this problem with imagehlp.lib? Could you please let me know how you resolve this?
Sam
Sam
I found it in C:Program FilesMicrosoft SDKsWindowsv6.0ALib and I tried to add this to my environment variable in 'lib', but it still failed to run. I am hoping not to re-install the fortran compiler on my windows-XP. Any suggestion would be greatly appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you are using that obsolete package, you must also install the Microsoft Platform SDK (or Windows core SDK). The 6.0A folder you have suggests that you also have Visual Studio 2008 installed. Which version of Intel Visual Fortran are you using and why did you select the no-longer-available Visual C++ Toolkit 2003?
Since you have the later SDK, you will need to add that SDK's folder to the LIB environment variable after invoking the Intel ifortvars.bat file, like this:
set lib=%LIB%;"C:Program FilesMicrosoft SDKsWindowsv6.0ALib"
Since you have the later SDK, you will need to add that SDK's folder to the LIB environment variable after invoking the Intel ifortvars.bat file, like this:
set lib=%LIB%;"C:Program FilesMicrosoft SDKsWindowsv6.0ALib"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I think I am trying to install the same software as the first questioner started this thread.
My question is: which file is equivalent of "sdkvars.bat (Fortran compiler v8 or 9)" in newer version v11.1?
I have to know this information to install NONMEM software.
Thanks. Alex
I think I am trying to install the same software as the first questioner started this thread.
My question is: which file is equivalent of "sdkvars.bat (Fortran compiler v8 or 9)" in newer version v11.1?
I have to know this information to install NONMEM software.
Thanks. Alex
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Alex,
I don't see a reference to "sdkvars.bat". Executing ifortvars.bat with the appropriate platform argument (ia32, etc.) should create appropriate definitions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Steve,
I understand that sdkvars.bat belongs to older versions of Fortran Compliers. I tried to follow a direction, which was written based on older versions. But I have new v.11.1 instead. That was why I asked you.
According to users of this particular software he sent a few lines for path= lib= include= settings. Some of them it include like below:
C:Program FilesMicrosoft Visual Studio 8SDKv2.0bin
C:Program FilesMicrosoft Visual Studio 8VCVCPackages
C:WINDOWSMicrosoft.NETFrameworkv2.0.50727
C:Program FilesMicrosoft Visual Studio 8SDKv2.0include
C:Program FilesMicrosoft Visual Studio 8SDKv2.0lib
I understand that sdkvars.bat belongs to older versions of Fortran Compliers. I tried to follow a direction, which was written based on older versions. But I have new v.11.1 instead. That was why I asked you.
According to users of this particular software he sent a few lines for path= lib= include= settings. Some of them it include like below:
C:Program FilesMicrosoft Visual Studio 8SDKv2.0bin
C:Program FilesMicrosoft Visual Studio 8VCVCPackages
C:WINDOWSMicrosoft.NETFrameworkv2.0.50727
C:Program FilesMicrosoft Visual Studio 8SDKv2.0include
C:Program FilesMicrosoft Visual Studio 8SDKv2.0lib
However v.11.1 was installed with Microsoft Visual Studio 9.0
Can you provide me directories, which are equivalent in older versions?(and do I need any additional directories to set???)
Thanks.
Alex
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Alex, none of those folders have any use by Fortran applications. If you have Visual Studio 2008 (9.0) installed, then imagehlp.lib is in C:Program FilesMicrosoft SDKsWindowsv6.0ALib If you have properly established an Intel Fortran build environment, you do not need to know this as that folder is automatically added to the libraries path. There was no "sdkvars.bat" file in previous versions of Intel Fortran, at least that I am aware of, so I can't suggest what its replacement might be.
What exactly is the problem you are having? In what environment is the build being done?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Steve,
I cannot answer your questions, since I don't have much understanding onIntel Fortran Compiler.However what we do is to use a software NONMEM, which use your compiler behind the screen.
I checked the folder you specifically mentioned. C:Program FilesMicrosoft SDKsWindowsv6.0A DOES exists, but there is no subdirectory called Lib. Is this an indication I have installed Visual Studio 2008 wrong? If so please guide me how to reinstall Fortran with SDKs.
Thanks. Alex
Alex, none of those folders have any use by Fortran applications. If you have Visual Studio 2008 (9.0) installed, then imagehlp.lib is in C:Program FilesMicrosoft SDKsWindowsv6.0ALib If you have properly established an Intel Fortran build environment, you do not need to know this as that folder is automatically added to the libraries path. There was no "sdkvars.bat" file in previous versions of Intel Fortran, at least that I am aware of, so I can't suggest what its replacement might be.
What exactly is the problem you are having? In what environment is the build being done?
I cannot answer your questions, since I don't have much understanding onIntel Fortran Compiler.However what we do is to use a software NONMEM, which use your compiler behind the screen.
I checked the folder you specifically mentioned. C:Program FilesMicrosoft SDKsWindowsv6.0A DOES exists, but there is no subdirectory called Lib. Is this an indication I have installed Visual Studio 2008 wrong? If so please guide me how to reinstall Fortran with SDKs.
Thanks. Alex
Quoting - Steve Lionel (Intel)
Alex, none of those folders have any use by Fortran applications. If you have Visual Studio 2008 (9.0) installed, then imagehlp.lib is in C:Program FilesMicrosoft SDKsWindowsv6.0ALib If you have properly established an Intel Fortran build environment, you do not need to know this as that folder is automatically added to the libraries path. There was no "sdkvars.bat" file in previous versions of Intel Fortran, at least that I am aware of, so I can't suggest what its replacement might be.
What exactly is the problem you are having? In what environment is the build being done?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did you install Visual Studio separately or are you using the one that is installed by Intel Visual Fortran? Open Add or Remove Programs and find the entry for Microsoft Visual Studio 2008. What is the exact text of the entry you find there?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Steve,
I checked and it says
Microsoft Visual Studio 2008 Shell (integrated mode) - ENU 226.00MB
MY fortran version is 11.1.035
Also the software I amgoing to use is a DOS-based program (with f77 or f90/95(newer one)). It requires MS-DOS command lines. How much is it different from "Fortran Build Evn.....on IA-32" window??
After playing around between two user profiles (one for me, one with administrator right). I ended up with error messages in DOS window under my own user, but OK in that under "adminstrator" user.
Alex
I checked and it says
Microsoft Visual Studio 2008 Shell (integrated mode) - ENU 226.00MB
MY fortran version is 11.1.035
Also the software I amgoing to use is a DOS-based program (with f77 or f90/95(newer one)). It requires MS-DOS command lines. How much is it different from "Fortran Build Evn.....on IA-32" window??
After playing around between two user profiles (one for me, one with administrator right). I ended up with error messages in DOS window under my own user, but OK in that under "adminstrator" user.
Alex
Quoting - Steve Lionel (Intel)
Did you install Visual Studio separately or are you using the one that is installed by Intel Visual Fortran? Open Add or Remove Programs and find the entry for Microsoft Visual Studio 2008. What is the exact text of the entry you find there?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok - in that case, imagehlp.lib will be in C:Program FilesMicrosoft Visual Studio 9.0VCPlatformSDKlib
I expect that your software is looking for a command line interface. The "Fortran Build Environment" is this. It is MS-DOS-like - pretty much as close as you can come on Windows. That Fortran Build Environment should set up everything so that you can compile and link.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Indeed. Thanks much.
Alex
Alex

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page