Hi Jim,<br><br>Thanks for your reply. I could compile speex with CCS v4 using .pjt file. I also tested sample encoding example.<br><br>Vijay<br><br><div class="gmail_quote">On Fri, Apr 16, 2010 at 4:11 PM, Jim Crichton <span dir="ltr"><<a href="mailto:jim.crichton@comcast.net">jim.crichton@comcast.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff">
<div><font face="Arial" size="2">Vijay,</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">I used Code Composer Studio 3.x to directly build 
everything.  There could certainly be issues with the ./configure, make, 
make install process.  There are .pjt files supplied to build in the 
CCS simulator, so I suggest that you try that.  The c55x option is just a 
compile switch, which deals with the fact that this platform has a 16-bit 
"byte", among other things.</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">Regards,</font></div>
<div><font face="Arial" size="2"></font> </div><font color="#888888">
<div><font face="Arial" size="2">Jim Crichton</font></div>
</font><blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-left: 5px; padding-right: 0px; margin-left: 5px; margin-right: 0px;"><div><div></div><div class="h5">
  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">----- Original Message ----- </div>
  <div style="background: rgb(228, 228, 228) none repeat scroll 0% 0%; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">
<b>From:</b> 
  <a title="vijay.gabale@gmail.com" href="mailto:vijay.gabale@gmail.com" target="_blank">Vijay 
  Gabale</a> </div>
  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>To:</b> <a title="yates@ieee.org" href="mailto:yates@ieee.org" target="_blank">Randy Yates</a> </div>
  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Cc:</b> <a title="speex-dev@xiph.org" href="mailto:speex-dev@xiph.org" target="_blank">speex-dev@xiph.org</a> </div>
  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Sent:</b> Saturday, April 10, 2010 4:19 
  AM</div>
  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Subject:</b> Re: [Speex-dev] running speex on 
  c5505 usb sticki</div>
  <div><br></div>Hi Randy,<br><br>Thanks for reply. I have one question 
  though.<br><br>While compiling the speex (downloaded from <a href="http://downloads.xiph.org/releases/speex/speex-1.2rc1.tar.gz" target="_blank">http://downloads.xiph.org/releases/speex/speex-1.2rc1.tar.gz</a>), 
  I gave <font size="4">./configure -enable-ti-c55x</font> option  and then 
  built the library through make and make install using cygwin. In this case, I 
  get this error "<span style="font-size: medium;">error: member "bits.o" of 
  archive "c:/cygwin/usr/local/lib/libspeex.a" is not recognized object 
  file</span>"<br><br>Enabling c55x option while configuring the speex is not 
  supposed to tackle this problem?<br><br>Awaiting your 
  reply.<br><br>Regards,<br>Vijay<br><br>
  <div class="gmail_quote">On Fri, Apr 9, 2010 at 11:04 PM, Randy Yates <span dir="ltr"><<a href="mailto:yates@ieee.org" target="_blank">yates@ieee.org</a>></span> 
  wrote:<br>
  <blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">Oh my.<br><br>The c:/Program Files/Speex/libspeex.lib file 
    is a Windows/x86 library<br>file. The code within this files is not C55x 
    binary but x86 binary.<br>Further, the format of a Windows/x86 library file 
    is different from that<br>produced by the C55x code generation tools' 
    archive utility, and that is<br>what the linker is complaining 
    about.<br><br>As far as I know, there is no pre-developed C55x speex 
    library, so<br>you'll have to build it yourself.<br><br>--Randy<br>
    <div>
    <div></div>
    <div><br><br>Vijay Gabale <<a href="mailto:vijay.gabale@gmail.com" target="_blank">vijay.gabale@gmail.com</a>> 
    writes:<br><br>> Hi,<br>><br>> I am currently working on C5505 USB 
    stick<br>> <a href="http://focus.ti.com/docs/toolsw/folders/print/tmdx5505ezdsp.html" target="_blank">http://focus.ti.com/docs/toolsw/folders/print/tmdx5505ezdsp.html</a> 
    to sample<br>> input voice and encode it. For compiling and buring usual 
    programs, I am<br>> using CCStudio 4.0.<br>><br>> For encoding 
    voice samples, I am using Speex codec binary<br>> <a href="http://downloads.xiph.org/releases/speex/speex-1.2beta3-win32.zip" target="_blank">http://downloads.xiph.org/releases/speex/speex-1.2beta3-win32.zip</a> 
    or<br>> <a href="http://downloads.us.xiph.org/releases/speex/speex_win32_1.0.4_setup.exe" target="_blank">http://downloads.us.xiph.org/releases/speex/speex_win32_1.0.4_setup.exe</a>. 
    I<br>> could include "speex/speex.h" without any compilation 
    error.<br>><br>> But as soon as I insert any speex function call 
    like<br>> "speex_bits_init(&bits)", the linker throws error something 
    like this "error:<br>> Corrupt member header: 'C:/Program 
    Files/Speex/libspeex/libspeex.lib'" I<br>> have included following things 
    for compilation and linking in CC Studio IDE:<br>><br>> 1. project 
    -> properties -> C5500 compiler -> include options : added 
    path<br>> to speex/speex.h<br>><br>> 2. project -> properties 
    -> c5500 linker -> fie search path : added<br>> libspeex.lib and 
    added path "c:/Program Files/Speex/libspeex" to<br>> 
    library-search-path.<br>><br>> Any ideas as to how to make speex code 
    work with C5505 USB stick. The error<br>> I have mentioned seems to be 
    linking error.<br>><br>> Awaiting your replies.<br>><br>> 
    Vijay<br></div></div>> 
    _______________________________________________<br>> Speex-dev mailing 
    list<br>> <a href="mailto:Speex-dev@xiph.org" target="_blank">Speex-dev@xiph.org</a><br>> <a href="http://lists.xiph.org/mailman/listinfo/speex-dev" target="_blank">http://lists.xiph.org/mailman/listinfo/speex-dev</a><br>
<font color="#888888"><br>--<br>Randy Yates           
               % "She's sweet on Wagner-I think 
    she'd die for Beethoven.<br>Digital Signal Labs         
         %  She love the way Puccini lays down a tune, 
    and<br>mailto://<a href="mailto:yates@ieee.org" target="_blank">yates@ieee.org</a>   
           %  Verdi's always creepin' from her 
    room."<br><a href="http://www.digitalsignallabs.com" target="_blank">http://www.digitalsignallabs.com</a> % "Rockaria", *A New 
    World Record*, ELO<br></font></blockquote></div><br>
  </div></div><p>
  </p><hr><div class="im">
  <p></p>_______________________________________________<br>Speex-dev mailing 
  list<br><a href="mailto:Speex-dev@xiph.org" target="_blank">Speex-dev@xiph.org</a><br><a href="http://lists.xiph.org/mailman/listinfo/speex-dev" target="_blank">http://lists.xiph.org/mailman/listinfo/speex-dev</a><br></div>
</blockquote></div>
</blockquote></div><br>