rfarahmand edited a comment on issue #11098: Installation instructions 
MacOS/R/CPU don't work.
URL: 
https://github.com/apache/incubator-mxnet/issues/11098#issuecomment-488112523
 
 
   I still have problem Installing MXNet from source on OS X (macOS high 
Sierra). It seems it cannot find opencv2; but I have installed using `brew 
install opencv` I even tried compiling from source as recommended above - no 
luck. I get the error below:
     
   ```
   In file included from src/operator/image/crop.cc:27:
   In file included from src/operator/image/crop-inl.h:35:
   src/operator/image/image_utils.h:32:12: fatal error: 'opencv2/opencv.hpp' 
file not found
     #include <opencv2/opencv.hpp>
              ^~~~~~~~~~~~~~~~~~~~
   1 error generated.
   make: *** [build/src/operator/image/crop.o] Error 1
   make: *** Waiting for unfinished jobs....
   ```
   
   This confirms that I have opencv installed
   
   ```
   MacBook-Pro-75:mxnet rfarahmand$ brew search opencv
   ==> Formulae
   opencv ✔                                                             
opencv@2 ✔                                                           opencv@3 ✔
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to