I followed instructrions and built tbb using mingw. But when I try to build opencv with tbb support it failes to build libraries saying undefined reference to some tbb::s.
I tried to build examples which are provided by tbb and that also fails with same undefined reference error.
I have set my PATH variable to path where tbb.dll exist. Could someone point out what am I doing wrong here.
Thank you for the quick repsponsce. Yes I did build it using mingw from sources.
Versions of TBB I tried was TBB30 and TBB40. Mingw was always 4.5. I tried it in my both laptops which have intel core2duo and intele core i3. Thesea are the commands I used
mingw32-make compiler=gcc arch=ia32 runtime=mingw
mingw32-make compiler=gcc arch=ia64 runtime=mingw
Do you have TBB for different architectures? Precompiled TBB binaries worked fine when I use visual studio to build opencv.
I have set my PATH variable to point release folter of TBB. I don't have a LIB variable. Did you mean TBB folder by saying mingw folder?
I got an issue with Intel's IPP and TBB compilation in my station. I am trying to compile OpenCV 3.0 with Mingw4.8.1 using Cmake GUI 3.1. I have installed Intel's System Studio in my station. Also, I have set that option in Cmake WITH_IPP and WITH_TBB ON while configuring and generating source code of opencv for build but, It was not building successfully. I need your help to sort out this issue.
I used following version of IPP and TBB.
IPP : 8.2.1
TBB : 4.3 interface 8005
Following error I got while building source code.
1. pls first try to build without tbb/ipp. I see that build fails somewhere in opencv internals.
2. if (1) does not help try to use Intel System Studio (create symlink for example). I have doubts that mingw's make work with spaces