Skip to content

Failed build of scene_text_detection.cpp due to lack of regex support in GCC 4.8.5 (CentOS 7) #19016

@alalek

Description

@alalek

Nightly build.

CMakeFiles/example_dnn_scene_text_detection.dir/scene_text_detection.cpp.o: In function `main':
scene_text_detection.cpp:(.text.startup.main+0xe1a): undefined reference to `std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::regex_token_iterator()'
...

regex can be used with GCC 4.9.0+ only: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53631

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions