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
!      
      return
      end

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

publicaciones de 2 / 0 nuevos
Último envío
Para obtener más información sobre las optimizaciones del compilador, consulte el aviso sobre la optimización.

You need to add:

!DEC$ ATTRIBUTES DLLEXPORT :: Source1

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

Steve - Intel Developer Support

Deje un comentario

Por favor inicie sesión para agregar un comentario. ¿No es socio? Únase ya