Linphone.dll not found with windows form

351 Views Asked by At

I want to create a g application with C# and Windows Forms. For this I have downloaded and installed the latest nuget from the official website (https://download.linphone.org/releases/windows/sdk/). But now when I want to make a call, the programme crashes with the error:

DllNotFoundException:linphone.dll

I have now tried various things: modify LinphoneWrapper.cs, integrating dll file into the project, dll file in bin folder, ... but had no success.

I tried the same thing with C# UWP and it worked without any problems. But UWP does not look like the right way to me.

I am still inexperienced: Is it even possible with this nuget and Windows Forms, or do I have to download and build (cmake) the linphone-sdk first?

Thanks for help.

1

There are 1 best solutions below

1
Pavel Anpin On

Are you building for x64? linphone doesn't support targeting x86 (look here)