Opencv_modules.hpp not generated when building from source

  • exact opencv version ?
  • did you run a proper make install ?

looks like it is pointing into the src folder (wrong), not where you installed it.

(proper location for 4.x on linux would be: /usr/local/include/opencv4)