DlibDotNet icon indicating copy to clipboard operation
DlibDotNet copied to clipboard

Unable to load DLL DlibDotNetNative.dll on Win 7 machine

Open SimonKravis opened this issue 3 years ago • 2 comments

Summary of your issue

Code referencing DLibDotNet works OK in my development environment (Win 10, Asus Zenbook 2014 built for .Net 4.6.1) but when I create an installer and install on a Win 7 system, (HP Pavilion C. 2003 with .Net 4.6.1 installed) it fails with the message Unable to load DLL "DlibDotNetNative.dll" Exception from HRESULT: 0xC000001D when deserializing shape predictor file. The dll is present in the install directory. Adding FaceRecognitionDotNet.dll and FaceRecognitionDotNet.xml to the install directory did not fix the problem. Is this a Win 7 problem or should other components be added to the install?

Environment

Win 7

What did you do when you faced the problem?

Stopped

Example code:

paste your core code

Output:

paste your output

What did you intend to be?

SimonKravis avatar Sep 06 '20 12:09 SimonKravis

Problem does not appear on a Win 10 system. Does DlibDotNet only work on Win 10?

SimonKravis avatar Sep 07 '20 02:09 SimonKravis

@SimonKravis I have no win7 machine. And I doubt HP Pavilion C. 2003 has legacy cpu. https://github.com/takuya-takeuchi/DlibDotNet/issues/174

takuya-takeuchi avatar Sep 08 '20 08:09 takuya-takeuchi