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
Unable to load DLL 'DlibDotNet.Native.dll' #50
Comments
Could you show your directory which includes DlibDotNet.Native.dll? And I do not recommend using CMake GUI to build native dlls. The following is simple command line.
Or you can also use NuGet. |
It is weird. I never face this issue. Just in case, please check execute directory. In any case, DlibDotNet can not use DlibDotNet.Native.dll due to lack of dependencies library. |
@takuya-takeuchi I think that DlibDotNet package .nuspec should be investigated for finding proper way to package deps...
@takuya-takeuchi, taking the .target file of the DlibDotNet nuget package below
|
NugetPackageExplorer tool to the help! There are different approaches how to deploy natives with DlibDotNet Another could be the VcPkg.Nuget way ;) |
Yes, it is weird :) Create another empty project and get it back from nuget, it is improved. |
I think understood the problem. I am getting 'DlibDotNet.Native.dll' error that i created web application but there is no error in console application. Do you have a solution ? |
I had never develop web app. but if try to work on no-development machine, you should check whether proper vc++ runtime is installed. i will check if you can upload minimum web app using dlibdotnet. |
I checked vc++ runtime and it is installed. If you create basic web mvc or webapi and install from nuget then you can see the problem |
@takuya-takeuchi - I beleive DlibDotNet.props needs simple compatibility tests to be added, to raise the failure message, if not |
@valerysntx @bozkurtfurkan Therefore, we can not support .NET Core 2.1. |
I changed target framework. It is working. Thank you so much : @valerysntx and @takuya-takeuchi |
I worked a few example today and I created a console app on 2.1 target framework. It is working ! I think the problem is not version number. What do you think about this stuation ? @takuya-takeuchi @valerysntx |
Not the problem! - This confirms that
Great, but @bozkurtfurkan, making such DlibDotNet.Native builds for iOS, Mac, Android could be great contribution to the project! |
@valerysntx Thank you for your answer |
Summary of your issue
I did everything steps by steps. I built dlibDotnet with cmake. But I'm still getting this error :
My steps result :
The text was updated successfully, but these errors were encountered: