Wednesday, April 22, 2009

Installing Intel Threading Building Blocks

This is an interesting library to explore. I'm curious about the easeness of thread programming that is offered by this library so I tried to install it on my laptop and see how it runs.

These are the steps for installing this library:

  1. Download the library from, there are two options, commercial aligned products and open source.
  2. Unzip the file and copy it to somewhere, I copied it into this directory:
    C:\Program Files\Intel\TBB\2.1\
  3. Open the batch file () inside this directory (depends on the compiler that you use)
    C:\Program Files\Intel\TBB\2.1\ia32\vc8\bin\
    then change this line:
    Please note that you must fill the TBB21_INSTALL_DIR= with the directory where you unzip the files
  4. Run the batch file, if you're using Windows Vista, you must run it as administrator.

Then the next step is to configure the library in Visual Studio

  1. Open Visual Studio, then choose Tools menu then choose Options
  2. Add the directories for include files and the library files of TBB on the "VC++ Directories" settings.
  3. Then when you want to add TBB into your projects you can add the library to the project by setting the Project Properties.

I hope this configuration works in your computer..

Good luck.

Labels: , , ,


Post a Comment

<< Home