Firefox NPAPI Xcode link errors
问题 I'm trying to build a Firefox plugin for Mac OSX, it build well but I don't understand why the linker failed. Here is the log of the linker: Undefined symbols: "_NPN_ReleaseVariantValue", referenced from: _NPP_New in npp_gate.o _NPP_New in npp_gate.o "_NPN_MemAlloc", referenced from: String2Variant(_NPVariant*, char const*)in plugin.o "_NPN_GetValue", referenced from: _NPP_New in npp_gate.o "_NPN_ReleaseObject", referenced from: CPlugin::~CPlugin()in plugin.o CPlugin::~CPlugin()in plugin.o "