Thursday, 15 August 2013

cannot load info library for opencv android -



cannot load info library for opencv android -

after getting openv android git , compiling , tried run 3rd tutorial , problem getting opencv drror : cannot load info library opencv

02-18 12:04:26.959: w/system.err(9329): java.lang.unsatisfiedlinkerror: couldn't load opencv_java: findlibrary returned null 02-18 12:04:26.959: w/system.err(9329): @ java.lang.runtime.loadlibrary(runtime.java:365) 02-18 12:04:26.959: w/system.err(9329): @ java.lang.system.loadlibrary(system.java:535) 02-18 12:04:26.959: w/system.err(9329): @ org.opencv.android.statichelper.loadlibrary(statichelper.java:54) 02-18 12:04:26.959: w/system.err(9329): @ org.opencv.android.statichelper.initopencvlibs(statichelper.java:85) 02-18 12:04:26.964: w/system.err(9329): @ org.opencv.android.statichelper.initopencv(statichelper.java:29) 02-18 12:04:26.964: w/system.err(9329): @ org.opencv.android.opencvloader.initdebug(opencvloader.java:26) 02-18 12:04:26.964: w/system.err(9329): @ org.opencv.samples.tutorial3.sample3native.<clinit>(sample3native.java:27) 02-18 12:04:26.964: w/system.err(9329): @ java.lang.class.newinstanceimpl(native method) 02-18 12:04:26.964: w/system.err(9329): @ java.lang.class.newinstance(class.java:1319) 02-18 12:04:26.964: w/system.err(9329): @ android.app.instrumentation.newactivity(instrumentation.java:1068) 02-18 12:04:26.964: w/system.err(9329): @ android.app.activitythread.performlaunchactivity(activitythread.java:2015) 02-18 12:04:26.964: w/system.err(9329): @ android.app.activitythread.handlelaunchactivity(activitythread.java:2125) 02-18 12:04:26.964: w/system.err(9329): @ android.app.activitythread.access$600(activitythread.java:140) 02-18 12:04:26.964: w/system.err(9329): @ android.app.activitythread$h.handlemessage(activitythread.java:1227) 02-18 12:04:26.964: w/system.err(9329): @ android.os.handler.dispatchmessage(handler.java:99) 02-18 12:04:26.964: w/system.err(9329): @ android.os.looper.loop(looper.java:137) 02-18 12:04:26.964: w/system.err(9329): @ android.app.activitythread.main(activitythread.java:4898) 02-18 12:04:26.964: w/system.err(9329): @ java.lang.reflect.method.invokenative(native method) 02-18 12:04:26.964: w/system.err(9329): @ java.lang.reflect.method.invoke(method.java:511) 02-18 12:04:26.964: w/system.err(9329): @ com.android.internal.os.zygoteinit$methodandargscaller.run(zygoteinit.java:1008) 02-18 12:04:26.964: w/system.err(9329): @ com.android.internal.os.zygoteinit.main(zygoteinit.java:775) 02-18 12:04:26.964: w/system.err(9329): @ dalvik.system.nativestart.main(native method)

but when seek re-create libopencv_java , libopencv_info lib/arm7v deleted automatically eclipse ! libnative cameras ok thought ?

it turned out enabling static linking prevent shared library management , libopencv_java , libopencv_info libs not added output , solve problem load these 2 libs manually .

android opencv

No comments:

Post a Comment