problem building OpenCV with TBB on Windows MSVC 2005
I have successfully built OpenCV using the CMake generated
makefiles for MinGW tools (GCC 4.4) using Intel's TBB (Thread Building
Blocks), which was also successfully built under those conditions.
now, trying to build OpenCV using the CMake generated solution and
project files for MS Visual Studio 2005, it fails with this error
critical_section.h(109) : error C3861: 'TryEnterCriticalSection': identifier not found
c:\\tbb30_018oss\\include\\tbb\\mutex.h(185) : error C3861: 'TryEnterCriticalSection': identifier not found
c:\\tbb30_018oss\\include\\tbb\\recursive_mutex.h(192) : error C3861: 'TryEnterCriticalSection': identifier not found
TBB was successfully built using VS 2005. I guess that I am missing something, but could not find the point.
Thanks Francisco -- "If you have an
apple and I have an apple and we exchange apples then you and I will
still each have one apple. But if you have an idea and I have one idea
and we exchange these ideas, then each of us will have two ideas." -
George Bernard Shaw