Compiling on clang/C++11, tr1/tuple doesn't exist (Bug #2264)


Added by Samuel Williams over 12 years ago. Updated about 12 years ago.


Status:Done Start date:2012-08-13
Priority:Normal Due date:
Assignee:Marina Kolpakova % Done:

0%

Category:build/install
Target version:2.4.3
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:

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
  1. include <tr1/tuple> // NOLINT

Associated revisions

Revision b3a48e1e
Added by Andrey Pavlenko about 11 years ago

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

Also available in: Atom PDF