Memo‎ > ‎

The tuple issue when building OpenCV on Visual Studio 2012

posted Jan 14, 2013, 6:54 AM by Teng-Yok Lee
To solve the issues about std::tuple, add '/D_VARIADIC_MAX=10' to both CMAKE_CXX_FLAGS and CMAKE_C_FLAGS.

Reference:
http://stackoverflow.com/questions/8274588/c2977-stdtuple-too-many-template-arguments-msvc11
Comments