Quantcast
Channel: Questions in topic: "dllnotfoundexception"
Viewing all articles
Browse latest Browse all 201

Dll not found exception in Editor only

$
0
0
I want to use openCV in Unity (on Windows) and I have followed [this tutorial][1] When I do a build everything going fine and the application work on my android (every libs are in good place). When I want to play it in unity, I have the error "DllNotFoundException: SharedObject1". My dlls ( libSharedObject1.so & libopencv_java3.so ) are in "Assets\Plugins\Android\libs\armeabi-v7a". I have tried other path for my dlls without any improvement. My cs file using UnityEngine; using System.Collections; using System.Runtime.InteropServices; public class CallNativeCode : MonoBehaviour { [DllImport ("SharedObject1") ] private static extern float Foopluginmethod(); void OnGUI() { GUI.Label(new Rect(15, 125, 450, 100), "Foopluginmethod: " + Foopluginmethod()); } } [1]: https://stackoverflow.com/questions/47399921/opencv-android-unity

Viewing all articles
Browse latest Browse all 201

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>