takuya-takeuchi / OpenPoseDotNet

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

Can not compile library on 32 bit windows #18

Open mikesheiman opened 4 years ago

mikesheiman commented 4 years ago

I get this from cmake before it freezes, giving no errors. My command line is ".\Build.ps1 Debug cpu 32 desktop 2019 100"

The command line from you build powershell code says " cmake -G Visual Studio 16 2019 -A Win32 -D CMAKE_BUILD_TYPE=Debug -D USE_CUDA:BOOL=OFF"

Microsoft (R) C/C++ Optimizing Compiler Version 19.26.28806 for x86

Copyright (C) Microsoft Corporation. All rights reserved.

CMakeCXXCompilerABI.cpp

cl /c /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"cmTC_d4f12.dir\Debug\" /Fd"cmTC_d4f12.dir\Debug\vc142.pdb" /Gd /TP /analyze- /errorReport:queue "C:\Program Files\CMake\share\cmake-3.18\Modules\CMakeCXXCompilerABI.cpp"

cmTC_d4f12.vcxproj -> C:\Users\mikes\source\repos\corepose\OpenPoseDotNet\src\OpenPoseDotNet.Native\build_win_desktop_cpu_x86_d\openpose\CMakeFiles\CMakeTmp\Debug\cmTC_d4f12.exe

mikesheiman commented 4 years ago

binariesnotcopied

takuya-takeuchi commented 4 years ago

@mikesheiman Did you try https://github.com/takuya-takeuchi/OpenPoseDotNet#1-build? Your error says the opencv dll is missing. And I am not sure openpose support x86. If not support, opencv is x64 and we must not build OpenPoseDotNet for x86.