I had the same issue on my NanoPi M4; installing OpenCV via sudo apt install libopencv-dev and then exporting the path with export PKG_CONFIG_PATH=/usr/lib/pkgconfig before running Eclipse solved the problem for me.
wordle unlimited
wordle unlimited