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. A zillion LNK4204 warnings...

A zillion LNK4204 warnings...

Scheduled Pinned Locked Moved C / C++ / MFC
debuggingquestionlounge
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.
  • D Offline
    D Offline
    dontknowitall
    wrote on last edited by
    #1

    "... is missing debugging information for referencing module; linking object as if no debug info." Here's what I'm doing: 1) I have a third-party library that I am building as a separate solution. It generates .lib and .pdb files. 2) I have a library that I've written that I use in all my solutions. So, logically, I should be able to take the third-party .lib and .pdb files and add the .lib to my .lib's dependency chain (Properties->Librarian->General->Additional Dependencies) and build and everything should be okay. But it isn't. For whatever reason, despite specifically generating a unique name for the .pdb file for the third-party .lib, I still get LNK4204 warnings. Is there a way to get the linker or librarian to include the contents of another .pdb file into another executable/library .pdb file?

    R 1 Reply Last reply
    0
    • D dontknowitall

      "... is missing debugging information for referencing module; linking object as if no debug info." Here's what I'm doing: 1) I have a third-party library that I am building as a separate solution. It generates .lib and .pdb files. 2) I have a library that I've written that I use in all my solutions. So, logically, I should be able to take the third-party .lib and .pdb files and add the .lib to my .lib's dependency chain (Properties->Librarian->General->Additional Dependencies) and build and everything should be okay. But it isn't. For whatever reason, despite specifically generating a unique name for the .pdb file for the third-party .lib, I still get LNK4204 warnings. Is there a way to get the linker or librarian to include the contents of another .pdb file into another executable/library .pdb file?

      R Offline
      R Offline
      Rajkumar R
      wrote on last edited by
      #2

      Does the third party lib uses default pdb file name.

      D 1 Reply Last reply
      0
      • R Rajkumar R

        Does the third party lib uses default pdb file name.

        D Offline
        D Offline
        dontknowitall
        wrote on last edited by
        #3

        From my original message, "despite specifically generating a unique name for the .pdb file for the third-party .lib, I still get LNK4204 warnings" If it were that simple I wouldn't be asking.

        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