From: Greg C. <gch...@sb...> - 2010-05-27 11:48:36
|
On 2010-05-27 10:34Z, relet wrote: > > I was trying to use methods from a .dll (which I currently have only in > binary form, either as .dll or .lib) The first question is whether it's a C++ library: http://www.mingw.org/wiki/MixingCompilers > for which reasons could I still get a "undefined reference to 'Lib_Init()' > upon linking > either by providing the libmylib.a file directly, or using -L. -lmylib? Maybe the library doesn't contain a symbol with that exact name, e.g., due to C++ name mangling. |