Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. dll project does not output a .lib file

dll project does not output a .lib file

Scheduled Pinned Locked Moved C / C++ / MFC
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Themis
    wrote on last edited by
    #1

    Hi, I have a solution with some projects that produce dlls. However some of these projects also generate a .lib file for their respective dll in order for another project to link with dll at linking-time. However some other dll projects do not provide me a .lib file. Why does this happen? At first I thought I missed an option at the property page of the latter projects but this is not the case, as I compared the property pages finding no such differences. What should I do in order for all my dll projects provide me with a lib file? Thank you. PS - I'm using VS2005

    N 1 Reply Last reply
    0
    • T Themis

      Hi, I have a solution with some projects that produce dlls. However some of these projects also generate a .lib file for their respective dll in order for another project to link with dll at linking-time. However some other dll projects do not provide me a .lib file. Why does this happen? At first I thought I missed an option at the property page of the latter projects but this is not the case, as I compared the property pages finding no such differences. What should I do in order for all my dll projects provide me with a lib file? Thank you. PS - I'm using VS2005

      N Offline
      N Offline
      Nish Nishant
      wrote on last edited by
      #2

      Typically, this means that you are not exporting anything from the DLL. Is that the case? Regards, Nish

      My blog : Nish’s thoughts on MFC, C++/CLI and .NET

      T 1 Reply Last reply
      0
      • N Nish Nishant

        Typically, this means that you are not exporting anything from the DLL. Is that the case? Regards, Nish

        My blog : Nish’s thoughts on MFC, C++/CLI and .NET

        T Offline
        T Offline
        Themis
        wrote on last edited by
        #3

        Yeap actually that was the case, I forgot to export the symbols. Thanks for the tip, I could have gone days without realizing it.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups