unsatisfiedlinkerror

Trying to make java application (Executable Jar) that uses OpenCV portable. Getting unsatisfied link error

人盡茶涼 提交于 2019-12-02 12:52:42
I have made a application to grab video from a webcam and detect motion using OpenCV and JavaCV. I am trying to export as an executable jar using eclipse. The program runs fine in eclipse as does the exe jar on the computer I coded the program on. What I am trying to accomplish is to make the exe Jar run on computers that don't have OpenCV installed. Basically what I would consider a portable application. When I run the exe jar on a different computer that has nothing installed other than the JRE I get unsatisfied link errors seen below. Exception in thread "Video Thread" java.lang

java.lang.UnsatisfiedLinkError: no GurobiJni / Tomcat

谁说我不能喝 提交于 2019-12-02 12:16:20
问题 We are trying to run Gurobi through a Java web application with Tomcat server in a CentOS. System variables are defined: declare -x GRB_LICENSE_FILE="/home/suporte/gurobi.lic" declare -x GUROBI_HOME="/opt/gurobi752/linux64" declare -x LD_LIBRARY_PATH="\${LD_LIBRARY_PATH}:\${GUROBI_HOME}/lib" declare -x PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:\$JAVA_HOME/bin:\$GUROBI_HOME/bin" Gurobi and Java work fine. Application works fine as well in Tomcat, but when it calls

Android for OpenCV - error opening trace file, UnsatisfiedLinkError

依然范特西╮ 提交于 2019-12-02 11:49:12
I'm new to both Android development and OpenCV. I downloaded the OpenCV library for Android from http://sourceforge.net/projects/opencvlibrary/files/opencv-android/ and set up a phone using the Virtual Device Manager. When I try to run "OpenCV Tutorial 0 - Android Camera" in Eclipse, the phone's screen says "Fatal error: can't open camera!" and I get these errors in the log: 08-07 15:02:57.322: E/Trace(708): error opening trace file: No such file or directory (2) 08-07 15:02:57.772: E/Sample::SurfaceView(708): Can't open camera! I also tried running a simple project: package com.example;

javaCV UnsatisfiedLinkError

ε祈祈猫儿з 提交于 2019-12-02 11:21:14
问题 I have a problem with JavaCV. I downloaded javaCV-bin and i added .jar file in my project in references libraries on ubuntu I could worked sample codes which locate in downloaded file But error is Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/libjniopencv_core3835922554849797701.so: libopencv_core.so.2.4: cannot open shared object file: No such file or directory at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java

JNI UnsatisfiedLinkError

感情迁移 提交于 2019-12-02 10:21:11
I want to create a simple JNI layer. I used Visual studio 2008 to create a dll (Win 32 Console Application project type with DLL as the option). Im getting this exception when I invoke the native method: Exception occurred during event dispatching: java.lang.UnsatisfiedLinkError: com.tpd.vcdba.console.TaskScheduler.vcdbaTaskSch edulerNative.Hello()V at com.tpd.vcdba.console.TaskScheduler.vcdbaTaskSchedulerNative.Hello(Na tive Method) at com.tpd.vcdba.console.TaskScheduler.vcdbaTaskSchedulerUtil.isTaskExis ts(vcdbaTaskSchedulerUtil.java:118) at com.tpd.vcdba.console.Dialogs.schedulerWizardPage

UnsatisfiedLinkError in pjsip library

与世无争的帅哥 提交于 2019-12-02 08:42:38
I build Pjsip library and use its sample in android studio . question When I run that i got this error.How could I solve it ? thanks in advance. exception jsip.pjsua2.app E/AndroidRuntime: FATAL EXCEPTION: main Process: org.pjsip.pjsua2.app, PID: 4360 java.lang.UnsatisfiedLinkError: No implementation found for void org.pjsip.pjsua2.pjsua2JNI.swig_module_init() (tried Java_org_pjsip_pjsua2_pjsua2JNI_swig_1module_1init and Java_org_pjsip_pjsua2_pjsua2JNI_swig_1module_1init__) at org.pjsip.pjsua2.pjsua2JNI.swig_module_init(Native Method) at org.pjsip.pjsua2.pjsua2JNI.(pjsua2JNI.java:2351) at org

UnsatisfiedLinkError when calling method from native library although System.loadLibrary seems ok

柔情痞子 提交于 2019-12-02 08:21:58
问题 I have an Android Studio 1.2.2 project setup with some native *.so files included in project -> src -> main -> jniLibs -> armeabi (that's the correct architecture for them). I have a class that loads the library in a static and links to the native methods (I think/hope). Here is the static with System.loadLibrary: static { try { System.loadLibrary("<SOME LIB>"); } catch(UnsatisfiedLinkError ule){ Log.e(TAG, "Error while loading library <SOME LIB>", ule); } } I never hit the catch block or see

javaCV UnsatisfiedLinkError

好久不见. 提交于 2019-12-02 07:28:36
I have a problem with JavaCV. I downloaded javaCV-bin and i added .jar file in my project in references libraries on ubuntu I could worked sample codes which locate in downloaded file But error is Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/libjniopencv_core3835922554849797701.so: libopencv_core.so.2.4: cannot open shared object file: No such file or directory at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1750) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1646) at java.lang.Runtime.load0(Runtime

UnsatisfiedLinkError when calling method from native library although System.loadLibrary seems ok

拥有回忆 提交于 2019-12-02 06:55:32
I have an Android Studio 1.2.2 project setup with some native *.so files included in project -> src -> main -> jniLibs -> armeabi (that's the correct architecture for them). I have a class that loads the library in a static and links to the native methods (I think/hope). Here is the static with System.loadLibrary: static { try { System.loadLibrary("<SOME LIB>"); } catch(UnsatisfiedLinkError ule){ Log.e(TAG, "Error while loading library <SOME LIB>", ule); } } I never hit the catch block or see the error message but I have verified I enter the static and get to the System.loadLibrary line so I

UnsatisfiedLinkError, despite setting Djava.library.path variable

不羁的心 提交于 2019-12-02 06:17:35
I am trying to integrate IBM's CPLEX library with my java application. For now, i'm just trying to create an IloCplex object. I added Cplex.jar, and it compiles fine, but when I run this: public class cplexTest{ public static void main(String[] args){ try{ IloCplex cplex = new IloCplex(); }catch (Exception e){ e.printStackTrace(); } } Cplex prints this message before throwing an exception: java.lang.UnsatisfiedLinkError: no cplex124 in java.library.path java.library.path must point to the directory containing the CPLEX shared library try invoking java with java -Djava.library.path=... I pass