Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Similar problem here: Trying to build OpenCV 2.4.5 with TBB support using MinGW 4.7.2 or 4.8.1 I can build TBB if I do it separtely, but I cannot configure OpenCV to use the TBB I built: it downloads some other version, and fails compiling saying: A) That I should activate -std=c++11 B) If I activate c++11 (CMAKE_CXX_FLAGS), it says "error: 'thread' is not a member of 'std'"

I tried to add other flags, copying them from the previously successful separated build of TBB, but with no effect.

Similar problem here: Trying to build OpenCV 2.4.5 with TBB support using MinGW 4.7.2 or 4.8.1 I can build TBB if I do it separtely, but I cannot configure OpenCV to use the TBB I built: it downloads some other version, and fails compiling saying: A) That I should activate -std=c++11 B) If I activate c++11 (CMAKE_CXX_FLAGS), it says "error: 'thread' is not a member of 'std'"

I tried to add other flags, copying them from the previously successful separated build of TBB, but with no effect.

Note: I am on Windows 64 and I am building 32bit version

click to hide/show revision 3
Changed completely answer

Similar problem here: Trying to build OpenCV 2.4.5 with TBB support using MinGW 4.7.2 or 4.8.1 I can build TBB if I do it separtely, but I cannot configure OpenCV to use the TBB I built: it downloads some other version, and fails compiling saying: A) That I should activate -std=c++11 B) If I activate c++11 (CMAKE_CXX_FLAGS), it says "error: 'thread' is not a member of 'std'"Check this out (including comments): http://stackoverflow.com/q/16767464/2436175

I tried In short: try first to add other flags, copying them from the previously successful separated build of TBB, but with no effect.tbb separately, then see how to proceed.

Note: I am on Windows 64 and I am building 32bit version

Check this out (including comments): This should address your problem: http://stackoverflow.com/q/16767464/2436175

In short: try first to build tbb separately, then see how to proceed.