- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
To install on Linux* systems:In the following instructions, specific examples of commands forvarious steps are prefixed with '#' characters.1. Unpack the package in a directory to which you have writeaccess.# cd# tar -xzf tbb_ _lin.tar.gz 2. Run the installation script. Execute the script in thedirectory where the package was unpacked in the previous step.# cd/tbb _ _lin # ./install.shTo install on Linux* systems:In the following instructions, specific examples of commands forvarious steps are prefixed with '#' characters.1. Unpack the package in a directory to which you have writeaccess.# cd# tar -xzf tbb _ _lin.tar.gz2. Run the installation script. Execute the script in thedirectory where the package was unpacked in the previous step.# cd /tbb _ _lin# ./install.sh
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you trying to compile TBB from source yourself, or just install the Intel-built binaries and have OpenCV detect them? The tbb30_20100406oss_src.tgz package you're using is source, not binaries. Those instructions are for the binary package, which is this: tbb30_018oss_lin.tgz.
Damien
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Bjornis, try this:
1. Get the source folder from the TBB download webpage. You can either download a stable release version or a development release version. The filename will end with "_src". (It is recommended that you log in as root user through the command line and create a folder called intel in the /opt folder and place the downloaded file in the intel folder because thats where the Intel C++ compiler installs TBB by default. It isnt compulsory to place the files in the opt subfolders. You may place the file in any directory you like). Extract it, and through the command line, enter the "src" folder and type "gmake".
A long installation and test program running process will take place.
2. Place the below line in the ~/.bashrc file:
source /home/username/TBB/tbbSource/build/linux_ia32_gcc_cc4.1.2_libc2.7_kernel2.6.23.1_release/tbbvars.sh
If you're using the debug version, use this line instead:
source /home/username/TBB/tbbSource/build/linux_ia32_gcc_cc4.1.2_libc2.7_kernel2.6.23.1_debug/tbbvars.sh
Doing so will run the script in tbbvars.sh, every time you start a bash terminal. The script ensures that the existing variables do not get over-written by the variables being set for TBB.
You might have to change the path and filename above, according to where the tbbvars.sh file is located in your system.
The folder mentioned as "tbbSource" is the name of the folder you extracted after downloading.
3. Open a new terminal so that .bashrc is run again or type source .bashrc
4. Compile your programs with "g++ -ltbb -o executableName filename.cpp"
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page