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

C++ <-> Fortran staticaly linked, but dll is required - why?

maemarcus
Beginner
370 Views
Hello,

I've got a solution containing one IVF 10.1.019 static library, several MVC++ 9.0 static libraries and one executable. All projects runtimes are set to debug multithreaded (/MTd or /libs:static /threads /dbglibs). After this, I'm suprised to see an error when running the executable : "This application has failed to start because dll was not found". The requested dll has the same name as one of my static libraries, say Transport.lib. So, I'm linking statically, but it requires dynamic library! Am I mistaking somewhere?..

Thanks,

Marcus.
0 Kudos
1 Reply
maemarcus
Beginner
370 Views
Sorry, here is my fault : got a definition (.def) file in Transport static library project properties. This def file exports significant symbols. I've removed it, then the error dissapeared.
0 Kudos
Reply