Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DllNotFoundException #12

Open
andreobvio opened this issue Jan 20, 2023 · 2 comments
Open

DllNotFoundException #12

andreobvio opened this issue Jan 20, 2023 · 2 comments

Comments

@andreobvio
Copy link

andreobvio commented Jan 20, 2023

Hello, I am using webrtcvadsharp inside Unity, Ive imported that using NuGet.

Screenshot 2023-01-20 at 16 03 39

full log:
DllNotFoundException: webrtcvad assembly: type: member:(null)
WebRtcVadSharp.WebRtc.WebRtcDll.Create () (at :0)
WebRtcVadSharp.WebRtcVad..ctor (WebRtcVadSharp.WebRtc.IWebRtcDll library) (at :0)
Rethrow as DllNotFoundException: Unable to load DLL 'WebRtcVad.dll' or a dependency. Be sure it exists in '/Users/andrescapinlli/Documents/Baires Dev/ObvioHealth/ObvioSpeech/obviospeech' or elsewhere in the DLL search path.
WebRtcVadSharp.WebRtcVad..ctor (WebRtcVadSharp.WebRtc.IWebRtcDll library) (at :0)
WebRtcVadSharp.WebRtcVad..ctor () (at :0)
MicrophoneController.DoesFrameContainSpeech (System.Byte[] audioFrame) (at Assets/Scripts/Recorder/MicrophoneController.cs:56)
MicrophoneController.Update () (at Assets/Scripts/Recorder/MicrophoneController.cs:51)


So basically my code is not finding the .dll. Does someone have any idea how to solve that?

I`ve already tried to change the path to the root of my project, but it also does not work.

@tonyabracadabra
Copy link

tonyabracadabra commented Jul 20, 2023

Hey Jay @ladenedge , I am facing the same issue, do you have any advice on it? There aren't really a lot of other VAD libraries in Unity out there and your repo can really be a life saver to me! Thanks a ton!

@zhouchanglin-rr
Copy link

We have two options:

  1. use Visual studio to build WebRtcVAD.dll
  2. use mingw toolchain to build
    The best solution is to provide an official native dll in the nuget package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants