I recently received my nanopi m4 to complete a project I'm working on using opencv for image processing however I cannot figure out what I need to do. The wiki says that openCV is preinstalled in the software but I cant find it. I then proceed to install eclipse and try to install the openCV master files that are needed. This is completed. So I follow the linux eclipse opencv guide for the first project however I cannot add libraries as the terminal command pkg-config --cflags opencv returns
"Package opencv was not found in the pkg-config search path.
Perhaps you should add the directory containing `opencv.pc'
to the PKG_CONFIG_PATH environment variable
No package 'opencv' found"

Similarly the next command pkg-config --libs opencv returns a similar error. I have tried looking online at a number of forums to solve the issue however I have not made any progress.

Please could anyone offer help where possible especially if you have had the same issues or point me to something I'm missing.

Thank you very much.