CMU-Perceptual-Computing-Lab / openpose

OpenPose: Real-time multi-person keypoint detection library for body, face, hands, and foot estimation
https://cmu-perceptual-computing-lab.github.io/openpose
Other
31.12k stars 7.86k forks source link

Build Error in openpose3D #334

Closed aniketzz closed 6 years ago

aniketzz commented 6 years ago

i am trying to build openpose3D project. i am getting 16 errors related to "Severity Code Description Project File Line Suppression State "Error LNK2001 unresolved external symbol __imp___glutCreateWindowWithExit OpenPose3DReconstruction C:\Users\acer.LAPTOP-DAK58UAQ\Downloads\Compressed\openposemaster \windows\OpenPose3DReconstruction\renderer.cpp.obj" All the 16 errors are similar to this above errors. I am unable to understand the error. Please help me with this. I have attached the screen of the error. screenshot 15

gineshidalgo99 commented 6 years ago

That seems to be the FreeGLUT library. Maybe trying to re-downloading it (and try to be sure to use the 64-bit version, not the 32-bit one). Let me know if it still fails or how you solved it. Thanks

aniketzz commented 6 years ago

i reinstalled the FreeGLUT library 64 bit. but the issue remains the same.. and do we need more than 1 camera to make this code execute or only one camera is enough?

aniketzz commented 6 years ago

i was out of station so i was not looking into the issue till today.. but so far today i am able to solve all the 15/16 errors so far but still i am getting 1 error as cannot open "freeglut.lib" file. I tried copy pasting the lib file by downloading again and again but no use. the error remains same. please help me if there is any other way or am i missing something. Any help will be appreciated. Thanks

ohadcn commented 6 years ago

On what project did it failed? on all of them? have you verified that freeglut is found in the right directory?

aniketzz commented 6 years ago

It failed on openpose3d project.. yaa i verified multiple times . All the files are in their respective directories.. i even reinstalled the library from various websites but still same issue arises

ohadcn commented 6 years ago

have you installed skinnaker sdk? https://www.ptgrey.com/spinnaker-sdk

aniketzz commented 6 years ago

Yes i have installed that ... Can you suggest me any other way of solving this issue. I have been stuck at the same place from over a week .. Please help me through this..

aniketzz commented 6 years ago

i have solve all the error .. The freeglut error is also solved now. I have a quick question. Do i need Blackfly S camera to run this openpose3d project or can i use Kinect as well... and can you specify the exact number of cameras needed for the project to run. and can i use (say 3) different cameras for it to work... I tried with my webcam and kinect as a normal camera. but now i got an error message in the command prompt as "no camera detected". Thanks for all the helps so far. and please check this query as well...

screenshot 103

dibusch commented 6 years ago

How did you solve the freeglut error @aniketzz?

dibusch commented 6 years ago

solved. I set the linker to ".. \ .. \ 3rdparty \ windows \ freeglut \ lib \ x64 \ freeglut.lib".

aniketzz commented 6 years ago

yes thats one way of solving freeglut error @dibusch ... but i just copied the freeglut.lib file in " \ .. \ 3rdparty \ windows \freeglut\freeglut.lib and it started working for me now...