maelvls / homebrew-amc

🍺 Homebrew formula for auto-multiple-choice 📖
https://www.auto-multiple-choice.net/download-macosx.en
34 stars 10 forks source link

amc: fix for opencv4 #25

Closed maelvls closed 5 years ago

maelvls commented 5 years ago
> echo "\n" | auto-multiple-choice detect
dyld: Library not loaded: /usr/local/opt/opencv/lib/libopencv_core.3.4.dylib
  Referenced from: /usr/local/Cellar/auto-multiple-choice/1.4.0/lib/AMC/exec/AMC-detect
  Reason: image not found
[1]    48868 done       echo "\n\n\n" |
       48869 abort      auto-multiple-choice detect
> ls /usr/local/opt/opencv/lib/libopencv_core.*
/usr/local/opt/opencv/lib/libopencv_core.4.0.1.dylib
/usr/local/opt/opencv/lib/libopencv_core.a
/usr/local/opt/opencv/lib/libopencv_core.4.0.dylib
/usr/local/opt/opencv/lib/libopencv_core.dylib
maelvls commented 5 years ago

I have an issue in AMC-detect:

AMC-detect.cc:40:10: fatal error: 'opencv2/core/core.hpp' file not found
#include "opencv2/core/core.hpp"