I have an application, and a static library. The library appears to build just fine - it certainly compiles my foo
and bar
and geewhizz
functions just fine, and creates the static library without any errors or warnings.
However, when the application builds and links to the static library, it manages to link to functions foo
and bar
but cannot find function geewhizz
. How can I tell if geewhizz
made it into the library? I can't see any /map
option for libraries like there is for building the applications. And it is pointless using the \map
option when building the application, because it can't find my geewhizz
function, and has no basis to report on it.
I am working with a mixture of C and C++, and I suspect there is probably a function name mangling/translation issue, or calling convention issue, that is causing the problem, so I think having a list of the functions included in the library should be able to shine light on that. But if there is any more general advice for resolving such issues, I'd be pleased to hear it.