- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I am using Visual Fortran 11.1 and IMSL 6.0. I need create an exe file (prompt application) to execute in other computers without Visual Fortran and IMSL. Nowdays, when I do it, a receive a messagem warning that the imsl_dll.dll file was not found. How can I link the necessary static files from IMSL to my application.
Thanks for any help
Felicio.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You would need to specify the static IMSL libraries. If you are using an INCLUDE file such as 'link_fnl_shared.h', change that to the following:
include 'link_fnl_static.h'
!DEC$ OBJCOMMENT:'libiomp5mt.lib'
If you have enabled OpenMP in your application, do not use the OBJCOMMENT directive and instead add:
/Qopenmp-link:static
under Fortran > Command Line > Additional Options
If instead you are explicitly naming the IMSL libraries for the linker, use the static library set instead.
Alternatively, you can copy imsl_dll.dll to the other system and place it alongside the EXE.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
First of all, thank you for your explanation.
I includedINCLUDE 'link_fnl_static.h' as you stated, but another problem have taken place:
- when I build the solution the following 37 erros appears. The first one is, for example:
"Error 1 error LNK2019: unresolved external symbol ___kmpc_global_thread_num referenced in function _E1LOCK imsls_err.lib(e1lock.obj)"
The other ones are similar.
The only thing that I have changed in my code was replacinglink_fnl_shared.h bylink_fnl_static.h.
Thank you in advance,
Felcio.
- 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
- 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
Maybe I'm not understanding your instructions.
According to your suggestions I did the following:
- I added
- 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
Well, you are right. Now everything is ok.
Thank you,
Felicio.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page