Tuesday, December 14, 2010
Android NDK r5 modification for ffmpeg-android
Change asm to __asm__ at line 25 in android-ndk-r5/platforms/android-3/arch-arm/usr/include/asm/byteorder.h
Environment variable PATH location
Environment variable PATH location: /etc/paths
To export other variable, ie. NDK, adding it to ~/.profile. something like this
export NDK=~/Library/android-ndk-r4b
Or
vi ~/.bashrc
PATH=/opt/crosstool/arm-none-linux-gnueabi-4.4.0_ARMv5TE/bin:$PATH
To export other variable, ie. NDK, adding it to ~/.profile. something like this
export NDK=~/Library/android-ndk-r4b
Or
vi ~/.bashrc
PATH=/opt/crosstool/arm-none-linux-gnueabi-4.4.0_ARMv5TE/bin:$PATH
Tuesday, November 30, 2010
Notes to link the shared library in native C code
Notes to link the shared library in native C code:
Ex. libtest.so
. Add LOCAL_SHARED_LIBRARY := libtest.so in Android.mk
. Add LOCAL_LDLIBS := -ldl in Android.mk
. Copy libtest.so to PROJECT_DIR/obj/local/armeabi
Subscribe to:
Posts (Atom)
Check clients which connect to Mac OS X Wi-Fi Internet Sharing
arp -i bridge100 -a bridge100 may be different on your Mac OSX
-
For Mac OS: Use lipo. Ex. lipo -info staticLibrary.a For Linux OS: Use file Ex. file staticLibrary.c
-
[轉貼]用GCC自製Library 引用 : PTT 看板 : LinuxDev ( 作者 : cole945) Library 可分成三種, static 、 shared 與 dynamically loaded 。 1. Static libr...
-
1. Create an account on TestFlight ( http://testflightapp.com ) and with "Developer" option checked. 2. Log in to the TestFlight ...