Add opencv_imgcodecs to library path in Makefile
LIBRARIES += lmdb
endif
ifeq ($(USE_OPENCV), 1)
- LIBRARIES += opencv_core opencv_highgui opencv_imgproc
+ LIBRARIES += opencv_core opencv_highgui opencv_imgproc
+
+ ifeq ($(OPENCV_VERSION), 3)
+ LIBRARIES += opencv_imgcodecs
+ endif
+
endif
PYTHON_LIBRARIES := boost_python python2.7
WARNINGS := -Wall -Wno-sign-compare
# possibility of simultaneous read and write
# ALLOW_LMDB_NOLOCK := 1
+# Uncomment if you're using OpenCV 3
+# OPENCV_VERSION := 3
+
# To customize your choice of compiler, uncomment and set the following.
# N.B. the default for Linux is g++ and the default for OSX is clang++
# CUSTOM_CXX := g++