Closed bruce987 closed 4 years ago
@bruce987 Yeah, you are correct. README.md and bat file explanation have fucking wrong. OK, let me fix it.
Thanks.
Corrected document and script. Please get latest code from develop branch. Replace SymlinkBinary.bat with ymlinkBinary.ps1.
Just in case, please delete bin, examples, models and obj from each example directory before run SymlinkBinary.ps1. Because wrong symlink path occurs issue you faced to.
@takuya-takeuchi
I pulled the development branch. Cleanup the folders of bin, obj, models, and examples. I ran powershell as administrator and got the following error:
@bruce987 Your machine does not allow you to execute untrusted scripts. Please check and follow the this page. https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.security/set-executionpolicy?view=powershell-7
Ok I’ll do it tomorrow... it’s late here in Texas and I’ve had a few beers!
Sent from my iPhone
On Apr 11, 2020, at 9:26 PM, Takuya Takeuchi notifications@github.com wrote:
@bruce987 Your machine does not allow you to execute untrusted scripts. Please check and follow the this page. https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.security/set-executionpolicy?view=powershell-7
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
I changed the security policy and it now runs, but doesn't find one of the boost libraries:
...and here is the build folder
Ok, I understand. I used VS 2015 and it created vc140.dll. Sorry, I forgot to consider version of VS.
I have you considered moving the SymlinkBinary.ps1 up two folders, "examples". Then when it is run it applies all the necessary data setup for all examples. This way you don't need to maintain multiple script files.
Hey Takuya,
I did some research on the OpenPose application (not your DotNet Library). My laptop now has VS 2015, 2017 and 2019 installed on it. It has Nvidia RTX 2080 graphics card. I cloned openpose and built it using their recommended approach which is cmake-gui. I also have CUDA 10.0, 10.1, and 10.2. CUDA 10.0 was the initial version referenced.
I cloned openpose and built it using VS2015. I verified that it worked by running their demo.
Next I cloned openpose into a folder called openpose2017. Built it using VS2017. I verified that it worked by running their demo.
Finally, I cloned openpose into a folder called openpose2019. Tried building it using VS2019. At this point the build failed due to the CUDA version: “include\crt\host_config.h”. Apparently CUDA 10.0 does NOT work with VS2019. I checked the “include\crt\host_config.h” file for 10.1 and 10.2. Both those files showed valid versions for VS2019. I switched to CUDA 10.2 and cleaned up everything – deleted the cloned folder. I started over. It built and I verified that it worked by running the demo.
In conclusion, if you support VS2019, you will need to make checks for CUDA 10.1 or greater when building openpose.
Thanks,
Bruce
From: Takuya Takeuchi notifications@github.com Sent: Monday, April 13, 2020 4:33 AM To: takuya-takeuchi/OpenPoseDotNet OpenPoseDotNet@noreply.github.com Cc: bruce987 bruce.w.hochstetler@gmail.com; Mention mention@noreply.github.com Subject: Re: [takuya-takeuchi/OpenPoseDotNet] Issues with Examples (#13)
Ok, I understand. I used VS 2017 and it created vc140.dll. Sorry, I forgot to consider version of VS.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/takuya-takeuchi/OpenPoseDotNet/issues/13#issuecomment-612827995 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMCBL2UFFJSJO6MRAMEGTLRMLL4JANCNFSM4L4PV5HA . https://github.com/notifications/beacon/AAMCBL427JYXGLVJ2ZIYOALRMLL4JA5CNFSM4L4PV5HKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOESDQGWY.gif
@takuya-takeuchi
I modified the SymlinkBinary.ps1... I removed the dll's that it couldn't find. That fixed the problem.
-Bruce
Hi takuya-takeuchi,
I've been messing with this for a few weeks now. Today I started fresh and used your original steps to build it. One of the problems I see is in the steps "Try Tutorial". The first one "01_BodyFromImageDefault" shows these steps...
All of the others show the following steps...
Noticed that the SymlinkBinary.bat file leaves out the second argument. After fixing the error in execution, I tried running some of the examples. The first one works! "01_BodyFromImageDefault" All of the other examples generate this error...