Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

SOLVED

I am trying to use OpenCV on the LEGO EV3. If my PROJECT FILE includes the LEGO library (LeJOS EV3 EV3 Runtime) there is a conflict with the OpenCV Native library, even if a script does not import the LEGO Library.

import lejos.hardware.*;

Line 10 is

System.loadLibrary(Core.NATIVE_LIBRARY_NAME);

and the associated error is:

Exception in thread "main" java.lang.UnsatisfiedLinkError: no opencv_java2411 in java.library.path at java.lang.ClassLoader.loadLibrary(Unknown Source) at java.lang.Runtime.loadLibrary0(Unknown Source) at java.lang.System.loadLibrary(Unknown Source) at openCV_341_PACKAGE.Smoothing_Images_Test_Case.main(Smoothing_Images_Test_Case.java:10)

My sample Java OpenCV script is valid. The problem is the conflict between the two libraries

SOLVED

I am trying to use OpenCV on the LEGO EV3. If my PROJECT FILE includes the LEGO library (LeJOS EV3 EV3 Runtime) there is a conflict with the OpenCV Native library, even if a script does not import the LEGO Library.

import lejos.hardware.*;

Line 10 is

System.loadLibrary(Core.NATIVE_LIBRARY_NAME);

and the associated error is:

Exception in thread "main" java.lang.UnsatisfiedLinkError: no opencv_java2411 in java.library.path
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.loadLibrary0(Unknown Source)
    at java.lang.System.loadLibrary(Unknown Source)
    at openCV_341_PACKAGE.Smoothing_Images_Test_Case.main(Smoothing_Images_Test_Case.java:10)

openCV_341_PACKAGE.Smoothing_Images_Test_Case.main(Smoothing_Images_Test_Case.java:10)

My sample Java OpenCV script is valid. The problem is the conflict between the two libraries

SOLVED

I am trying to use OpenCV on the LEGO EV3. If my PROJECT FILE includes the LEGO library (LeJOS EV3 EV3 Runtime) there is a conflict with the OpenCV Native library, even if a script does not import the LEGO Library.

import lejos.hardware.*;

Line 10 is

System.loadLibrary(Core.NATIVE_LIBRARY_NAME);

and the associated error is:

Exception in thread "main" java.lang.UnsatisfiedLinkError: no opencv_java2411 in java.library.path
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.loadLibrary0(Unknown Source)
    at java.lang.System.loadLibrary(Unknown Source)
    at openCV_341_PACKAGE.Smoothing_Images_Test_Case.main(Smoothing_Images_Test_Case.java:10)

My sample Java OpenCV script is valid. The problem is the conflict between the two libraries

EDIT 4/5/2018 ************************************************

I have contacted OpenCV at Github and get this response.

