<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Link Error Attempting to use Speech Codecs in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Link-Error-Attempting-to-use-Speech-Codecs/m-p/831327#M5563</link>
    <description>I am running into problems in attempting to build some of the sample code from the:&lt;DIV&gt;ipp-samples\\speech-codecs\\uscmanual.pdf&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I have built the solution:&lt;/DIV&gt;&lt;DIV&gt;ipp-samples\\speech-codecs\\application\\usc_speech_codec\\usc_speech_codec.sln&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;and have linked to the .lib files that are being built which are put in:&lt;/DIV&gt;&lt;DIV&gt;\\ipp-samples\\speech-codecs\\_bin\\Win32\\Release&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;The problem I am running into is getting this line to work properly:&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;extern USC_Fxns USC_G729I_Fxns;  &lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;USC_Fxns *USC_Gxxx_Fnxs = &amp;amp;USC_G729I_Fxns;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I keep getting link errors stating somethign to the effect of:&lt;/DIV&gt;&lt;DIV&gt;unresolved external symbol "struct USC_Fxns USC_G729I_Fxns"&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I tried searching the forums for a resolution to this and came across this thread:&lt;/DIV&gt;&lt;DIV&gt;&lt;A href="http://origin-software.intel.com/en-us/forums/showthread.php?t=57722&amp;amp;o=d&amp;amp;s=lr"&gt;http://origin-software.intel.com/en-us/forums/showthread.php?t=57722&amp;amp;o=d&amp;amp;s=lr&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Which had a line that I tried here:&lt;/DIV&gt;&lt;BLOCKQUOTE&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 12px; border-collapse: collapse; font-weight: 200; line-height: 16px;"&gt;The real reason for your error is that the sample code in the USC manual is incorrect.&lt;BR style="font-family: arial, sans-serif; padding: 0px; margin: 0px;" /&gt;extern USC_Fxns USC_G729I_Fxns is not needed anymore in IPP 6.0&lt;BR style="font-family: arial, sans-serif; padding: 0px; margin: 0px;" /&gt;It will cause an error.&lt;BR style="font-family: arial, sans-serif; padding: 0px; margin: 0px;" /&gt;Use &amp;amp;USC_G729I_Fxns directly.&lt;BR style="font-family: arial, sans-serif; padding: 0px; margin: 0px;" /&gt;&lt;BR style="font-family: arial, sans-serif; padding: 0px; margin: 0px;" /&gt;You also need to add at the top:&lt;BR style="font-family: arial, sans-serif; padding: 0px; margin: 0px;" /&gt;#include "usc.h"&lt;BR style="font-family: arial, sans-serif; padding: 0px; margin: 0px;" /&gt;#include "usc_objects_decl.h"&lt;BR style="font-family: arial, sans-serif; padding: 0px; margin: 0px;" /&gt;&lt;BR style="font-family: arial, sans-serif; padding: 0px; margin: 0px;" /&gt;You also need to define in your build:&lt;BR style="font-family: arial, sans-serif; padding: 0px; margin: 0px;" /&gt;_USC_G729 if you want to only use this codec.&lt;BR style="font-family: arial, sans-serif; padding: 0px; margin: 0px;" /&gt;or&lt;BR style="font-family: arial, sans-serif; padding: 0px; margin: 0px;" /&gt;_USC_CODECS if you plan to use all of the codecs.&lt;BR style="font-family: arial, sans-serif; padding: 0px; margin: 0px;" /&gt;&lt;BR style="font-family: arial, sans-serif; padding: 0px; margin: 0px;" /&gt;See usc_objects_decl.h for other defines.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I also tried the other suggestion on this thread:&lt;/DIV&gt;&lt;BLOCKQUOTE&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 12px; border-collapse: collapse; font-weight: 200; line-height: 16px;"&gt;&lt;P style="font-family: Arial, sans-serif; margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; font-weight: normal; font-size: 1em; line-height: 16px; padding: 0px;"&gt;Dear Customer,&lt;/P&gt;&lt;P style="font-family: Arial, sans-serif; margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; font-weight: normal; font-size: 1em; line-height: 16px; padding: 0px;"&gt;You may need to link the usc.lib from ipp-samplesspeech-codecs&amp;#8;inwin32lib , this library is generated after building the USC sample. The USC_G729I_Fxnsis defined in the uscg729i.c file, which contains in usc.lib.&lt;BR style="font-family: arial, sans-serif; padding: 0px; margin: 0px;" /&gt;&lt;BR style="font-family: arial, sans-serif; padding: 0px; margin: 0px;" /&gt;Hope it helps and if you still have questions, please submit a support issue in Intel Premier Support.&lt;BR style="font-family: arial, sans-serif; padding: 0px; margin: 0px;" /&gt;&lt;BR style="font-family: arial, sans-serif; padding: 0px; margin: 0px;" /&gt;Thanks,&lt;BR style="font-family: arial, sans-serif; padding: 0px; margin: 0px;" /&gt;Ying&lt;/P&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;P style="font-family: Arial, sans-serif; margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; font-weight: normal; font-size: 1em; line-height: 16px; padding: 0px;"&gt;&lt;/P&gt;&lt;P style="font-family: Arial, sans-serif; margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; font-weight: normal; font-size: 1em; line-height: 16px; padding: 0px;"&gt;Unfortunately, neither of these suggestions are working nor are any of the other things I've attempted to try. If someone could shed some light on this issue I would greatly appreciate their time and help. Thanks in advance.&lt;/P&gt;&lt;P style="font-family: Arial, sans-serif; margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; font-weight: normal; font-size: 1em; line-height: 16px; padding: 0px;"&gt;Matt&lt;/P&gt;</description>
    <pubDate>Wed, 01 Sep 2010 15:46:29 GMT</pubDate>
    <dc:creator>mgarrettcallcopy_com</dc:creator>
    <dc:date>2010-09-01T15:46:29Z</dc:date>
    <item>
      <title>Link Error Attempting to use Speech Codecs</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Link-Error-Attempting-to-use-Speech-Codecs/m-p/831327#M5563</link>
      <description>I am running into problems in attempting to build some of the sample code from the:&lt;DIV&gt;ipp-samples\\speech-codecs\\uscmanual.pdf&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I have built the solution:&lt;/DIV&gt;&lt;DIV&gt;ipp-samples\\speech-codecs\\application\\usc_speech_codec\\usc_speech_codec.sln&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;and have linked to the .lib files that are being built which are put in:&lt;/DIV&gt;&lt;DIV&gt;\\ipp-samples\\speech-codecs\\_bin\\Win32\\Release&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;The problem I am running into is getting this line to work properly:&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;extern USC_Fxns USC_G729I_Fxns;  &lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;USC_Fxns *USC_Gxxx_Fnxs = &amp;amp;USC_G729I_Fxns;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I keep getting link errors stating somethign to the effect of:&lt;/DIV&gt;&lt;DIV&gt;unresolved external symbol "struct USC_Fxns USC_G729I_Fxns"&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I tried searching the forums for a resolution to this and came across this thread:&lt;/DIV&gt;&lt;DIV&gt;&lt;A href="http://origin-software.intel.com/en-us/forums/showthread.php?t=57722&amp;amp;o=d&amp;amp;s=lr"&gt;http://origin-software.intel.com/en-us/forums/showthread.php?t=57722&amp;amp;o=d&amp;amp;s=lr&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Which had a line that I tried here:&lt;/DIV&gt;&lt;BLOCKQUOTE&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 12px; border-collapse: collapse; font-weight: 200; line-height: 16px;"&gt;The real reason for your error is that the sample code in the USC manual is incorrect.&lt;BR style="font-family: arial, sans-serif; padding: 0px; margin: 0px;" /&gt;extern USC_Fxns USC_G729I_Fxns is not needed anymore in IPP 6.0&lt;BR style="font-family: arial, sans-serif; padding: 0px; margin: 0px;" /&gt;It will cause an error.&lt;BR style="font-family: arial, sans-serif; padding: 0px; margin: 0px;" /&gt;Use &amp;amp;USC_G729I_Fxns directly.&lt;BR style="font-family: arial, sans-serif; padding: 0px; margin: 0px;" /&gt;&lt;BR style="font-family: arial, sans-serif; padding: 0px; margin: 0px;" /&gt;You also need to add at the top:&lt;BR style="font-family: arial, sans-serif; padding: 0px; margin: 0px;" /&gt;#include "usc.h"&lt;BR style="font-family: arial, sans-serif; padding: 0px; margin: 0px;" /&gt;#include "usc_objects_decl.h"&lt;BR style="font-family: arial, sans-serif; padding: 0px; margin: 0px;" /&gt;&lt;BR style="font-family: arial, sans-serif; padding: 0px; margin: 0px;" /&gt;You also need to define in your build:&lt;BR style="font-family: arial, sans-serif; padding: 0px; margin: 0px;" /&gt;_USC_G729 if you want to only use this codec.&lt;BR style="font-family: arial, sans-serif; padding: 0px; margin: 0px;" /&gt;or&lt;BR style="font-family: arial, sans-serif; padding: 0px; margin: 0px;" /&gt;_USC_CODECS if you plan to use all of the codecs.&lt;BR style="font-family: arial, sans-serif; padding: 0px; margin: 0px;" /&gt;&lt;BR style="font-family: arial, sans-serif; padding: 0px; margin: 0px;" /&gt;See usc_objects_decl.h for other defines.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I also tried the other suggestion on this thread:&lt;/DIV&gt;&lt;BLOCKQUOTE&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 12px; border-collapse: collapse; font-weight: 200; line-height: 16px;"&gt;&lt;P style="font-family: Arial, sans-serif; margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; font-weight: normal; font-size: 1em; line-height: 16px; padding: 0px;"&gt;Dear Customer,&lt;/P&gt;&lt;P style="font-family: Arial, sans-serif; margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; font-weight: normal; font-size: 1em; line-height: 16px; padding: 0px;"&gt;You may need to link the usc.lib from ipp-samplesspeech-codecs&amp;#8;inwin32lib , this library is generated after building the USC sample. The USC_G729I_Fxnsis defined in the uscg729i.c file, which contains in usc.lib.&lt;BR style="font-family: arial, sans-serif; padding: 0px; margin: 0px;" /&gt;&lt;BR style="font-family: arial, sans-serif; padding: 0px; margin: 0px;" /&gt;Hope it helps and if you still have questions, please submit a support issue in Intel Premier Support.&lt;BR style="font-family: arial, sans-serif; padding: 0px; margin: 0px;" /&gt;&lt;BR style="font-family: arial, sans-serif; padding: 0px; margin: 0px;" /&gt;Thanks,&lt;BR style="font-family: arial, sans-serif; padding: 0px; margin: 0px;" /&gt;Ying&lt;/P&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;P style="font-family: Arial, sans-serif; margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; font-weight: normal; font-size: 1em; line-height: 16px; padding: 0px;"&gt;&lt;/P&gt;&lt;P style="font-family: Arial, sans-serif; margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; font-weight: normal; font-size: 1em; line-height: 16px; padding: 0px;"&gt;Unfortunately, neither of these suggestions are working nor are any of the other things I've attempted to try. If someone could shed some light on this issue I would greatly appreciate their time and help. Thanks in advance.&lt;/P&gt;&lt;P style="font-family: Arial, sans-serif; margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; font-weight: normal; font-size: 1em; line-height: 16px; padding: 0px;"&gt;Matt&lt;/P&gt;</description>
      <pubDate>Wed, 01 Sep 2010 15:46:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Link-Error-Attempting-to-use-Speech-Codecs/m-p/831327#M5563</guid>
      <dc:creator>mgarrettcallcopy_com</dc:creator>
      <dc:date>2010-09-01T15:46:29Z</dc:date>
    </item>
    <item>
      <title>Link Error Attempting to use Speech Codecs</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Link-Error-Attempting-to-use-Speech-Codecs/m-p/831328#M5564</link>
      <description>&lt;P&gt;Hi Matt, &lt;BR /&gt;&lt;BR /&gt;Do you write the code in &lt;STRONG&gt;CPP&lt;/STRONG&gt; file, right? The problem may neither the IPP version 6.1 or 5.3, nor linking the usc.lib (if you have linked the library by default in your msvc project). The problem is theconvention ofC and CPP languague.You may try&lt;BR /&gt;add the claim&lt;BR /&gt;&lt;BR /&gt;extern &lt;STRONG&gt;"C"&lt;/STRONG&gt; USC_Fxns USC_G729I_Fxns&lt;BR /&gt;&lt;BR /&gt;In your code, &lt;BR /&gt;then the link error will gone. &lt;BR /&gt;Regards,&lt;BR /&gt;Ying H.&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Sep 2010 06:34:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Link-Error-Attempting-to-use-Speech-Codecs/m-p/831328#M5564</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2010-09-03T06:34:48Z</dc:date>
    </item>
    <item>
      <title>Link Error Attempting to use Speech Codecs</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Link-Error-Attempting-to-use-Speech-Codecs/m-p/831329#M5565</link>
      <description>Sorry for my late reply. Got side tracked off the project for a bit and am just now getting back to this. This resolved my issue as well as made me feel like an idiot for not having figured that out myself. Many thanks.</description>
      <pubDate>Wed, 13 Oct 2010 20:47:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Link-Error-Attempting-to-use-Speech-Codecs/m-p/831329#M5565</guid>
      <dc:creator>mgarrettcallcopy_com</dc:creator>
      <dc:date>2010-10-13T20:47:10Z</dc:date>
    </item>
  </channel>
</rss>

