You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/tutorials/introduction/java_eclipse/java_eclipse.markdown
+13
Original file line number
Diff line number
Diff line change
@@ -86,3 +86,16 @@ When you run the code you should see 3x3 identity matrix as output.
86
86
87
87
That is it, whenever you start a new project just add the OpenCV user library that you have defined
88
88
to your project and you are good to go. Enjoy your powerful, less painful development environment :)
89
+
90
+
Running Java code with OpenCV and MKL dependency
91
+
------------------------------------------------
92
+
93
+
You may get the following error (e.g. on Ubuntu) if you have built OpenCV with MKL library with some Java code that calls OpenCV functions
94
+
that use Intel MKL:
95
+
> Intel MKL FATAL ERROR: Cannot load libmkl_avx2.so or libmkl_def.so.
96
+
97
+
One solution to solve this on Linux consists in preloading the Intel MKL library (either run the command in a terminal or add it to your `.bashrc` file).
98
+
Your command line should be something similar to this (add `$LD_PRELOAD:` before if you have already set the `LD_PRELOAD` variable):
0 commit comments