Open mikesheiman opened 4 years ago
This is under x64/64 bit compilation
@mikesheiman OK. I got same result. Please give me time to check.
@mikesheiman
Current code does not output log to stdout. You can modify code to show log.
- catch (Exception)
+ catch (Exception e)
{
+ Console.WriteLine(e);
return -1;
}
Did you deploy openpose binaries?
You can use to deploy binaries as symbolic link by using SymlinkBinary.ps1
$ pwsh .\SymlinkBinary.ps1 Release build_win_desktop_cuda_x64
#$ pwsh .\SymlinkBinary.ps1 Release build_win_desktop_cpu_x64
Of course, you must build OpenPoseDotNet before run SymlinkBinary.ps1.
With the exception checking code it says "Unable to load DLL 'OpenPoseDotNetNative' or one of its dependencies: The specified module could not be found." I had run SymLinkBinary.bat. What do I run/build and in what directory to create OpenPoseDotNetNative.dll? I built the main solution file with no errors, but that apparently did not build OpenPoseDotNetNative.dll.
If I rerun Build.ps1 if says "LINK : fatal error LNK1181: cannot open input file 'C:\openposeroot\OpenPoseDotNet\src\openpose\3rdparty\windows\opencv \x64\vc14\lib\opencv_world411.lib' [C:\openposeroot\OpenPoseDotNet\src\OpenPoseDotNet.Native\build_win_desktop_cpu_x64\ OpenPoseDotNetNative.vcxproj]"
Apparently there is an opencv_world411.dll in C:\openposeroot\OpenPoseDotNet\src\openpose\3rdparty\windows\opencv\x64\vc14\bin
But not a opencv_world411.lib in C:\openposeroot\OpenPoseDotNet\src\openpose\3rdparty\windows\opencv \x64\vc14\lib\opencv_world411.lib
I clone new repositroy and I try to reproduce your issue.
$ git clone -b develop https://github.com/takuya-takeuchi/OpenPoseDotNet OPDN2
$ cd OPDN2
$ git submodule update --init --recursive
$ pwsh Build.ps1 Release cpu 64 desktop 2017
OpenPoseDotNetNative.vcxproj -> D:\Works\OpenSource\OPDN2\src\OpenPoseDotNet.Native\build_win_desktop_cpu_x64\Release\OpenPoseDotNetNative.dll
Building Custom Rule D:/Works/OpenSource/OPDN2/src/OpenPoseDotNet.Native/CMakeLists.txt
Copy PreBuild openpose binaries
Copy openpose binary
$ cd ..\..\examples\TutorialApiCpp\01_BodyFromImageDefault
$ pwsh SymlinkBinary.ps1 Release build_win_desktop_cpu_x64
$ dotnet run -c Release -- -i .\examples\media\COCO_val2014_000000000192.jpg
$ git clone https://github.com/takuya-takeuchi/OpenPoseDotNet OPDN2
$ cd OPDN2
$ git submodule update --init --recursive
$ pwsh Build.ps1 Release cpu 64 desktop 2017
OpenPoseDotNetNative.vcxproj -> D:\Works\OpenSource\OPDN2\src\OpenPoseDotNet.Native\build_win_desktop_cpu_x64\Release\OpenPoseDotNetNative.dll
Building Custom Rule D:/Works/OpenSource/OPDN2/src/OpenPoseDotNet.Native/CMakeLists.txt
Copy PreBuild openpose binaries
Copy openpose binary
$ cd ..\..\examples\TutorialApiCpp\01_BodyFromImageDefault
$ SymlinkBinary.bat Release build_win_desktop_cpu_x64
$ dotnet run -c Release -- -i .\examples\media\COCO_val2014_000000000192.jpg
It works.
But not a opencv_world411.lib in C:\openposeroot\OpenPoseDotNet\src\openpose\3rdparty\windows\opencv \x64\vc14\lib\opencv_world411.lib
This libraries are downloaded by openpose cmake process. It means that your machine cannot connect to internet. Or it failed to build openpose.
"This libraries are downloaded by openpose cmake process." Downloaded by the cmake process in "Build.ps1 Release cpu 64 desktop 2017"? The only difference I can see is I'm using VS 2019, not VS2017.
I am connected to the internet.
Downloaded by the cmake process in "Build.ps1 Release cpu 64 desktop 2017"?
Yes. But OPDN only kicks openpose's CMakeLists.txt used by cmake. openpose's CMakeLists.txt could download them. OPDN does not download them.
The only difference I can see is I'm using VS 2019, not VS2017.
It doesn't matter. But https://github.com/CMU-Perceptual-Computing-Lab/openpose/blob/master/doc/installation.md explains how to build by using VS2017.
You can show log in src\OpenPoseDotNet.Native\build_win_desktop_cpu_x64\openpose\CMakeFiles\CMakeOutput.log
I did not see anything obvious to me in the Openpose build log, but here it is, does anything look off/wrong to you?
The system is: Windows - 10.0.18363 - x86
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler:
Build flags:
Id flags:
The output was: 0 Microsoft (R) Build Engine version 16.6.0+5ff7b0c9e for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved.
Build started 8/1/2020 9:58:41 AM. Project "C:\openposeroot\OpenPoseDotNet\src\OpenPoseDotNet.Native\build_win_desktop_cpu_x64\openpose\CMakeFiles\3.18.0\CompilerIdC\CompilerIdC.vcxproj" on node 1 (default targets). PrepareForBuild: Creating directory "Debug\". Creating directory "Debug\CompilerIdC.tlog\". InitializeBuildStatus: Creating "Debug\CompilerIdC.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified. ClCompile: C:\Program Files\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.26.28801\bin\HostX86\x64\CL.exe /c /nologo /W0 /WX- /diagnostics:column /Od /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"Debug\" /Fd"Debug\vc142.pdb" /Gd /TC /FC /errorReport:queue CMakeCCompilerId.c CMakeCCompilerId.c Link: C:\Program Files\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.26.28801\bin\HostX86\x64\link.exe /ERRORREPORT:QUEUE /OUT:".\CompilerIdC.exe" /INCREMENTAL:NO /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /PDB:".\CompilerIdC.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:".\CompilerIdC.lib" /MACHINE:X64 Debug\CMakeCCompilerId.obj CompilerIdC.vcxproj -> C:\openposeroot\OpenPoseDotNet\src\OpenPoseDotNet.Native\build_win_desktop_cpu_x64\openpose\CMakeFiles\3.18.0\CompilerIdC.\CompilerIdC.exe PostBuildEvent: for %%i in (cl.exe) do @echo CMAKE_C_COMPILER=%%~$PATH:i :VCEnd CMAKE_C_COMPILER=C:\Program Files\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.26.28801\bin\Hostx86\x64\cl.exe FinalizeBuildStatus: Deleting file "Debug\CompilerIdC.tlog\unsuccessfulbuild". Touching "Debug\CompilerIdC.tlog\CompilerIdC.lastbuildstate". Done Building Project "C:\openposeroot\OpenPoseDotNet\src\OpenPoseDotNet.Native\build_win_desktop_cpu_x64\openpose\CMakeFiles\3.18.0\CompilerIdC\CompilerIdC.vcxproj" (default targets).
Build succeeded. 0 Warning(s) 0 Error(s)
Time Elapsed 00:00:09.65
Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CompilerIdC.exe"
Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CompilerIdC.vcxproj"
The C compiler identification is MSVC, found in "C:/openposeroot/OpenPoseDotNet/src/OpenPoseDotNet.Native/build_win_desktop_cpu_x64/openpose/CMakeFiles/3.18.0/CompilerIdC/CompilerIdC.exe"
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
Compiler:
Build flags:
Id flags:
The output was: 0 Microsoft (R) Build Engine version 16.6.0+5ff7b0c9e for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved.
Build started 8/1/2020 9:58:52 AM. Project "C:\openposeroot\OpenPoseDotNet\src\OpenPoseDotNet.Native\build_win_desktop_cpu_x64\openpose\CMakeFiles\3.18.0\CompilerIdCXX\CompilerIdCXX.vcxproj" on node 1 (default targets). PrepareForBuild: Creating directory "Debug\". Creating directory "Debug\CompilerIdCXX.tlog\". InitializeBuildStatus: Creating "Debug\CompilerIdCXX.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified. ClCompile: C:\Program Files\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.26.28801\bin\HostX86\x64\CL.exe /c /nologo /W0 /WX- /diagnostics:column /Od /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"Debug\" /Fd"Debug\vc142.pdb" /Gd /TP /FC /errorReport:queue CMakeCXXCompilerId.cpp CMakeCXXCompilerId.cpp Link: C:\Program Files\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.26.28801\bin\HostX86\x64\link.exe /ERRORREPORT:QUEUE /OUT:".\CompilerIdCXX.exe" /INCREMENTAL:NO /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /PDB:".\CompilerIdCXX.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:".\CompilerIdCXX.lib" /MACHINE:X64 Debug\CMakeCXXCompilerId.obj CompilerIdCXX.vcxproj -> C:\openposeroot\OpenPoseDotNet\src\OpenPoseDotNet.Native\build_win_desktop_cpu_x64\openpose\CMakeFiles\3.18.0\CompilerIdCXX.\CompilerIdCXX.exe PostBuildEvent: for %%i in (cl.exe) do @echo CMAKE_CXX_COMPILER=%%~$PATH:i :VCEnd CMAKE_CXX_COMPILER=C:\Program Files\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.26.28801\bin\Hostx86\x64\cl.exe FinalizeBuildStatus: Deleting file "Debug\CompilerIdCXX.tlog\unsuccessfulbuild". Touching "Debug\CompilerIdCXX.tlog\CompilerIdCXX.lastbuildstate". Done Building Project "C:\openposeroot\OpenPoseDotNet\src\OpenPoseDotNet.Native\build_win_desktop_cpu_x64\openpose\CMakeFiles\3.18.0\CompilerIdCXX\CompilerIdCXX.vcxproj" (default targets).
Build succeeded. 0 Warning(s) 0 Error(s)
Time Elapsed 00:00:02.68
Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CompilerIdCXX.exe"
Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CompilerIdCXX.vcxproj"
The CXX compiler identification is MSVC, found in "C:/openposeroot/OpenPoseDotNet/src/OpenPoseDotNet.Native/build_win_desktop_cpu_x64/openpose/CMakeFiles/3.18.0/CompilerIdCXX/CompilerIdCXX.exe"
Detecting C compiler ABI info compiled with the following output: Change Dir: C:/openposeroot/OpenPoseDotNet/src/OpenPoseDotNet.Native/build_win_desktop_cpu_x64/openpose/CMakeFiles/CMakeTmp
Run Build Command(s):C:/Program Files/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_899e5.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine version 16.6.0+5ff7b0c9e for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.
Microsoft (R) C/C++ Optimizing Compiler Version 19.26.28806 for x64
CMakeCCompilerABI.c
Copyright (C) Microsoft Corporation. All rights reserved.
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_899e5.dir\Debug\" /Fd"cmTC_899e5.dir\Debug\vc142.pdb" /Gd /TC /errorReport:queue "C:\Program Files\CMake\share\cmake-3.18\Modules\CMakeCCompilerABI.c"
cmTC_899e5.vcxproj -> C:\openposeroot\OpenPoseDotNet\src\OpenPoseDotNet.Native\build_win_desktop_cpu_x64\openpose\CMakeFiles\CMakeTmp\Debug\cmTC_899e5.exe
Detecting CXX compiler ABI info compiled with the following output: Change Dir: C:/openposeroot/OpenPoseDotNet/src/OpenPoseDotNet.Native/build_win_desktop_cpu_x64/openpose/CMakeFiles/CMakeTmp
Run Build Command(s):C:/Program Files/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_d29ef.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine version 16.6.0+5ff7b0c9e for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.
Microsoft (R) C/C++ Optimizing Compiler Version 19.26.28806 for x64
CMakeCXXCompilerABI.cpp
Copyright (C) Microsoft Corporation. All rights reserved.
cl /c /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /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_d29ef.dir\Debug\" /Fd"cmTC_d29ef.dir\Debug\vc142.pdb" /Gd /TP /errorReport:queue "C:\Program Files\CMake\share\cmake-3.18\Modules\CMakeCXXCompilerABI.cpp"
cmTC_d29ef.vcxproj -> C:\openposeroot\OpenPoseDotNet\src\OpenPoseDotNet.Native\build_win_desktop_cpu_x64\openpose\CMakeFiles\CMakeTmp\Debug\cmTC_d29ef.exe
@mikesheiman
Can you open src\OpenPoseDotNet.Native\build_win_desktop_cpu_x64\openpose\OpenPose.sln and build it? You may find any error. The above log file has no information. I'm sorry to trouble you.
1>------ Build started: Project: openpose, Configuration: Release x64 ------ 1>Building NVCC (Device) object src/openpose/CMakeFiles/openpose.dir/face/Release/openpose_generated_renderFace.cu.obj 1>CMake Error at openpose_generated_renderFace.cu.obj.Release.cmake:220 (message): 1> Error generating 1> C:/openposeroot/OpenPoseDotNet/src/OpenPoseDotNet.Native/build_win_desktop_cpu_x64/openpose/src/openpose/CMakeFiles/openpose.dir/face/Release/openpose_generated_renderFace.cu.obj 1> 1> 1>C:\Program Files\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(231,5): error MSB6006: "cmd.exe" exited with code 1. 1>Done building project "openpose.vcxproj" -- FAILED. 2>------ Build started: Project: OpenPoseDemo, Configuration: Release x64 ------ 3>------ Build started: Project: 01_body_from_image_default, Configuration: Release x64 ------ 4>------ Build started: Project: 02_whole_body_from_image_default, Configuration: Release x64 ------ 5>------ Build started: Project: 03_keypoints_from_image, Configuration: Release x64 ------ 3>01_body_from_image_default.cpp 4>02_whole_body_from_image_default.cpp 5>03_keypoints_from_image.cpp 2>openpose.cpp 2>C:\openposeroot\OpenPoseDotNet\src\openpose\include\openpose/flags.hpp(9,10): fatal error C1083: Cannot open include file: 'gflags/gflags.h': No such file or directory 2>Done building project "OpenPoseDemo.vcxproj" -- FAILED. 6>------ Build started: Project: 04_keypoints_from_images, Configuration: Release x64 ------ 3>C:\openposeroot\OpenPoseDotNet\src\openpose\include\openpose/flags.hpp(9,10): fatal error C1083: Cannot open include file: 'gflags/gflags.h': No such file or directory 4>C:\openposeroot\OpenPoseDotNet\src\openpose\include\openpose/flags.hpp(9,10): fatal error C1083: Cannot open include file: 'gflags/gflags.h': No such file or directory 3>Done building project "01_body_from_image_default.vcxproj" -- FAILED. 7>------ Build started: Project: 05_keypoints_from_images_multi_gpu, Configuration: Release x64 ------ 4>Done building project "02_whole_body_from_image_default.vcxproj" -- FAILED. 8>------ Build started: Project: 06_face_from_image, Configuration: Release x64 ------ 8>06_face_from_image.cpp 7>05_keypoints_from_images_multi_gpu.cpp 5>C:\openposeroot\OpenPoseDotNet\src\openpose\include\openpose/flags.hpp(9,10): fatal error C1083: Cannot open include file: 'gflags/gflags.h': No such file or directory 6>04_keypoints_from_images.cpp 6>C:\openposeroot\OpenPoseDotNet\src\openpose\include\openpose/flags.hpp(9,10): fatal error C1083: Cannot open include file: 'gflags/gflags.h': No such file or directory 5>Done building project "03_keypoints_from_image.vcxproj" -- FAILED. 9>------ Build started: Project: 07_hand_from_image, Configuration: Release x64 ------ 6>Done building project "04_keypoints_from_images.vcxproj" -- FAILED. 10>------ Build started: Project: 08_heatmaps_from_image, Configuration: Release x64 ------ 9>07_hand_from_image.cpp 8>C:\openposeroot\OpenPoseDotNet\src\openpose\include\openpose/flags.hpp(9,10): fatal error C1083: Cannot open include file: 'gflags/gflags.h': No such file or directory 7>C:\openposeroot\OpenPoseDotNet\src\openpose\include\openpose/flags.hpp(9,10): fatal error C1083: Cannot open include file: 'gflags/gflags.h': No such file or directory 8>Done building project "06_face_from_image.vcxproj" -- FAILED. 7>Done building project "05_keypoints_from_images_multi_gpu.vcxproj" -- FAILED. 11>------ Build started: Project: 09_keypoints_from_heatmaps, Configuration: Release x64 ------ 12>------ Build started: Project: 10_asynchronous_custom_input, Configuration: Release x64 ------ 10>08_heatmaps_from_image.cpp 11>09_keypoints_from_heatmaps.cpp 12>10_asynchronous_custom_input.cpp 10>C:\openposeroot\OpenPoseDotNet\src\openpose\include\openpose/flags.hpp(9,10): fatal error C1083: Cannot open include file: 'gflags/gflags.h': No such file or directory 10>Done building project "08_heatmaps_from_image.vcxproj" -- FAILED. 13>------ Build started: Project: 11_asynchronous_custom_output, Configuration: Release x64 ------ 9>C:\openposeroot\OpenPoseDotNet\src\openpose\include\openpose/flags.hpp(9,10): fatal error C1083: Cannot open include file: 'gflags/gflags.h': No such file or directory 9>Done building project "07_hand_from_image.vcxproj" -- FAILED. 14>------ Build started: Project: 12_asynchronous_custom_input_output_and_datum, Configuration: Release x64 ------ 13>11_asynchronous_custom_output.cpp 12>C:\openposeroot\OpenPoseDotNet\src\openpose\include\openpose/flags.hpp(9,10): fatal error C1083: Cannot open include file: 'gflags/gflags.h': No such file or directory 11>C:\openposeroot\OpenPoseDotNet\src\openpose\include\openpose/flags.hpp(9,10): fatal error C1083: Cannot open include file: 'gflags/gflags.h': No such file or directory 12>Done building project "10_asynchronous_custom_input.vcxproj" -- FAILED. 14>12_asynchronous_custom_input_output_and_datum.cpp 15>------ Build started: Project: 13_synchronous_custom_input, Configuration: Release x64 ------ 11>Done building project "09_keypoints_from_heatmaps.vcxproj" -- FAILED. 16>------ Build started: Project: 14_synchronous_custom_preprocessing, Configuration: Release x64 ------ 15>13_synchronous_custom_input.cpp 16>14_synchronous_custom_preprocessing.cpp 13>C:\openposeroot\OpenPoseDotNet\src\openpose\include\openpose/flags.hpp(9,10): fatal error C1083: Cannot open include file: 'gflags/gflags.h': No such file or directory 13>Done building project "11_asynchronous_custom_output.vcxproj" -- FAILED. 17>------ Build started: Project: 15_synchronous_custom_postprocessing, Configuration: Release x64 ------ 14>C:\openposeroot\OpenPoseDotNet\src\openpose\include\openpose/flags.hpp(9,10): fatal error C1083: Cannot open include file: 'gflags/gflags.h': No such file or directory 14>Done building project "12_asynchronous_custom_input_output_and_datum.vcxproj" -- FAILED. 18>------ Build started: Project: 16_synchronous_custom_output, Configuration: Release x64 ------ 17>15_synchronous_custom_postprocessing.cpp 18>16_synchronous_custom_output.cpp 15>C:\openposeroot\OpenPoseDotNet\src\openpose\include\openpose/flags.hpp(9,10): fatal error C1083: Cannot open include file: 'gflags/gflags.h': No such file or directory 15>Done building project "13_synchronous_custom_input.vcxproj" -- FAILED. 19>------ Build started: Project: 17_synchronous_custom_all_and_datum, Configuration: Release x64 ------ 16>C:\openposeroot\OpenPoseDotNet\src\openpose\include\openpose/flags.hpp(9,10): fatal error C1083: Cannot open include file: 'gflags/gflags.h': No such file or directory 16>Done building project "14_synchronous_custom_preprocessing.vcxproj" -- FAILED. 20>------ Build started: Project: 1_custom_post_processing, Configuration: Release x64 ------ 19>17_synchronous_custom_all_and_datum.cpp 20>1_custom_post_processing.cpp 20>C:\openposeroot\OpenPoseDotNet\src\openpose\include\openpose/flags.hpp(9,10): fatal error C1083: Cannot open include file: 'gflags/gflags.h': No such file or directory 20>Done building project "1_custom_post_processing.vcxproj" -- FAILED. 21>------ Build started: Project: 1_thread_user_processing_function, Configuration: Release x64 ------ 21>1_thread_user_processing_function.cpp 17>C:\openposeroot\OpenPoseDotNet\src\openpose\include\openpose/flags.hpp(9,10): fatal error C1083: Cannot open include file: 'gflags/gflags.h': No such file or directory 17>Done building project "15_synchronous_custom_postprocessing.vcxproj" -- FAILED. 22>------ Build started: Project: 2_thread_user_input_processing_output_and_datum, Configuration: Release x64 ------ 23>------ Build started: Project: Calibration, Configuration: Release x64 ------ 18>C:\openposeroot\OpenPoseDotNet\src\openpose\include\openpose/flags.hpp(9,10): fatal error C1083: Cannot open include file: 'gflags/gflags.h': No such file or directory 18>Done building project "16_synchronous_custom_output.vcxproj" -- FAILED. 23>calibration.cpp 19>C:\openposeroot\OpenPoseDotNet\src\openpose\include\openpose/flags.hpp(9,10): fatal error C1083: Cannot open include file: 'gflags/gflags.h': No such file or directory 19>Done building project "17_synchronous_custom_all_and_datum.vcxproj" -- FAILED. 21>C:\openposeroot\OpenPoseDotNet\src\openpose\include\openpose/flags.hpp(9,10): fatal error C1083: Cannot open include file: 'gflags/gflags.h': No such file or directory 21>Done building project "1_thread_user_processing_function.vcxproj" -- FAILED. 23>C:\openposeroot\OpenPoseDotNet\src\openpose\include\openpose/flags.hpp(9,10): fatal error C1083: Cannot open include file: 'gflags/gflags.h': No such file or directory 23>Done building project "Calibration.vcxproj" -- FAILED. 24>------ Skipped Build: Project: ALL_BUILD, Configuration: Release x64 ------ 24>Project not selected to build for this solution configuration ========== Build: 0 succeeded, 23 failed, 0 up-to-date, 1 skipped ==========
Looks like a lot of repeated errors about "gflags/gflags.h"
Perhaps, openpose's cmake seems like to fail download all 3rd party libraries.
Can you check D:\Works\OpenSource\OPDN2\src\openpose\3rdparty\windows?
gflags.h must be in src\openpose\3rdparty\windows\caffe3rdparty\include\gflags.
The include file appear to be there
Please build only openpose in opnepose.sln. There are many logs of other projects.
And openpose.vcproj should have the following include directory setting.
BTW, I found that I specified to build as cpu binary but include directory has CUDA driectory. I don't know. But OpenPoseDotNet build script has something wrong. But I have no machine without GPU and I cannot check this solution is correct or wrong on no-gpu machine.