From 1bb96ac1c840d700ad4ba1780933b82ac15bfc6f Mon Sep 17 00:00:00 2001 From: Aaron Markham Date: Mon, 24 Sep 2018 13:40:31 -0700 Subject: [PATCH 1/2] opencv2-->opencv; deleted duplicate content --- .../scala/mxnet_scala_on_intellij.md | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/docs/tutorials/scala/mxnet_scala_on_intellij.md b/docs/tutorials/scala/mxnet_scala_on_intellij.md index 615846bb9ee1..13faf6bf30fc 100644 --- a/docs/tutorials/scala/mxnet_scala_on_intellij.md +++ b/docs/tutorials/scala/mxnet_scala_on_intellij.md @@ -38,7 +38,7 @@ brew install maven **Step 4.** Install OpenCV: ``` -brew install opencv@2 +brew install opencv ``` @@ -340,26 +340,13 @@ If you get an error, check the dependencies at the beginning of this tutorial. F ``` ... -Library not loaded: /usr/local/opt/opencv@2/lib/libopencv_calib3d.2.4.dylib +Library not loaded: /usr/local/opt/opencv/lib/libopencv_calib3d.2.4.dylib ... ``` -This can be resolved be installing OpenCV2. +This can be resolved be installing OpenCV. - -### Troubleshooting - -If you get an error, check if it is like this one regarding OpenCV. For example, you might see the following in the middle of the error messages. - -``` -... -Library not loaded: /usr/local/opt/opencv@2/lib/libopencv_calib3d.2.4.dylib -... -``` - -This can be resolved be installing OpenCV2. - ### Command Line Build Option - You can also compile the project by using the following command at the command line. Change directories to this project's folder then run the following: From 3d656d3ec8dedf8a69d558d084229d74018c94c2 Mon Sep 17 00:00:00 2001 From: Aaron Markham Date: Tue, 25 Sep 2018 12:34:41 -0700 Subject: [PATCH 2/2] update troubleshooting info --- docs/tutorials/scala/mxnet_scala_on_intellij.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/tutorials/scala/mxnet_scala_on_intellij.md b/docs/tutorials/scala/mxnet_scala_on_intellij.md index 13faf6bf30fc..497b1cd012e8 100644 --- a/docs/tutorials/scala/mxnet_scala_on_intellij.md +++ b/docs/tutorials/scala/mxnet_scala_on_intellij.md @@ -336,11 +336,11 @@ Process finished with exit code 0 ### Troubleshooting -If you get an error, check the dependencies at the beginning of this tutorial. For example, you might see the following in the middle of the error messages. +If you get an error, check the dependencies at the beginning of this tutorial. For example, you might see the following in the middle of the error messages, where `x.x` would the version it's looking for. ``` ... -Library not loaded: /usr/local/opt/opencv/lib/libopencv_calib3d.2.4.dylib +Library not loaded: /usr/local/opt/opencv/lib/libopencv_calib3d.x.x.dylib ... ```