Apparently, this new openCV, as opposed to one from 2018, ALSO started to demand stc++11 :} diff --git a/cinelerra-5.1/opencv_build b/cinelerra-5.1/opencv_build index fd029027..fabb8775 100644 --- a/cinelerra-5.1/opencv_build +++ b/cinelerra-5.1/opencv_build @@ -49,6 +49,7 @@ jobs:=-j$(shell echo $$(($(cpus) + $(cpus)/2 +2))) #opencv4 breaks SIFT/SURF findobj CFLAGS += -I$(opencv_prefix)/include/opencv4 CFLAGS += -I$(opencv_prefix)/include +CFLAGS += -std=c++11 ifeq ($(src),git) $(opencv).src: just this fixes build on 32-bit gcc 5.5.0 (Slackware 14.2) for me. But I looked into opencv build ..and tried to disable more components, see second patch diff --git a/cinelerra-5.1/opencv_build b/cinelerra-5.1/opencv_build index fd029027..20908747 100644 --- a/cinelerra-5.1/opencv_build +++ b/cinelerra-5.1/opencv_build @@ -49,6 +49,7 @@ jobs:=-j$(shell echo $$(($(cpus) + $(cpus)/2 +2))) #opencv4 breaks SIFT/SURF findobj CFLAGS += -I$(opencv_prefix)/include/opencv4 CFLAGS += -I$(opencv_prefix)/include +CFLAGS += -std=c++11 ifeq ($(src),git) $(opencv).src: @@ -81,6 +82,9 @@ $(opencv)/build: $(opencv).src -DINSTALL_C_EXAMPLES=OFF \ -DINSTALL_PYTHON_EXAMPLES=OFF \ -DBUILD_EXAMPLES=OFF .. \ + -DBUILD_PERF_TESTS=OFF \ + -DBUILD_TESTS=OFF \ + -DBUILD_opencv_apps=OFF \ -DBUILD_opencv_python3=no \ -DCMAKE_INSTALL_PREFIX=/usr/local \ -DOPENCV_EXTRA_MODULES_PATH="$(opencv)_contrib/modules/" on the basis Cin's plugins will try to link to OpenCVs *.a libraries anyway, so better to get to this phase earlier, and with less hdd used. BUT second patch not tested yet.