DLL created but no LIB

DLL created but no LIB

I've created a new Fortran DLL project. After it has compiled and linked a DLL file was created but no LIB file. I don't know what I have to do, so that the LIB file will be created.

Here my sample code:

      subroutine Source1(beta) BIND(C)
      use, intrinsic :: ISO_C_BINDING
      implicit none
       real (C_DOUBLE), intent(inout) :: beta

and the properties:
/OUT:"Debug\Dll1.dll" /INCREMENTAL:NO /NOLOGO /MANIFEST /MANIFESTFILE:"c:\users\roberto\documents\visual studio 2010\Projects\test_character\Dll1\Debug\Dll1.dll.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"c:\users\roberto\documents\visual studio 2010\Projects\test_character\Dll1\Debug\Dll1.pdb" /SUBSYSTEM:WINDOWS /IMPLIB:"c:\users\roberto\documents\visual studio 2010\Projects\test_character\Dll1\Debug\Dll1.lib" /DL

2 Beiträge / 0 neu
Letzter Beitrag
Nähere Informationen zur Compiler-Optimierung finden Sie in unserem Optimierungshinweis.
Bild des Benutzers Steve Lionel (Intel)

You need to add:


If you don't DLLEXPORT any names, then the linker doesn't create the library.


Melden Sie sich an, um einen Kommentar zu hinterlassen.