Ask Your Question

Revision history [back]

Disabling "CPU Baseline Flags"

I've been tasked with porting a computer vision suite that leverages OpenCV to a PPC-based single-board computer running VxWorks. My OpenCV build fails at the step where baseline CPU flags are tested. The processor is older, and does not seem to have any standard vector instruction sets (SSE, NEON, AVX etc). Is there any way to remove this test, on the assumption that performance will be VERY slow, as a proof of concept? This would be leverage for my project to move towards a more fully featured CPU to hit the performance targets.

Thanks in advance! J

-- Performing Test HAVE_CPU_BASELINE_FLAGS

-- Performing Test HAVE_CPU_BASELINE_FLAGS - Failed

CMake Error at cmake/OpenCVCompilerOptimizations.cmake:524 (message):

Compiler doesn't support baseline optimization flags:

Call Stack (most recent call first):

cmake/OpenCVCompilerOptions.cmake:268 (ocv_compiler_optimization_options)

CMakeLists.txt:703 (include)