Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29285 Discussions

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

maemarcus
Beginner
411 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
411 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