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. Visual Studio
  4. dll build is missing lib file (VS2003)

dll build is missing lib file (VS2003)

Scheduled Pinned Locked Moved Visual Studio
question
2 Posts 1 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.
  • B Offline
    B Offline
    Bangerman
    wrote on last edited by
    #1

    I have a solution with a large number of dll's in it. I just added a new one using the wizard and everything builds nicely. However, even though there is a specified output .lib file included the file is never generated and there are no warnings. I have checked the properties of the failing dll with one for a good dll and everything (apart from the dll/lib name) is identical, yet, still no lib. The dll,ilk,pdb is built but not the exp or lib. I have searched the entire PC drives for the file and yet still nothing. :mad: Has anyone else seen this and if so how did you solve it ?!? TIA Richard


    Hell I thought it was funny .....

    B 1 Reply Last reply
    0
    • B Bangerman

      I have a solution with a large number of dll's in it. I just added a new one using the wizard and everything builds nicely. However, even though there is a specified output .lib file included the file is never generated and there are no warnings. I have checked the properties of the failing dll with one for a good dll and everything (apart from the dll/lib name) is identical, yet, still no lib. The dll,ilk,pdb is built but not the exp or lib. I have searched the entire PC drives for the file and yet still nothing. :mad: Has anyone else seen this and if so how did you solve it ?!? TIA Richard


      Hell I thought it was funny .....

      B Offline
      B Offline
      Bangerman
      wrote on last edited by
      #2

      Why is it that right after writing a post, the post makes you think of something else to check and tadaa you find the problem. :-O The problem was, I had forgotton to actually export the function that the DLL was supplying. No exports means no lib. Although a compiler message to that end would have saved me considerable time, after all why would I create a dll with no exported functions !


      Hell I thought it was funny .....

      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