I'm new with openCV and I tried followed some tutorials. Everything worked fine until I included: opencv2/imgproc/imgproc.hpp and used the filter2D function. I got the following error when I start my program:
"The program can't start because tbb_debug.dll is missing from your computer."
On the internet I have found that this error has something to do with 32 and 64 bit versions of dlls.
I'm using the 64bit version of windows and created a 32bit console application in VS2010 and the application uses the 32 bit version of the openCV dll's. When I start the program "dependency walker", I can see that my program uses the 64bit version of all system dll's (in C:\windows\system32....). Only the dll's of opencv are 32bit.
screenshot of depenency walker:
Thanks