sh************@gmail.com wrote:
I'm very familiar with a LNK2005 error resulting from symbols that *I*
defined more than once, and with using 'extern' to circumvent that
problem.
That's not what's happening here, though. LIBID_MISOLib isn't a symbol
or variable, it's a library that the compiler is creating. Thus, I'm
clueless as to the cause of the linker error.
If your linker says that something is multiply defined, it _is_ a symbol.
There is nothing except a symbol that can be multiply defined. Period.
Apparently something in your MISO_i.obj is the result of defining that
symbol, as well as in MISO.obj. That's what your linker is telling you.
It's a different story whether you can do anything about it.
If it's not your symbol, it must come from a header you include directly
or indirectly. Check all headers for that symbol. Rebuild all. Blow
away all precompiled headers before doing that...
If that doesn't help, contact the creators of the library you think is
the culprit. Post to microsoft.public.vc.language if you think you need
more explanation about compiler-specific ways dealing with libraries.
V