Compiling on clang/C++11, tr1/tuple doesn't exist (Bug #2264)
Description
/Users/samuel/Documents/Programming/Graphics/Dream/examples/Transform Flow/ext/OpenCV-2.4.2/modules/ts/include/opencv2/ts/ts_gtest.h:1657:13: fatal error: 'tr1/tuple'
file not found
file not found
- include <tr1/tuple> // NOLINT
Associated revisions
Merge pull request #2264 from alalek:bug_fix_3470
History
Updated by Samuel Williams over 12 years ago
You can add the following line:
modules/ts/include/opencv2/ts/ts_gtest.h
#define GTEST_USE_OWN_TR1_TUPLE 1
...then it will compile. But I don't know if this is a good long term fix.
Updated by Andrey Kamaev over 12 years ago
This is not a good fix coz it breaks build on several other platforms.
- Target version set to 3.0
- Category set to build/install
Updated by Vadim Pisarevsky over 12 years ago
- Target version deleted (
3.0)
Updated by Andrey Kamaev over 12 years ago
- Assignee set to Marina Kolpakova
Updated by Marina Kolpakova over 12 years ago
Thanks for report! Fix has been pushed in master. 23699ac
- Status changed from Open to Done
Updated by Andrey Kamaev about 12 years ago
- Target version set to 2.4.3