Skip to content

Error: 'nullptr' was not declared in this scope, because of header file of Tesseract #1636

@tlimkim

Description

@tlimkim
System information (version)
  • OpenCV => 3.4.0
  • Operating System / Platform => linux ubuntu 16.04
  • Compiler => 5.4.0
Detailed description

Hello.

When I build the OpenCV, there is a compile error: ‘nullptr’ was not declared in this scope (see below for details). I think there is a problem with 'tesseract' that is support c++11.

If anyone who has an idea, please help this problem.

Thanks.

/usr/local/include/tesseract/tesscallback.h: In member function 'virtual R _ConstTessMemberResultCallback_1_5<del, R, T, P1, A1, A2, A3, A4, A5>::Run(A1, A2, A3, A4, A5)':
/usr/local/include/tesseract/tesscallback.h:8369:17: error: 'nullptr' was not declared in this scope
       member_ = nullptr;

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions