|
Before using Intel® Threading Building Blocks for the first time, you must configure the environment variables that are used to locate necessary library and include files.
Registering Environment Variables for Windows* Systems
Locate the configuration scripts for your operating system. The scripts are located in the bin directory. The default location of the bin directory on Windows* is the following:
C:\Program Files\Intel\TBB\2.1\[ia32|em64t]\<platform-spec>\bin
From a command prompt, execute file tbbvars.bat from the bin directory. This batch file sets the paths required by the Intel® C++ Compiler and by Microsoft Visual Studio* to locate the Intel® Threading Building Blocks include files and library. These scripts add the installation path of the product to the PATH, LIB and INCLUDE environment variables.
Execute the command "devenv /useenv" to launch a Visual Studio window that uses these new settings.
Registering Environment Variables for Mac OS* Systems
Locate the configuration scripts for your operating system. The scripts are located in the bin directory. The default location of the bin directory on Mac OS* is the following:
/Library/Frameworks/Intel_TBB.framework/Versions/2.1/bin
From the bin directory, execute the tbbvars.[c]sh script. These scripts modify the paths held by the LD_LIBRARY_PATH, DYLD_LIBRARY_PATH, and CPATH variables, and affect only your current shell.
Registering Environment Variables for Linux* Systems
Locate the configuration scripts for your operating system. The scripts are located in the bin directory. The default location of the bin directory on Linux* is the following:
/opt/intel/tbb/2.1/bin
From the bin directory, execute the tbbvars.[c]sh script. These scripts modify the paths held by the LD_LIBRARY_PATH, DYLD_LIBRARY_PATH, and CPATH variables, and affect only your current shell.
This applies to:
|