How to install opencv2/opencv.hpp on C++ template

Does anyone know how to install opencv2/opencv.hpp on a C++ template? I was able to find help on here for curl/curl.h but not for opencv2/opencv.hpp. Thanks

I’m trying to use image processing but can’t get opencv to work on it. Does anyone have it installed on any of their repls that I would be able to fork. Thanks