- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I created this fortran DLL using command line IFORT and LIB. I used:
ifort /nologo /debug:full /Od /gen-interfaces /warn:interfaces /traceback /check:bounds /libs:dll /threads /dbglibs /c /Qvc9 /Qlocation,link,"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin" "D:\temp\1\Source3B.f90"
Link /OUT:"Dll1.dll" /INCREMENTAL:NO /NOLOGO /MANIFEST /MANIFESTFILE:"D:\temp\1\Dll1\Debug\Dll1.dll.intermediate.manifest" /DEBUG /PDB:"D:\temp\1\Dll1\Debug\Dll1.pdb" /SUBSYSTEM:WINDOWS /IMPLIB:"D:\temp\1\Dll1\Debug\Dll1.lib" /DLL "Source3B.obj"
When I used the dll with my c++ main program I get a System Error saying cant start because MSVCR90D.DLL is missing.
However when I use MS VS 2008 to create my dll the main program runs perfectly could you please explain to me how I can use the command line option to create the dll so that it runs with my main program
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In three earlier similar posts the underlying issue appeared related to the manifest.
https://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows/topic/282226
https://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows/topic/289458
https://software.intel.com/en-us/forums/intel-moderncode-for-parallel-architectures/topic/292214
From your compile/link command-lines you posted, you are producing that (via /MANIFEST and /MANIFESTFILE) but perhaps what is lacking is the MT step to embed that.
I recommend that you inspect the build log under VS2008 which you indicated produces a working program/DLL to ensure that you are replicating all the steps in the log for building both the DLL and the main program.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page