could not find a package configuration file provided by OpenCV
I getting this error while building my project dir ,it is already installed still giving error as Add the installation prefix of OpenCV to CMAKE_PREFIX_PATH
OpenCVConfig.cmake Opencv-config.cmake
i am working with ROS2 foxy ,18.04.1-Ubuntu on AWS ec2 server. plz help me resolve this issue.