2018-04-07, 14:42
Hello guys, once more i need your help!
After many tries, i succefully built my module for windows/linux os using pybind11.
Now it's time to port my lib to android!! And here's the pain... Again!!
Reading some documentation, i found a good tutorial, (i think someone of you, should knows it very well)!!
So i tried with ndk-build from android-ndk(r16), but i got a ton of errors.
In my jni folder i created Android.mk and Application.mk
Running ndk-build command from jni folder, i get ndk.log
Relevant part (at least for what i understood!):
What i can see, it's __LP64__ is defined in signal.h import, but it shouldn't, since my build target should be armeabi-v7a.
I think i'm am missing something...
Do you think i am using the right approach? Or there's something better to compile c++ libs?
Thank you again in advance! And... as always if you need more infos, just ask!
After many tries, i succefully built my module for windows/linux os using pybind11.
Now it's time to port my lib to android!! And here's the pain... Again!!
Reading some documentation, i found a good tutorial, (i think someone of you, should knows it very well)!!
So i tried with ndk-build from android-ndk(r16), but i got a ton of errors.
In my jni folder i created Android.mk and Application.mk
Running ndk-build command from jni folder, i get ndk.log
Relevant part (at least for what i understood!):
Code:
/opt/android-ndk/sysroot/usr/include/signal.h:96:18: error: expected ';' at end of declaration list
sighandler_t sa_handler;
What i can see, it's __LP64__ is defined in signal.h import, but it shouldn't, since my build target should be armeabi-v7a.
I think i'm am missing something...
Do you think i am using the right approach? Or there's something better to compile c++ libs?
Thank you again in advance! And... as always if you need more infos, just ask!