- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The real reason for your error is that the sample code in the USC manual is incorrect.
extern USC_Fxns USC_G729I_Fxns is not needed anymore in IPP 6.0
It will cause an error.
Use &USC_G729I_Fxns directly.
You also need to add at the top:
#include "usc.h"
#include "usc_objects_decl.h"
You also need to define in your build:
_USC_G729 if you want to only use this codec.
or
_USC_CODECS if you plan to use all of the codecs.
See usc_objects_decl.h for other defines.
Dear Customer,
You may need to link the usc.lib from ipp-samplesspeech-codecsinwin32lib , this library is generated after building the USC sample. The USC_G729I_Fxnsis defined in the uscg729i.c file, which contains in usc.lib.
Hope it helps and if you still have questions, please submit a support issue in Intel Premier Support.
Thanks,
Ying
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.
Matt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Matt,
Do you write the code in CPP 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
add the claim
extern "C" USC_Fxns USC_G729I_Fxns
In your code,
then the link error will gone.
Regards,
Ying H.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Matt,
Do you write the code in CPP 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
add the claim
extern "C" USC_Fxns USC_G729I_Fxns
In your code,
then the link error will gone.
Regards,
Ying H.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page