OpenPose Installation Failure:Issue Resolved

605 Views Asked by At

I have been trying to install the openpose framework for motoin tracking onto my Windows 10 PC which has a AMD Ryzen Pro 1700 Eight-Core CPU and a Radeon RX 580 GPU with 8GB of VRAM along with 16GB of Normal RAM. I have followed the instruction to compile from source so I can use it's associated python API but i've been struck with the above problem of the install failing due to the above error regardless if I have it set for OPENCL or CPU only ?

The full error log is linked Below:

:\openpose\build\CMakeFiles\CMakeTmp\CheckSymbolExists.c(2,10): fatal error C1083: Cannot open include file: 'OpenCL_INCLUDE_DIR-NOTFOUND/CL/cl.h': No such file or directory [D:\openpose\build\CMakeFiles\CMakeTmp\cmTC_d0a4b.vcxproj]

  cl /c /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_d0a4b.dir\Debug\\" /Fd"cmTC_d0a4b.dir\Debug\vc142.pdb" /Gd /TC /errorReport:queue D:\openpose\build\CMakeFiles\CMakeTmp\CheckSymbolExists.c



File D:/openpose/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <OpenCL_INCLUDE_DIR-NOTFOUND/CL/cl.h>

int main(int argc, char** argv)
{
  (void)argv;
#ifndef CL_VERSION_1_0
  return ((int*)(&CL_VERSION_1_0))[argc];
#else
  (void)argc;
  return 0;
#endif
}
Determining if the include file pthread.h exists failed with the following output:
Change Dir: D:/openpose/build/CMakeFiles/CMakeTmp

Could somebody please explain why the install is failing ? The full log is linked here: https://pastebin.com/r7ppEruG

Edit: I have resolved the issue, the inital problem was due to the fact that I had not restarted my computer having installed an OpenCL database meaning it wasn't being detected. That issue was resolved after it was updated. Following on another issue was that the models had failied to download, my investiagation showed the original domain that had at one point hosted the models had gone down.

1

There are 1 best solutions below

0
On

I think I have found the source of the error, it seems the opensource links for getting cafe installed are dead and this also applies to the ones used by camke. Until the link is live again or fixxed the problem will persits. The link used to get openCL installed is dead. http://posefs1.perception.cs.cmu.edu/OpenPose/3rdparty/windows/caffe_opencl_2018_02_13.zip