I'm trying to compile OpenCV 3.2 in my Mint 20.2 machine. I've been trying for several weeks now and had no success. I keep running into some breaks or crashes during compilation. I've already tried enabling/disabling a few flags that at first seemed to be problematic. But when one break appears to be solved, a new one comes out.
So for a fresh start and see If someone can give me a hint, this is what I'm doing now:
1) Following the steps published here for downloading the sources from Git and git checkout
to version 3.2.0
2) Cmake and configure using:
cmake -D CMAKE_BUILD_TYPE=RELEASE \
-D CMAKE_INSTALL_PREFIX=/usr/local \
-D INSTALL_C_EXAMPLES=ON \
-D INSTALL_PYTHON_EXAMPLES=ON \
-D OPENCV_GENERATE_PKGCONFIG=ON \
-D OPENCV_EXTRA_MODULES_PATH=~/opencv_build/opencv_contrib/modules \
-D BUILD_EXAMPLES=ON ..
Output of the configuring step: here
3) make -j8
on the build folder
4). Error during compilation: Screenshot
Any clue?
Thanks in advance!