Skip to content

Commit

Permalink
Merge pull request #5 from sudhirrs/patch-1
Browse files Browse the repository at this point in the history
Update 01-installing-opencv-for-java.rst to include .dylib and intellij instruction
  • Loading branch information
luigidr committed Sep 20, 2016
2 parents 6317e0c + 548502c commit d62a3e6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/source/01-installing-opencv-for-java.rst
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,7 @@ After adding the jar, extend it, select ``Native library location`` and press ``
.. image:: _static/01 - 03.png

Select ``External Folder...`` and browse to select the folder containing the OpenCV libraries (e.g., ``C:\opencv\build\java\x64`` under Windows).
In case of OSX, create a soft link with .dylib extension for the .so file.
``ln -s libopencv_java300.so libopencv_java300.dylib``

And if you are using IntelliJ, you can specify the location of the library with th VM argument ``-Djava.library.path=/opencv/build/lib``.

0 comments on commit d62a3e6

Please sign in to comment.