I use the opencv library in my cpp (c++) program. In my header file I included the opencv.hpp header file (diez include ). But when I try to compile I have this error : error: ‘ROTATE_90_COUNTERCLOCKWISE’ was not declared in this scope. The ‘ROTATE_90_COUNTERCLOCKWISE’ is used in the rotate function defined in opencv2/core/core.h file. ROTATE_90_COUNTERCLOCKWISE is also declared in the same file. My compilation instructions are following : g++ -Wall -g -w -o exec prog.cpp -std=c++11 pkg-config --cflags opencv pkg-config --libs opencv .
Your help will be appreciated.
Aucun commentaire:
Enregistrer un commentaire