I have written a small node C++ addon. On Linux I could compile and use it (with the help of node-gyp
). But now I'd like to test the addon on my phone(armv7
), so I compile and link it with cross-compiler, libv8.so
and libnode.so
(arm architecture
), then push it into phone.
But on adb shell
I get the error info when using it:
node: symbol lookup error: /bitmap.node: undefined symbol:
_ZN6bitmap9ImageData4InitEN2v85LocalINS1_6ObjectEEE
which means bitmap::ImageData::Init(v8::Local<v8::Object>)
cannot be found...
Why and how should I solve it? Thank you in advance!