Open gscantor opened 5 years ago
Hi! What operation system and .NET framework do you run program on? What branch do you use? And where do you get linphone SDK?
I'm little confused about 'Liblinphone.DLL' in error message. Do you run it on Linux?
In common case you simply should make sure, that all necessary dlls are in the same directory with your program EXE file (or inside system libraries folder).
I'm running on a Windows 10 machine using .NET Framework 4.7.2. I've tried (and have had the same error) with getting the SDK from this GitHub (downloading the full zip file), and by downloading it directly from the Linphone website. I'm not running on Linux, which is why the Liblinphone error seems so weird to me as well. I've confirmed that my dlls are in the correct location, and have made the project multiple times in different places (VS17, VS15, and directly on the command line).
Please try binaries from dev-branch: linphone dlls, sipdotnet.
If you build sipdotnet from sources, please make sure that you set WINDOWS
conditional compilation symbol, and x86
as target platform:
I tried making those changes and downloading the binaries from those sources, but am still getting the same error. The error is stemming from Linphone_core_set_log_level(OrtpLogLevel, loglevel). For some reason I am unable to attach a picture of my command prompt to show the error in full. I'm open to trying any other ideas you (or others) may have.
I have the same problem as the other guy.
I faced the same issue... You have to make sure the DLLs are also copied to the bin folder after building your app. So i wrote a post-build script in my app settings that copies the DLLs to the bin/debug or bin/release folder
okey thanks but, but I still have problems with the program not even the example wants to compile me well and throws me the same error
Hi! So I'm trying to call Phone.Connect(), and the error 'unable to find Liblinphone.DLL' occurs. If I remove this line it doesn't happen, but also this line is essential to connect my created phones. I've tried the solutions previously suggested (checking how it is compiled, redownloading the SDK and libraries, etc.), but have not had any success. Any help would be appreciated!