Kaynağa Gözat

[deps] opencv: fix path

note: remove or update the use of this dep
lildurden 6 yıl önce
ebeveyn
işleme
d9e309e141
2 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 1 1
      includes/map.hh
  2. 1 1
      standard_def.mk

+ 1 - 1
includes/map.hh

@@ -3,7 +3,7 @@
 
 #include <iostream>
 #include <vector>
-#include <opencv2/opencv.hpp>
+#include <opencv4/opencv2/opencv.hpp>
 #include "still2d.hh"
 #include "Tools.hpp"
 #include "files.hh"

+ 1 - 1
standard_def.mk

@@ -19,7 +19,7 @@ GPL=/usr/share/gprolog/bin/gplc
 # Flags for linking
 CFLAGS= /usr/share/gprolog/lib/*.a -I $(ROOT)/$(DIR_HDR) -lsfml-graphics -lsfml-window -lsfml-system -lopencv_imgproc  -lopencv_highgui  -lopencv_core -lopencv_imgcodecs 
 # Flags for objects
-CFLAGS_OBJ=-I $(ROOT)/$(DIR_HDR) -I/usr/share/gprolog/include/ -O0 -Wall -Wextra -std=c++14 
+CFLAGS_OBJ=-I $(ROOT)/$(DIR_HDR) -I/usr/include/opencv4/ -I/usr/share/gprolog/include/ -O0 -Wall -Wextra -std=c++14 
 # Flags for libraries objects
 CFLAGS_DYNAMIC_LIBS_OBJ=-fPIC 
 # Flags for libraries linkins