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:
- Download the library from www.threadbuildingblocks.org, there are two options, commercial aligned products and open source.
- Unzip the file and copy it to somewhere, I copied it into this directory:
C:\Program Files\Intel\TBB\2.1\ - 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:
IF NOT DEFINED TBB21_INSTALL_DIR SET TBB21_INSTALL_DIR=C:\Program Files\Intel\TBB\2.1
Please note that you must fill the TBB21_INSTALL_DIR= with the directory where you unzip the files - 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
- Open Visual Studio, then choose Tools menu then choose Options
- Add the directories for include files and the library files of TBB on the "VC++ Directories" settings.
- 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: multiprocessor, thread building blocks, threading, visual c++
0 Comments:
Post a Comment
<< Home