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

Asking for help: Linking vs finding procedure entry point

khoeffner
Beginner
706 Views
Hi,

I'm trying to use a thrid party CVF library, for which I don't have te source code, called DAEPACK_LIBRARY with my code (resadt.f). One of the external procedures that I need to call is AD_ZERO. The linker found the procedure in the library:


1> Found _AD_ZERO@12
1> Referenced in resadt.obj
1> Loaded DAEPACK_LIBRARY.lib(DAEPACK_LIBRARY.dll)


But if I try to execute the program I get the following error message:

"The procedure entry point _AD_ZERO@12 could not be located in the dyanmic link library DAEPACK_LIBRARY.dll."


I don't understand why the procedure entry point could not be found.

Any help is greatly appreciated.

Thanks,
Kai
0 Kudos
2 Replies
Steven_L_Intel1
Employee
706 Views
Possibly because the DLL in PATH isn't the same one that generated the .LIB you linked against. Try opening the DLL with Dependency Walker and see what it finds.
0 Kudos
Steven_L_Intel1
Employee
706 Views
Actually, have DependencyWalker analyze the EXE, not the DLL. This will tell you which DLL it is finding.
0 Kudos
Reply