Changes between Version 26 and Version 27 of Intel_IPP_Codecs
- Timestamp:
- Feb 12, 2010 2:43:54 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Intel_IPP_Codecs
v26 v27 25 25 26 26 The following are required: 27 * PJSIP version 1.0-rc1 or above 27 * PJSIP version 1.0-rc1 or above for Intel IPP 5.x, and PJSIP version 1.6 or above for Intel IPP 6.x. 28 28 * Intel IPP library for your platform 29 29 * Intel IPP samples for your platform … … 196 196 197 197 ==== Build the IPP samples ==== 198 1. Open Terminal application 198 199 1. Go to the directory where IPP samples have been extracted to (e.g. {{{~/Desktop/ipp-samples}}}). 199 200 1. Go to {{{speech-codecs}}} folder. 200 201 1. Open the {{{readme.htm}}} file, and follow the instructions there to build the samples from the source. 201 - typically you'd just need to execute one of the '''build*.sh''' script after setting the IPPROOT environment variable. 202 - typically you'd just need to execute one of the '''{{{build*.sh}}}''' script after setting the IPPROOT environment variable. 203 1. '''Important:''' since Intel C Compiler (icc) is installed, specify argument '''{{{gcc4}}}''' when executing the '''{{{build*.sh}}}''', to build the samples with GCC compiler. Without this, the samples will be built with icc and it will result in link error when compiling PJSIP applications with gcc. 204 1. Sample command to build the samples: 205 {{{ 206 $ cd ~/Desktop/ipp-samples/speech-codecs 207 $ export IPPROOT=/Library/Frameworks/Intel_IPP.framework/Versions/Current/ 208 $ ./buildem64t.sh gcc4 209 }}} 210 202 211 203 212 The build process produces the following: 204 - (for IPP v6.x) '''{{{libspeech.a}}}''' file somewhere under {{{speech-codecs/_bin}}} directory, e.g. {{{ipp-samples/speech-codecs/_bin/osxem64t_ icc111/lib}}} directory.205 206 The directory name corresponds to the platform where the samples are built for.213 - (for IPP v6.x) '''{{{libspeech.a}}}''' file somewhere under {{{speech-codecs/_bin}}} directory, e.g. {{{ipp-samples/speech-codecs/_bin/osxem64t_gcc4/lib}}} directory. 214 215 The directory name may be different, depending on which target architecture is selected to be build. 207 216 208 217 If you have any problems with installing and/or building the IPP or IPP samples, please read the IPP documentation or contact Intel for support. … … 223 232 For this tutorial, we'll use two environment variables to hold the location of IPP and IPP samples. 224 233 225 Sample configure session for Intel IPP 6.1 for em64t architecture:234 Sample configure session for Intel IPP 6.1: 226 235 {{{ 227 236 $ cd /your/pjproject/directory 228 237 $ export IPPROOT=/Library/Frameworks/Intel_IPP.framework/Versions/Current/ 229 $ export IPPSAMPLES=~/Desktop/ opt/intel/ipp-samples230 $ ./configure --enable-ipp --with-ipp=$IPPROOT --with-ipp-samples=$IPPSAMPLES --with-ipp-arch=em64t238 $ export IPPSAMPLES=~/Desktop/ipp-samples 239 $ ./configure --enable-ipp --with-ipp=$IPPROOT --with-ipp-samples=$IPPSAMPLES 231 240 }}} 232 241 233 242 Note that you still need to enable IPP support in your {{{config_site.h}}} in order to use the IPP features. This will be explained in the next section. 243 244 245 ==== Important ==== 246 234 247 235 248 [[BR]]