- Home /
build exe with opencvsharp / dll missing / FileNotFoundException
hi there
i am doing now a project which includes opencvsharp function. And i wanna build it as a exe game file. But it gives me error.
It is actaully working fine in unity3d editor mode.
so i send you with file together can you maybe check how i can build it?
i am using unity3d 4.7 because opencvsharp is not working with current version of unity3d.
any help is very thankful
thank you very much
here is error message
found one: probe@Sad Idle (PerfectLookAt) UnityEngine.Debug:Internal_Log(Int32, String, Object) UnityEngine.Debug:Log(Object) FaceDetectScript:Start() (at C:\Users\corumlee\Downloads\CSharpTest_Win (1)\CSharpTest_Win\Assets\Scripts\FaceDetectScript.cs:50)
(Filename: C:/Users/corumlee/Downloads/CSharpTest_Win (1)/CSharpTest_Win/Assets/Scripts/FaceDetectScript.cs Line: 50)
FileNotFoundException at OpenCvSharp.Cv.Load[CvHaarClassifierCascade] (System.String filename, OpenCvSharp.CvMemStorage memstorage, System.String name, System.String& real_name) [0x00000] in :0
at OpenCvSharp.Cv.Load[CvHaarClassifierCascade] (System.String filename) [0x00000] in :0
at OpenCvSharp.CvHaarClassifierCascade.FromFile (System.String filename) [0x00000] in :0
at FaceDetectScript.Start () [0x00049] in C:\Users\corumlee\Downloads\CSharpTest_Win (1)\CSharpTest_Win\Assets\Scripts\FaceDetectScript.cs:53
(Filename: C:/Users/corumlee/Downloads/CSharpTest_Win (1)/CSharpTest_Win/Assets/Scripts/FaceDetectScript.cs Line: 53)
ArgumentNullException: Argument cannot be null.
Parameter name: capture at OpenCvSharp.Cv.QueryFrame (OpenCvSharp.CvCapture capture) [0x00000] in :0
at FaceDetectScript.Update () [0x00000] in C:\Users\corumlee\Downloads\CSharpTest_Win (1)\CSharpTest_Win\Assets\Scripts\FaceDetectScript.cs:70
(Filename: C:/Users/corumlee/Downloads/CSharpTest_Win (1)/CSharpTest_Win/Assets/Scripts/FaceDetectScript.cs Line: 70)
Your answer

Follow this Question
Related Questions
How to properly use my own DLLs in Unity? 2 Answers
EntryPointNotFoundException - native plugin help 0 Answers
OpenCVSharp missing dll 1 Answer
Why can't I build Web Player in Unity while I have no problems with building standalone versions? 2 Answers
Building project error because of scripting backend: IL2CPP works, .NET not! 0 Answers