INCLUDES = -I/usr/local/include/opencv
LIBS = /usr/lib/libopencv_core.so /usr/lib/libopencv_highgui.so /usr/lib/libopencv_imgproc.so
LIBDIRS = -L/usr/lib
OPT = -O3 -Wno-deprecated
CC=g++
.PHONY: all clean
OBJS = CRForest-Detector.o CRPatch.o HoG.o CRForestDetector.o CRTree.o
clean:
rm -f *.o *~ CRForest-Detector
all: CRForest-Detector
echo all: make complete
%.o:%.cpp
$(CC) -c $(INCLUDES) $+ $(OPT)
CRForest-Detector: $(OBJS)
$(CC) -o $@ $+ $(OPT) 'pkg-config opencv --cflags --libs'
quando compilar:
echo all: make complete
all: make complete
asmaa@ubuntu:~/Desktop/opencv-exam/opencv-3.2.0/samples/cpp/forest-train$ ./run.sh mode
./CRForest-Detector: error while loading shared libraries: libopencv_highgui.so.3.4: cannot open shared object file: No such file or directory
onde está o erro aqui ???