_openpose.dll in Release folder, not proper win32 application
I have followed strictly all the instructions for Python. Installed with CMake, checked BUILD_PYTHON
Then run the visual studio project (Using Visual studio 2017 x64 with -T v140
Then set RELEASE x64 and choose the openpose library as start project. 21 projects built successfully, 1 failed.
build/python/openpose/Release has _openpose.dll _openpose.exp _openpose.lib.
I go to build/examples/tutorial_api_python, open the command prompt there (already on the right folder) execute 1_extract_pose.py and get
openpose library not found, have you checked BUILD_PYTHON ? YES I HAVE Are you sure you are in the right folder ? YES I AM
I have tried 100 more things, including building the project several times with CMake and same error systematically.
Going to the build/python/openpose/ and running openpose.py gives me
File "C:\Python27\lib\site-packages\numpy\ctypeslib.py", line 155, in load_library raise OSError ("no file with expected extension") So I changed the line just to test, under the exception it tries a Debug folder which doesn't exist. Instead I pasted the same command to load from Release again, and that's when the error is "not a proper win32 file."
So it looks like the .dll is being created but with bugs. WHY?
Please help!
Please follow the issue template, which also involves pasting your build log. Something has failed to build clearly and may be causing issues
Thanks for the reply, I have submitted a new issue
On Tue, Oct 16, 2018 at 6:58 PM Raaj [email protected] wrote:
Please follow the issue template, which also involves pasting your build log. Something has failed to build clearly and may be causing issues
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FCMU-Perceptual-Computing-Lab%2Fopenpose%2Fissues%2F884%23issuecomment-430430019&data=02%7C01%7Cmartin.flament_fultot%40uconn.edu%7C29e769ff473b4e9e220308d633bae929%7C17f1a87e2a254eaab9df9d439034b080%7C0%7C0%7C636753275202465792&sdata=HWpMDzVM9DexEhUopSvBWm1PtRoqDx%2FBqywqUCPeuUw%3D&reserved=0, or mute the thread https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAYC_mNW9RcpgEvAhBWJdFRfL6B2iCHt2ks5ulmSdgaJpZM4Xidmd&data=02%7C01%7Cmartin.flament_fultot%40uconn.edu%7C29e769ff473b4e9e220308d633bae929%7C17f1a87e2a254eaab9df9d439034b080%7C0%7C0%7C636753275202465792&sdata=eK%2BYGolutRwxBRPmRJ5kI2FOwBaQ2%2Fifs3FCYDwlF98%3D&reserved=0 .