Greetings!

I was attempting to compile OpenCV earlier and ran into some problems. I was able to carry on without it for what I was working on, but it's still worth noting that it's broken.

First of all, the sed -i 's/CV_RGB/cv::Scalar/' src/filter/facebl0r/facebl0r.cpp && command no longer works, as there is no src/filter/* folder in the unzipped source code. My guess is that they restructured between versions.

After I bypassed the sed, CMake failed because of an invalid option that it was trying to pass to g++.

===== END =====

Build output check failed:
    Regex: 'unrecognized .*option'
Output line: 'cc1plus: warning: unrecognized command line option ‘-Wno-enum-compare-switch’'
Compilation failed:
source file: '/sources/opencv-3.4.3/opencv-3.4.3/build/CMakeFiles/CMakeTmp/src.cxx'
    check option: ' -Wno-enum-compare-switch'
===== BUILD LOG =====
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to