Page 1 of 1

Discovery: Libdump! Kills linker errors dead!

Posted: Wed Oct 19, 2005 7:02 pm
by daddydave
Found a great free tool called Libdump (scroll down) by George Poulose for resolving pesky linker errors. It runs on Windows only (although source is available). It is not wxWidgets specific and it seems to work for both Microsoft .lib files and mingw .o and .a files. Has a great "Find Symbol in Files" action that will happily search a whole directory tree of lib files for that pesky function name the linker isn't finding. Then add that lib file to the linker options.

It preserves name mangling so you can see the difference between C vs C++ functions (so it's educational, too!). For this reason, it's good to enter partial names (without the class name) unless you are intimately familliar with the name mangling scheme of your compiler. (In Microsoft C++ you can also search for member@class if you are looking for class::member)

In the author's own words, "LibDump is a Win32 and COM utility tool. It lets you display the content of library files [Common Object File Format (COFF)-formats] and COM type libraries. The tool also lets you scan for a particular symbol across multiple .LIB files or COM type libraries (.tlb;.olb;.dll;.ocx;.exe)."