Hi,
The same issue when building the CylinderExample. after doing cmake in the visual studio file I don’t have any project other than ALL_BUILD and ZERO_CHECK.
I see in the CMakeError.log there’s something reported like and error:
Determining if the include file pthread.h exists failed with the following output:
Change Dir: D:/projects/vtkcjs/CylinderExample/build/CMakeFiles/CMakeTmp
Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_c58ac.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=16.0 /v:m && Microsoft ® Build Engine version 16.7.0+b89cb5fde for .NET Framework
Copyright © Microsoft Corporation. All rights reserved.
Microsoft ® C/C++ Optimizing Compiler Version 19.27.29111 for x64
CheckIncludeFile.c
Copyright © 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_c58ac.dir\Debug\" /Fd"cmTC_c58ac.dir\Debug\vc142.pdb" /Gd /TC /errorReport:queue D:\projects\vtkcjs\CylinderExample\build\CMakeFiles\CMakeTmp\CheckIncludeFile.c
D:\projects\vtkcjs\CylinderExample\build\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1,10): fatal error C1083: Cannot open include file: ‘pthread.h’: No such file or directory [D:\projects\vtkcjs\CylinderExample\build\CMakeFiles\CMakeTmp\cmTC_c58ac.vcxproj]
Is that the problem? how can I resolve it?
Thanks in advance