- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using a 64b Windows basis and compiling programs as I used to do with my other computer. All necessary programs from Intel are in place using the correct versions, as instructed before.
My main program includes the following lines:
INCLUDE 'link_fnl_static.h'
!DEC$ OBJCOMMENT LIB:'libiomp5md.lib'
However, the error message:
Error 1 error #5102: Cannot open include file 'link_fnl_static.h' C:\\CeSFaMB\\CeSFaMB_403\\Source\\Main.for 189
continues to appear. How this problem can be solved? Thank you.
Link Copied
23 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I wonder if the lines in your source are not exactly what you typed in here. Would you please ZIP the source and attach it to a reply here?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The section of my program with those lines are:
INCLUDE 'link_fnl_static.h'
!DEC$ OBJCOMMENT LIB:'libiomp5md.lib'
On the other hand, these lines have always worked in my other PC working at 32b.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The error message suggests to me that those are not in fact the actual characters in the source.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
desouzasantos,
Are you sure that you have configured the libraries and include paths for the X64 architecture compiler, under Visual Studio options? I'm thinking that you perhaps configured only the win32 compiler and forgot the x64... Just a guess.
Pedro
Are you sure that you have configured the libraries and include paths for the X64 architecture compiler, under Visual Studio options? I'm thinking that you perhaps configured only the win32 compiler and forgot the x64... Just a guess.
Pedro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think I did. In any case, please tell me how to do it just that I can redo it to be sure. Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In Visual Studio go to TOOLS>OPTIONS>INTEL VISUAL FORTRAN> COMPILERS.
When inside this menu be sure to select the x64 platform. Now go to the libraries and add the path of your 64 bit IMSL lib. After this go to the includes and add the path of your 64 bit IMSL include. And that's it.
Pedro
When inside this menu be sure to select the x64 platform. Now go to the libraries and add the path of your 64 bit IMSL lib. After this go to the includes and add the path of your 64 bit IMSL include. And that's it.
Pedro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I did all that, compiled under 64b, etc and still get the same Error message!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
desouzasantos,
Are you absolutely sure that you have installed a 64bit version of IMSL? Have you selected the appropriate paths of this 64bit installation? If you answer yes I'm not seing what the problem could be... Could you elaborate more on the problem?
Pedro
Are you absolutely sure that you have installed a 64bit version of IMSL? Have you selected the appropriate paths of this 64bit installation? If you answer yes I'm not seing what the problem could be... Could you elaborate more on the problem?
Pedro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oh, I see. You didn't show the exact text of the error message and left out some of it. That's what confused me.
What do you have in Tools >Options > Intel Visual Fortran > Compiler, Platform: x64, Includes? Please attach a build log from a failed build.
What do you have in Tools >Options > Intel Visual Fortran > Compiler, Platform: x64, Includes? Please attach a build log from a failed build.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My license has expired, but the company that sold me the Visual Fortran license told me that I could reinstall the IMSL and Fortran in any case. Then I downloaded the last version and installed. The installation was fine. Is it possible that I do need to renew the license for the whole thing to work?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I wonder if converting my Windows 7 operational system from 64b to 32b would solve the problems.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you were to answer Steve Lionel's request for further information I am sure he will be better able to offer help.
I use IMSL on 64 bit XP with no issues. It is just a question of setting it up properly.
I use IMSL on 64 bit XP with no issues. It is just a question of setting it up properly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You do not need a new license nor a new operating system. The problem is that you have not properly configured Visual Studio for IMSL. Please provide the information I requested and I'm sure we can straighten it out. Also, please make sure that the C:\Program Files (x86)\VNI\imsl\fnl600\Intel64 folder exists.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes. I am absolutely sure that all options regarding 64 b has been set. However, the previous problem continues, i.e., the message "Error 1 error #5102: Cannot open include file 'link_fnl_static.h' C:\CeSFaMB\CeSFaMB_403\Source\Main.for 189"
The line 189 at Main routine is:
INCLUDE 'link_fnl_static.h'
I am really anxious to have this problem solved. Such did not happen in my other machine working at 32b.
On the other hand, let me ask the following:
1) I have to distribute the executable generated from the compilation to users with 32 b operating systems. Can I compile my program on 32 b?
2) If so, can I apply the win32 basis, even if using a 64b machine?
thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Steve, thank you.
The folderC:\Program Files (x86)\VNI\imsl\fnl600\Intel64 do exists in my system. However, the problem continues with message: "Error 1 error #5102: Cannot open include file 'link_fnl_static.h' C:\CeSFaMB\CeSFaMB_403\Source\Main.for 189" being issued after compilation. As I mentioned before the line 189 at Main code is:
INCLUDE 'link_fnl_static.h'
I wonder if anyone could help me. Thank you.
Marcio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Marcio,
Please attach the buildlog.html from a failed build.
Please attach the buildlog.html from a failed build.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Pedro,
Sorry to bother you again. I did add path to my 64 plataform. How can I add the path to 64 bit IMSL lib? Could you please, help. I am not an expert in operational systems, therefore I would ask you to give me all details on how that should be done. Thank you very much.
Marcio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

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