This is a configuration problem (different versions of OpenCV in single Java project). No chance to fix this in OpenCV (except whole library massive renaming including Java package names, C++ symbols, etc - won't fix).
Alexander Alekhin notifications@github.com

However, I am using OpenCV 3.4.1 exclusively and have deleted all prier versions. The results are the same. Perhaps it is not actually a conflict between OpenCV 3.4.1 and previas OpenCV versions but a conflict between OpenCV 3.4.1 and the LeJOS EV3 EV3 Runtime library.

SOLVED

I am trying to use OpenCV on the LEGO EV3. If my PROJECT FILE includes the LEGO library (LeJOS EV3 EV3 Runtime) there is a conflict with the OpenCV Native library, even if a script does not import the LEGO Library.

import lejos.hardware.*;

Line 10 is

System.loadLibrary(Core.NATIVE_LIBRARY_NAME);

and the associated error is:

Exception in thread "main" java.lang.UnsatisfiedLinkError: no opencv_java2411 in java.library.path
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.loadLibrary0(Unknown Source)
    at java.lang.System.loadLibrary(Unknown Source)
    at openCV_341_PACKAGE.Smoothing_Images_Test_Case.main(Smoothing_Images_Test_Case.java:10)

My sample Java OpenCV script is valid. The problem is the conflict between the two libraries

EDIT 4/5/2018 *********************************************************************

I have contacted OpenCV at Github and get this response.

This is a configuration problem (different versions of OpenCV in single Java project). No chance to fix this in OpenCV (except whole library massive renaming including Java package names, C++ symbols, etc - won't fix).
Alexander Alekhin notifications@github.com

However, I am using OpenCV 3.4.1 exclusively and have deleted all prier versions. The results are the same. Perhaps it is not actually a conflict between OpenCV 3.4.1 and previas OpenCV versions but a conflict between OpenCV 3.4.1 and the LeJOS EV3 EV3 Runtime library.

SOLVED

I am trying to use OpenCV on the LEGO EV3. If my PROJECT FILE includes the LEGO library (LeJOS EV3 EV3 Runtime) there is a conflict with the OpenCV Native library, even if a script does not import the LEGO Library.

import lejos.hardware.*;

Line 10 is

System.loadLibrary(Core.NATIVE_LIBRARY_NAME);

and the associated error is:

Exception in thread "main" java.lang.UnsatisfiedLinkError: no opencv_java2411 in java.library.path
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.loadLibrary0(Unknown Source)
    at java.lang.System.loadLibrary(Unknown Source)
    at openCV_341_PACKAGE.Smoothing_Images_Test_Case.main(Smoothing_Images_Test_Case.java:10)

My sample Java OpenCV script is valid. The problem is the conflict between the two libraries

EDIT 4/5/2018 ********************************************************************

I have contacted OpenCV at Github and get this response.

This is a configuration problem (different versions of OpenCV in single Java project). No chance to fix this in OpenCV (except whole library massive renaming including Java package names, C++ symbols, etc - won't fix).
Alexander Alekhin notifications@github.com

However, I am using OpenCV 3.4.1 exclusively and have deleted all prier versions. The results are the same. Perhaps it is not actually a conflict between OpenCV 3.4.1 and previas OpenCV versions but a conflict between OpenCV 3.4.1 and the LeJOS EV3 EV3 Runtime library.

Refferance

https://mail.google.com/mail/u/0/#inbox/162976ede0335288

SOLVED

I am trying to use OpenCV on the LEGO EV3. If my PROJECT FILE includes the LEGO library (LeJOS EV3 EV3 Runtime) there is a conflict with the OpenCV Native library, even if a script does not import the LEGO Library.

import lejos.hardware.*;

Line 10 is

System.loadLibrary(Core.NATIVE_LIBRARY_NAME);

and the associated error is:

Exception in thread "main" java.lang.UnsatisfiedLinkError: no opencv_java2411 in java.library.path
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.loadLibrary0(Unknown Source)
    at java.lang.System.loadLibrary(Unknown Source)
    at openCV_341_PACKAGE.Smoothing_Images_Test_Case.main(Smoothing_Images_Test_Case.java:10)

My sample Java OpenCV script is valid. The problem is the conflict between the two libraries

EDIT 4/5/2018 ********************************************************************

I have contacted OpenCV at Github and get this response.

This is a configuration problem (different versions of OpenCV in single Java project). No chance to fix this in OpenCV (except whole library massive renaming including Java package names, C++ symbols, etc - won't fix).
Alexander Alekhin notifications@github.com

However, I am using OpenCV 3.4.1 exclusively and have deleted all prier versions. The results are the same. Perhaps it is not actually a conflict between OpenCV 3.4.1 and previas OpenCV versions but a conflict between OpenCV 3.4.1 and the LeJOS EV3 EV3 Runtime library.

RefferanceReference: (https: //mail.google.com/mail/u/0/#inbox/162976ede0335288)

https://mail.google.com/mail/u/0/#inbox/162976ede0335288

SOLVED

I am trying to use OpenCV on the LEGO EV3. If my PROJECT FILE includes the LEGO library (LeJOS EV3 EV3 Runtime) Runtime), there is a conflict with the OpenCV Native library, even if a script does not import the LEGO Library.

import lejos.hardware.*;

Line 10 is

System.loadLibrary(Core.NATIVE_LIBRARY_NAME);

and the associated error is:

Exception in thread "main" java.lang.UnsatisfiedLinkError: no opencv_java2411 in java.library.path
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.loadLibrary0(Unknown Source)
    at java.lang.System.loadLibrary(Unknown Source)
    at openCV_341_PACKAGE.Smoothing_Images_Test_Case.main(Smoothing_Images_Test_Case.java:10)

My sample Java OpenCV script is valid. The problem is the conflict between the two libraries

EDIT 4/5/2018 ********************************************************************

I have contacted OpenCV at Github and get this response.

This is a configuration problem (different versions of OpenCV in single Java project). No chance to fix this in OpenCV (except whole library massive renaming including Java package names, C++ symbols, etc - won't fix).
Alexander Alekhin notifications@github.com

However, I am using OpenCV 3.4.1 exclusively and have deleted all prier versions. The results are the same. Perhaps it is not actually a conflict between OpenCV 3.4.1 and previas OpenCV versions but a conflict between OpenCV 3.4.1 and the LeJOS EV3 EV3 Runtime library.

Reference: (https: //mail.google.com/mail/u/0/#inbox/162976ede0335288)

https://mail.google.com/mail/u/0/#inbox/162976ede0335288

SOLVED

I am trying to use OpenCV on the LEGO EV3. If my PROJECT FILE includes the LEGO LeJOS library (LeJOS EV3 EV3 Runtime), there is a conflict with the OpenCV Native library, even if a script does not import the LEGO LeJOS Library.

import lejos.hardware.*;

Line 10 is

System.loadLibrary(Core.NATIVE_LIBRARY_NAME);

and the associated error is:

Exception in thread "main" java.lang.UnsatisfiedLinkError: no opencv_java2411 in java.library.path
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.loadLibrary0(Unknown Source)
    at java.lang.System.loadLibrary(Unknown Source)
    at openCV_341_PACKAGE.Smoothing_Images_Test_Case.main(Smoothing_Images_Test_Case.java:10)

My sample Java OpenCV script is valid. The problem is the conflict between the two libraries

EDIT 4/5/2018 ********************************************************************

I have contacted OpenCV at Github and get this response.

This is a configuration problem (different versions of OpenCV in single Java project). No chance to fix this in OpenCV (except whole library massive renaming including Java package names, C++ symbols, etc - won't fix).
Alexander Alekhin notifications@github.com

However, I am using OpenCV 3.4.1 exclusively and have deleted all prier versions. The results are the same. Perhaps it is not actually a conflict between OpenCV 3.4.1 and previas OpenCV versions but a conflict between OpenCV 3.4.1 and the LeJOS EV3 EV3 Runtime library.

Reference: (https: //mail.google.com/mail/u/0/#inbox/162976ede0335288)

https://mail.google.com/mail/u/0/#inbox/162976ede0335288

SOLVED

I am trying to use OpenCV on the LEGO EV3. If my PROJECT FILE includes the LEGO LeJOS library (LeJOS EV3 EV3 Runtime), there is a conflict with the OpenCV Native library, even if a script does not import the LeJOS Library.

import lejos.hardware.*;

Line 10 is

System.loadLibrary(Core.NATIVE_LIBRARY_NAME);

and the associated error is:

Exception in thread "main" java.lang.UnsatisfiedLinkError: no opencv_java2411 in java.library.path
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.loadLibrary0(Unknown Source)
    at java.lang.System.loadLibrary(Unknown Source)
    at openCV_341_PACKAGE.Smoothing_Images_Test_Case.main(Smoothing_Images_Test_Case.java:10)

My sample Java OpenCV script is valid. The problem is the conflict between the two libraries

EDIT 4/5/2018 ********************************************************************

I have contacted OpenCV at Github and get this response.

This is a configuration problem (different versions of OpenCV in single Java project). No chance to fix this in OpenCV (except whole library massive renaming including Java package names, C++ symbols, etc - won't fix).
Alexander Alekhin notifications@github.com

However, I am using OpenCV 3.4.1 exclusively and have deleted all prier versions. The results are the same. Perhaps it is not actually a conflict between OpenCV 3.4.1 and previas OpenCV versions but a conflict between OpenCV 3.4.1 and the LeJOS EV3 EV3 Runtime library.

Reference: (https: //mail.google.com/mail/u/0/#inbox/162976ede0335288)

https://mail.google.com/mail/u/0/#inbox/162976ede0335288