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

DLL cannot be loaded on other machine

rinkeke
初学者
969 次查看
Hi,

I compiled a dll with the FORTRAN 11 compiler under visual studio 2005, using the IMSL 6 libraries which I linked statically. It compiles and the program works fine on my computer. However, on my other computer, on which VS 2005 and IMSL 6 are not installed, I get an error message that the dll cannot be loaded. Previously, I used MS Visual studio .net 2003, FORTRAN 8 and IMSL 5 and under that configuration a compiled dll worked fine on other machines. I've checked all the includes, library settings etc, but cannot find the cause of this problem. Any suggestions are very welcome.

Thanks, Rinke
0 项奖励
1 解答
Steven_L_Intel1
969 次查看
0 项奖励
5 回复数
Steven_L_Intel1
969 次查看
Standard advice - run Dependency Walker on the DLL to see what it depends on. Even if you're using the static IMSL, you'll be linked against the DLL form of the OpenMP run-time, libiomp5md.dll.
0 项奖励
rinkeke
初学者
969 次查看
Standard advice - run Dependency Walker on the DLL to see what it depends on. Even if you're using the static IMSL, you'll be linked against the DLL form of the OpenMP run-time, libiomp5md.dll.

Hi Steve,

Thanks, I ran DW and indeed I found that the link to libiomp5md.dll is missing. Do you know any way to get around that? I tried to put it in the additional dependencies list, but that gives fatal errors because of reading rights.

Rinke
0 项奖励
rinkeke
初学者
969 次查看
Standard advice - run Dependency Walker on the DLL to see what it depends on. Even if you're using the static IMSL, you'll be linked against the DLL form of the OpenMP run-time, libiomp5md.dll.

0 项奖励
Steven_L_Intel1
970 次查看
0 项奖励
rinkeke
初学者
969 次查看
Thanks ! You make my day
0 项奖励
回复