Ask Your Question

How do I install OpenCV with IPP and TBB?

asked 2012-09-17 10:17:02 -0600

Krb686 gravatar image

updated 2012-09-17 10:21:03 -0600

Well I've been reading through the documentation but it seems pretty poor for OpenCV, IPP, AND TBB. Nowehere does it concisely explain how to install any of these. I've downloaded Cmake and tried Cmaking OpenCV and I 've also downloadedd TBB and IPP but have had no luck getting them integrated. MingW cannot compile TBB through src and the binary TBB doesn't work properly either because of errors in TBB. And the IPP download only seems to be 1 cpp file which doesn't make much sense to me. It really bothers me when people make documentation and assume users know certain things and skip steps and don't properly explain how to do something. Somebody please help

To give you a summary, here is what I've done so far:

-Downloaded MinGW, IPP, OpenCV, TBB, Cmake (as it says on the OpenCV installation guide)

-Tried using TBB binary but it doesn't work because of errors in Cmake (I also can't tell if it's properly installed because it's just a zip and I've added the TBB_ROOT variable to my environment variables which helped a little but there are still errors)

-Tried compiling TBB with MinGW and msys but there are many, many lines of errors and commands not found and I also cannot tell if MinGW is properly installed

-Downloaded IPP and tried changing the IPP_H path variable inside Cmake

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted

answered 2012-09-18 01:11:11 -0600

jav_rock gravatar image

updated 2012-10-02 06:01:11 -0600

V.G. gravatar image

There is a cool video that if you pay attention to every step there is no chance to get lost.

The key is to download the TBB package to a folder (in the video is called "dep"), and when you click configure in CMake the route will be NOT FOUND, so you have to set it manually and click configure again. The same for IPP.

I think this video tutorial is what you need, there is no chance to fail.

edit flag offensive delete link more

answered 2012-09-17 15:03:01 -0600

unxnut gravatar image

IPP is not free software. You will probably need to buy it, or download the 30-day trial.

From your description, it does not look like that you have installed TBB either. If it is a zip file, you need to unzip it and install it before using it in cmake.

You better understand IPP and TBB well before you integrate those into OpenCV installation. Otherwise, you will be better off without them.

edit flag offensive delete link more


Wow I didn't realize IPP wasn't free. Do you have any idea what kind of performance gain you could get with IPP? And thanks

Krb686 gravatar imageKrb686 ( 2012-09-17 22:25:08 -0600 )edit

The OpenCV authored recipe above does not work for Intel 64-bit IPP 7.1 (they've changed the file structure recently, think it fools the IPP cmake file)

BeauPaisley gravatar imageBeauPaisley ( 2012-09-28 11:06:43 -0600 )edit

answered 2012-09-18 00:01:02 -0600

Daniil Osokin gravatar image

updated 2012-10-01 08:49:41 -0600

Hi, Krb686! You can build OpenCV with TBB/IPP support from sources or you can use pre-built libs, that have already build with this support. Here is official guide for both ways. Hope, this helps.

edit flag offensive delete link more

Question Tools


Asked: 2012-09-17 10:17:02 -0600

Seen: 7,920 times

Last updated: Oct 02 '12