Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Fix OpenCV 3.4.1 issue for Scala package for OSX #11193

Closed
nswamy opened this issue Jun 7, 2018 · 6 comments
Closed

Fix OpenCV 3.4.1 issue for Scala package for OSX #11193

nswamy opened this issue Jun 7, 2018 · 6 comments

Comments

@nswamy
Copy link
Member

nswamy commented Jun 7, 2018

Currently OpenCV@2 package along with Scala package seems to be failing due to an existing opencv version.
modify scala-package/dev/compile-backend.sh to use OpenCV3.4.1

For Q & A and discussion, please start a discussion thread at https://discuss.mxnet.io

Description

(Brief description of the problem in no more than 2 sentences.)

Environment info (Required)

What to do:
1. Download the diagnosis script from https://github.com/apache/incubator-mxnet/master/tools/diagnose.py
2. Run the script using `python diagnose.py` and paste its output here.

Package used (Python/R/Scala/Julia):
(I'm using ...)

For Scala user, please provide:

  1. Java version: (java -version)
  2. Maven version: (mvn -version)
  3. Scala runtime if applicable: (scala -version)

For R user, please provide R sessionInfo():

Build info (Required if built from source)

Compiler (gcc/clang/mingw/visual studio):

MXNet commit hash:
(Paste the output of git rev-parse HEAD here.)

Build config:
(Paste the content of config.mk, or the build command.)

Error Message:

(Paste the complete error message, including stack trace.)

Minimum reproducible example

(If you are using your own code, please provide a short script that reproduces the error. Otherwise, please provide link to the existing example.)

Steps to reproduce

(Paste the commands you ran that produced the error.)

What have you tried to solve it?

@kalyc
Copy link
Contributor

kalyc commented Jun 14, 2018

@nswamy thanks for submitting the issue. The PR - https://github.com/apache/incubator-mxnet/pull/11147/files mentions that the OpenCV version will be updated in the next release

@nswamy
Copy link
Member Author

nswamy commented Jun 14, 2018

Yes that is because we have already published the package and cannot undo without bumping up the version which will happen only after the next release.

@mariussoutier
Copy link

Will this fix the Library not loaded: /usr/local/opt/opencv@2/lib/libopencv_calib3d.2.4.dylib error?

@nswamy
Copy link
Member Author

nswamy commented Jun 26, 2018

@mariussoutier. Yes it should fix that issue, however you could also install opencv2 on OSX as brew install opencv@2
We are fixing this in 1.2.1, the package is currently in staging
https://repository.apache.org/#nexus-search;quick~org.apache.mxnet. Feel free to test and provide feedback. see the instructions to use packages in the Staging repo here

@nswamy
Copy link
Member Author

nswamy commented Jul 25, 2018

#11862 fixes the issue

@nswamy
Copy link
Member Author

nswamy commented Jul 25, 2018

#11862

@nswamy nswamy closed this as completed Jul 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants