title: Linphone Compile on Windows 8
body: <p>I am building Linphone application for android. I am working in Windows 8 64-Bit OS</p>
  
  <p>I Followed the steps given in README file:</p>
  
  <pre><code>Download the Android ndk (&gt;=r5c) from google.
  Install the autotools: autoconf, automake, aclocal, libtoolize pkgconfig
  
  Run the ./prepare_sources.sh script in the top level directory. This will download iLBC source files and convert some assembly files in VP8 project.
  $ ./prepare_sources.sh
  
  Finally from directory linphone-android, just execute command:
  $ ${my google ndk directory}/ndk-build
  </code></pre>
  
  <p>then i get following error in Cygwin terminal:  </p>
  
  <blockquote>
    <p>$ ./prepare_sources.sh
    ./prepare_sources.sh: line 2: $'\r': command not found
    ./prepare_sources.sh: line 3: C:UsersNomsDesktoplinphone-android: command not found
    ./prepare_sources.sh: line 4: $'\r': command not found
    ./prepare_sources.sh: line 29: syntax error near unexpected token <code>$'\r''
    ./prepare_sources.sh: line 29:</code>cd $topdir/submodules/libilbc-rfc3951 &amp;&amp; ./autog'n.sh &amp;&amp; ./configure &amp;&amp; make || ( echo "iLBC prepare stage failed" ; exit 1 )</p>
  </blockquote>