![]() 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. Intel MKL FATAL ERROR: Cannot load libmkl_avx2.so or libmkl_def.so. on Ubuntu) if you have built OpenCV with MKL library with some Java code that calls OpenCV functions that use Intel MKL: ![]() ![]() Enjoy your powerful, less painful development environment :) Running Java code with OpenCV and MKL dependency That is it, whenever you start a new project just add the OpenCV user library that you have defined to your project and you are good to go. Launch Eclipse and select Window –> Preferences from the menu. Now, we will define OpenCV as a user library in Eclipse, so we can reuse the configuration for any project. I am using version 2.4.6, but the steps are more or less the same for other versions. Configuring Eclipseįirst, obtain a fresh release of OpenCV from download page and extract it under a simple location like C:\OpenCV-2.4.6\. In this tutorial I will explain how to setup development environment for using OpenCV Java with Eclipse in Windows, so you can enjoy the benefits of garbage collected, very refactorable (rename variable, extract method and whatnot) modern language that enables you to write code with less effort and make less mistakes. Since version 2.4.4 OpenCV supports Java. Warning This tutorial can contain obsolete information. Next Tutorial: Introduction to OpenCV Development with Clojure Prev Tutorial: Introduction to Java Development
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |