System information (version)
- ncurses => 6 (ncurses-devel)
- OpenCV => 3.4 (opencv-devel)
- Operating System / Platform => openSUSE Tumbleweed
- Compiler => g++ 8 (gcc8-c++)
Detailed description
Incompatibility with opencv & ncurses.
I was using opencv2 on Debian, and today I moved to openSUSE Tumbleweed,
which has opencv3, and my first make failed with this error (see
attached file).
Steps to reproduce
If ncurses.h is included before opencv headers, build breaks.
Workaround: #include <opencv2/opencv.hpp>
before #include <ncurses.h>