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 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

You need to add:


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

Retired 12/31/2016

Leave a Comment

Please sign in to add a comment. Not a member? Join today