good morning, please I need help- I have a file: s.cpp that uses:
#include <opencv2/highgui.hpp>
#include <opencv2/features2d.hpp>
and I wrote a makefile like this:
s: s.o
g++ s.o -o s
s.o: s.cpp
g++ s.cpp -c `pkg-config --cflags --libs opencv`
clean: rm -f s
and got the error:
g++ s.cpp -c `pkg-config --cflags --libs opencv`
s.cpp:9:10: fatal error: opencv2/highgui.hpp: No such file or directory
#include <opencv2/highgui.hpp>
^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
please, I dont know what to do please someone can help?