--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To post to this group, send email to andro...@googlegroups.com.
To unsubscribe from this group, send email to android-ndk...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-ndk?hl=en.
I guess my inexperience with C shows - all I was missing was to
provide both the directory containing the library in LDLIBS -L and the
name of the library in LDLIBS -l, e.g.:
`LOCAL_LDLIBS += -L$(PROJECT_PATH)/libs/$(TARGET_ARCH_ABI)/
-ljnigraphics -lm -llog`
My entire reason for linking jnigraphics in this way is that it isn't
available at all in platforms prior to 2.2.
This works fine for me on a 2.1 device. So if, as it seems,
libjnigraphics has no external dependencies requiring a later platform
version, why should it be forcibly limited to those versions?
Given that ~25% of android users are still using 2.1, is it sensible
to preclude these features from them?
Regards,
Arpad
I also tried LOCAL_SHARED_LIBRARIES, having seen both in action
(indeed, in the official docs), but had equally little luck with that.
I guess my inexperience with C shows - all I was missing was to
provide both the directory containing the library in LDLIBS -L and the
name of the library in LDLIBS -l, e.g.:
`LOCAL_LDLIBS += -L$(PROJECT_PATH)/libs/$(TARGET_ARCH_ABI)/
-ljnigraphics -lm -llog`
My entire reason for linking jnigraphics in this way is that it isn't
available at all in platforms prior to 2.2.
This works fine for me on a 2.1 device. So if, as it seems,
libjnigraphics has no external dependencies requiring a later platform
version, why should it be forcibly limited to those versions?
Could you elaborate on this? I'm genuinely curious, how this approach
might not work for other users on the targeted platform.
Thanks,
Arpad
This does indeed work, thanks.
Regards,
Arpad
That makes sense, and I appreciate the clarification, thanks.
What assurance is there that this won't be broken for the 2.2 platform?
Also, how would you recommend tackling high performance graphics then?
Regards,
Arpad
That makes sense, and I appreciate the clarification, thanks.
What assurance is there that this won't be broken for the 2.2 platform?
Also, how would you recommend tackling high performance graphics then?
Regards,
Ok, thanks a lot for your help, I feel at least 50% less clueless now ;)
Cheers,
Arpad
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To post to this group, send email to andro...@googlegroups.com.
To unsubscribe from this group, send email to android-ndk...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-ndk?hl=en.