Skip to content

Instantly share code, notes, and snippets.

View ryanhendry's full-sized avatar
💭
building

Ryan Hendry ryanhendry

💭
building
View GitHub Profile
@ryanhendry
ryanhendry / open-cv-contrib-ios-troubleshooting.md
Last active March 17, 2023 15:31
OpenCV contrib compilation iOS troubleshooting

Compiling OpenCV with contrib modules has been very problematic for me. Here are some solutions I've found to various compilation errors.

Problem:

CMake Error at cmake/OpenCVCompilerOptimizations.cmake:611 (message):
  Compiler doesn't support baseline optimization flags:
Call Stack (most recent call first):
  cmake/OpenCVCompilerOptions.cmake:327 (ocv_compiler_optimization_options)
 CMakeLists.txt:646 (include)