virtual machine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

      First, Install ADT Bundle For Linux,
adt-bundle-linux-x86-20130522.zip<http://dl.google.com/android/adt/adt-bundle-linux-x86-20130522.zip>
      Second, Install Android NDK,
android-ndk-r8e-linux-x86.tar.bz2<http://dl.google.com/android/ndk/android-ndk-r8e-linux-x86.tar.bz2>

       PATH=<Path to Android NDK>:$PATH
       export PATH


   1.

   Download port audio from http://www.portaudio.com/download.html (
   pa_stable_v19_20111121.tgz<http://www.portaudio.com/archives/pa_stable_v19_20111121.tgz>)
   - Download this
   2.

   yum install alsa-lib-devel
   3.

   Build Port Audio in the directory - /home/deepak/portaudio


   -

      ./configure
      -

      make
      - make install



4. svn co http://svn.pjsip.org/repos/pjproject/trunk pjproject

4A.
Set your config_site.h<http://trac.pjsip.org/repos/wiki/Getting-Started/Build-Preparation>to
the following:

#define PJ_CONFIG_ANDROID 1
#include <pj/config_site_sample.h>

The config_site.h should be in pjsip/pjproject/pjlib/lib/inlcude

4B. Run ./configure-android, make, make install

4C. Please make sure you have SWIG Installed

Put the swig binary location in the PATH=<PATH TO SWIG BINARY>:$PATH

4D. Run ndk-build from the android-ndk-r8e directory

4E. Create Android project from pjsua. In Eclipse:

   1.
      1. From menu: *File* --> *New* --> *Project*
      2. Select *Android Project from Existing Code*, press *Next*
      3. In *Root Directory*, put the location of *pjsua* source code (i.e.
      $PJDIR/pjsip-apps/src/pjsua/android) and press *Finish*





Deepak Bhatia
Software Consultant
Voxomos Systems Pvt. Limited
Mobile: 91 9811196957
C56A/27, Sector 62, NOIDA (NCR), UP, India
Skype: toreachdeepak


On Mon, Jul 8, 2013 at 3:57 PM, mohamed kalboussi <
kalboussi.mohamed at gmail.com> wrote:

> Hi.
> due to a many problems with compiling pjsip project on android please can
> any body prepare a virtual machine for us so we will not find this
> difficulties please it's so urgent.
> thanks.
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20130708/36c6822f/attachment-0001.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux