CodePudding user response:
Is not clear, your definition of a variable, or some of the variables in the opencv,Case 1: redefining is,
Situation 2: check whether the configuration is correct, and header files and namespace (using the namespace CV, etc.),