takuya-takeuchi / OpenPoseDotNet

OpenPose wrapper written in C++ and C# for Windows
MIT License
66 stars 25 forks source link

Unable to load DLL 'OpenPoseDotNetNative' #12

Closed bruce987 closed 4 years ago

bruce987 commented 4 years ago

Hi takuya-takeuchi,

I have been able to build and run the original OpenPose C++ on my new laptop. I have since been trying to get the OpenPoseDotNet to work. I have taken some code from one of the examples, built it, but when I run it I get the dreaded "Unable to load DLL" or one if its dependencies. I located a "Dependencies" tool and loaded the DLL into it. Here's the link for the tool https://lucasg.github.io/Dependencies/ The old depends.exe does not work. So I'm seeing some DLL's that I don't have on my system... 'api-ms-win-core-wow64-11-1-1.dll'...and others. Since I've been communicating with you, I've been seeing this problem, but thought I was not building correctly.

My research indicates that these DLL's have been eliminated in Windows 10, but I don't understand why it builds! I'm still researching.

I assume you are using Windows 10 1909 release? All my systems are on this release.

image

The dependencies view... image

Thanks, Bruce

bruce987 commented 4 years ago

I have no clue why this error is happening. I'm trying to take some code from one of the examples and load it into my .NET application using your library. Basically I'm trying to do what OpenPose demos does (the one from CMU labs).

takuya-takeuchi commented 4 years ago

@bruce987 Very sorry late reply. We world are just focusing to beat threat of COVID-19. Thank you for your patient.

I assume you are using Windows 10 1909 release? All my systems are on this release.

Yes. My dev machine is latest windows.

The following is result of dependencies for OpenPoseDotNet.Native.dll.

image

But there is no dependency issue. This weird issues is reported in https://github.com/lucasg/Dependencies/issues/102

If you can, you can upload your build OpenPoseDotNet.Native.dll and I can check dependencies and work on my machine.

Thanks.

bruce987 commented 4 years ago

@takuya-takeuchi

Yes I'm on Windows 10 1909 release. My investigation indicates that the -wow- dll's are no longer installed on Windows latest release, which I verify is accurate. I had to change the extension to txt, dll is not supported download type. OpenPoseDotNetNative.dll.txt

takuya-takeuchi commented 4 years ago

@bruce987 This is your built library.

スクリーンショット 2020-04-12 11 34 43

However, there is no issue. Uhh.. My dev machine is not installed as clear install. It may mean that -wow- dll's remains from old version windows. So I should create new 1909 machine as Hyper-V and test it.

bruce987 commented 4 years ago

If you open the first link and drill down you might see an error. The interesting thing is the OpenPose library shows the same issue, but runs without issue... that’s what has me baffled!

Sent from my iPhone

On Apr 11, 2020, at 9:41 PM, Takuya Takeuchi notifications@github.com wrote:

 @bruce987 This is your built library.

However, there is no issue. Uhh.. My dev machine is not installed as clear install. It may mean that -wow- dll's remains from old version windows. So I should create new 1909 machine as Hyper-V and test it.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

bruce987 commented 4 years ago

@takuya-takeuchi ,

Since I was able to load and run your 'examples\TutorialApiCpp\01_BodyFromImageDefault'; I took that build libraries and put them into my application that I'm building. This runs basically without issues.

...but I have another question which I will open a new issue. -Bruce