--
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.
Olivier
On 07/15/2010 03:04 PM, Ngo Van Luyen wrote:
> Hi,
>
> where we can find these libs in the source tree? I downloaded Android
> source code
> from: http://git.source.android.com/?p=platform/frameworks/base.git;a=snapshot;h=HEAD;sf=tgz
>
> thanks,
>
>
> 2010/7/15 appforce.org <http://appforce.org> <ogi.a...@gmail.com
> <mailto:ogi.a...@gmail.com>>
>
> Some of these are already in Android's source tree, and you can pick
> them up as static libraries. For ffmpeg there are tutorials over the
> net, I don't know about SpiderMonkey.
>
> On Jul 15, 11:46 am, gacon <nvluye...@gmail.com
> <mailto:nvluye...@gmail.com>> wrote:
> > hi all,
> >
> > I need some popular libs (I think) for my project: libffmpeg,
> > libfreetype, libjs (spidermonkey), libogg, libpng, libjpg,
> > libOpenJPEG, zlib. I don't know if these libs were supported on
> > android and we can load them from NDK?
> >
> > Thanks,
>
> --
> 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
> <mailto:andro...@googlegroups.com>.
> To unsubscribe from this group, send email to
> android-ndk...@googlegroups.com
> <mailto:android-ndk%2Bunsu...@googlegroups.com>.
hi,I downloaded some libs from this repository and tried to compiled them. With the libs that have only one include $(BUILD_SHARED_LIBRARY) (or static) in the Android.mk, everything is ok. But with the libs that have more than one include, ex:[CODE]LOCAL_MODULE := libzLOCAL_CFLAGS += -O3 -DUSE_MMAPLOCAL_SRC_FILES := $(zlib_files)include $(BUILD_SHARED_LIBRARY)include $(CLEAR_VARS)LOCAL_ARM_MODE := armLOCAL_MODULE := libzLOCAL_CFLAGS += -O3 -DUSE_MMAPLOCAL_SRC_FILES := $(zlib_files)include $(BUILD_STATIC_LIBRARY)include $(CLEAR_VARS)...[/CODE]I got the message:[CODE]gacon@gacon-laptop:~/workspace/zlibdroid/jni$ ndk-buildAndroid NDK: Trying to define local module 'z' in /home/gacon/workspace/zlibdroid/jni/Android.mk.Android NDK: But this module was already defined by /home/gacon/workspace/zlibdroid/jni/Android.mk./home/gacon/android/android-ndk-r4b/build/core/build-static-library.mk:33: *** Android NDK: Aborting. . Stop.[/CODE]How to fix this? Thanks,Luyen,