java: symbol lookup error: undefined symbol: _ZN2cv3Mat20updateContinuityFlagEv
Hello, Currently i am working on image processing application, where i am using opencv on Ubuntu 18.04. I have compiled my C++ project it compiles and runs fine. But when i am trying to compile it with JNI it gets successfully compile, but when i try to run it using spring application i am getting the following error.
java: symbol lookup error: /home/Demo/libSoFile.so: undefined symbol: _ZN2cv3Mat20updateContinuityFlagEv
Details about the libraries - opencv 3.4.3
O.S - Ubuntu 18.04
Java version - openjdk version "1.8.0_212"