You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are inconsistency handling of OpenCV dependency.
Original intent (which I plan to follow) is:
0) shell environment variable OPENCV_INCDIR and OPENCV_LIBDIR must be defined each pointing to a conventional top directory path to headers and libraries of opencv.
when 0) is satisfied, configure.sh sets LARCV_OPENCV environment variable to 1 (or 0 otherwise). This should be used in package makefile to judge whether or not to use OpenCV.
Issue made apparent by Tari: we should set a compiler variable to set compiler guards in source codes.
The text was updated successfully, but these errors were encountered:
a) Build system put -DUSE_OPENCV if $LARCV_OPENCV is set to 1.
b) larcv-config --libs now automatically appends "-L${OPENCV_LIBDIR} -lopencv_core -lopencv_highgui -lopencv_imgproc -lopencv_imgcodecs"
c) modified relevant package GNUmakefile to just use LDFLAGS += $(shell larcv-config --libs)
d) modified relevant source code to use a compiler guard statements for CV related part
There are inconsistency handling of OpenCV dependency.
Original intent (which I plan to follow) is:
0) shell environment variable OPENCV_INCDIR and OPENCV_LIBDIR must be defined each pointing to a conventional top directory path to headers and libraries of opencv.
Issue made apparent by Tari: we should set a compiler variable to set compiler guards in source codes.
The text was updated successfully, but these errors were encountered: