| Last Modified On : | June 14, 2009 11:23 PM PDT |
Rate |
|
|
This document provides information on using Intel® IPP 6.x with Intel® C++ Compiler 11.x and GNU Compiler Collection (GCC) 4.0 in Xcode 2.4/3.0 and on the command line. In each case, the path to the Intel® IPP header files and libraries is added to the project settings or command line. Xcode 2.4/3.0
Note: If you are using dynamic linking then you need to add the path to the dynamic libraries to the system environment so that they are invoked at runtime.
Command line or Makefile For both dynamic and static linking, assume you are calling image processing function ippiCopy_8u_C1R from source file test.c and set environment variable as below IPPROOT = /opt/intel/Compiler/11.x/0xx/Frameworks/ipp Dynamic Linking: Intel C++ Compiler GCC Note: If you are using dynamic linking then you need to add the path to the dynamic libraries to the system environment so that they are invoked at runtime. You can do this from a terminal window by using the source command. 32-bit:source /$(IPPROOT)/Versions/6.x.x/ia32/tools/env/ippvars.sh 64-bit:source /$(IPPROOT)/Versions/6.x.x/em64t/tools/env/ippvarsemm64t.sh Static Linking: Intel C++ Compiler GCC Note: For the Intel® IPP for Mac OS* commercial package, the Intel® IPP static and dynamic libraries are installed in the different directory / Libraries and /lib. If both are found in the same directory, the standard linker used by Xcode* first chooses a dynamic library over a static library. and if you need to use static, please link to the static libraries by using the full path and library name as shown in the examples above. Operating System:
|
