elucideye / drishti

Real time eye tracking for embedded and mobile devices.
BSD 3-Clause "New" or "Revised" License
392 stars 82 forks source link

iOS build failed. #764

Closed iPsych closed 4 years ago

iPsych commented 4 years ago

In Xcode 10.12, all possible variant of iOS build through polly seems failed with below error.

CMake Error at cmake/OpenCVCompilerOptimizations.cmake:460 (message):
  Required baseline optimization is not supported: NEON
  (CPU_BASELINE_REQUIRE=;NEON)

It seems not drishti related error, but the one due to hunter. In drishti/_builds/ios-/_3rd_party/hunter/config_id/config.cmake.NOLF In drishti/_builds/ios-/_3rd_party/hunter/config_id/config.cmake

uses the LATEST OpenCV with NEON enabled.

hunter_final_config(
    PACKAGE "OpenCV"
    VERSION "4.0.0-p3"
...

and ENABLE_NEON=ON

Is there any way to modify hunter setting?

iPsych commented 4 years ago

Update :

Currently, I am in High Sierra (10.13.6 (17G12034)). Xcode 10.1, and 10.2 have no success with any additional SDK installs. Xcode 9.3.1 with polly.py --toolchain ${TOOLCHAIN} --config-all ${CONFIG} --install --verbose --reconfig --fwd DRISHTI_BUILD_EXAMPLES=ON Still works well.