Sorry for the late reply - was on vacation :-) To recap - I'm trying to compile oRTP for Android on WinXP with Cygwin with no success so far. See below.
On Fri, Aug 19, 2011 at 10:41 AM, Guillaume BERAUDO <
address@hidden> wrote:
>> Hi,
>> I'm trying to compile oRTP for Android. In the github repo there's no
> What github repo are you talking about?
>> configure file, only
configure.ac and the tarballs at
nongnu.org have
> Configure.ac is for non Android distributions.
>> no Android.mk file. What do I have to do to compile the sources for
> By the way, the 3.4.3 version is very old and you may better start with
> the git version. There you will find the Android.mk.
> You may also have a look to linphone-android repository.
> See
http://www.linphone.org/eng/download/git.html
So here's what I did: downloaded oRTP's source from
https://github.com/bitzeppelin/ortp, put it in my application's jni folder, ran android update project -p . -s, ran ndk-build V=1 and then got:
$ /cygdrive/c/android-ndk-r6/ndk-build V=1
/cygdrive/c/android-ndk-r6
rm -f /cygdrive/d/ORtpTest2/libs/armeabi/lib*.so /cygdrive/d/ORtpTest2/libs/armeabi-v7a/lib*.so /cygdrive/d/ORtpTest2/libs/x86/lib*.so
rm -f /cygdrive/d/ORtpTest2/libs/armeabi/gdbserver /cygdrive/d/ORtpTest2/libs/armeabi-v7a/gdbserver /cygdrive/d/ORtpTest2/libs/x86/gdbserver
rm -f /cygdrive/d/ORtpTest2/libs/armeabi/gdb.setup /cygdrive/d/ORtpTest2/libs/armeabi-v7a/gdb.setup /cygdrive/d/ORtpTest2/libs/x86/gdb.setup
Now there's no folder named "libs" under ORtpTest2, which is my app's path. Additionally, no shared objects were created. What am I doing wrong?
>> Android? I assume I somehow have to generate a configure file, run it
>> and then make & make install followed by ndk-build. Is that correct?
> No, there is no make && make install stuff on Android.
> Only ndk-build.
> Are you planning to use only the oRTP library?
What I'm trying to do is stream video from my Android device. I want to play with oRTP first, then progress to Mediastreamer2.
> Cheers,
> Guillaume
thanks,
Johnny.