VS2019 is in use, and you are trying to build VTK-9.0.1 with Cmake.
The following error occurs when Cmake is run:
How should I handle this?
VS2019 is in use, and you are trying to build VTK-9.0.1 with Cmake.
The following error occurs when Cmake is run:
How should I handle this?
Hi, this worked for me:
Thank you. Saeed.
I read a your transcript.txt.
but i don’t know this problem.
when i input the command( cmake -DVTK_MODULE_ENABLE_VTK_RenderingContextOpenGL2=YES …) , I received the message (this message is below that)
CMake Error: The source directory “D:/VTK/VTK-9.0.1” does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
How to solve the this problem??
check why CMakeLists.txt doesn’t exist in folder D:/VTK/VTK-9.0.1
Thank you, Saeed.
I checked the path and then trying the your’s command.
but i still have a problem.
this is my error and output log… CMakeError.log (29.7 KB) CMakeOutput.log (26.5 KB)
Thank you for taking the time to help me.
Looking at your first screenshot, I am surprised that CMake seems to find pthread.h
while you are targetting a Windows build with VS2019 (pthread is a POSIX API for threads that is not natively supported by Microsoft). Is it expected? You might want to find this header and make sure CMake can’t find it and guess you are using a POSIX environment.