我是VTK新手,我正试着在windows上安装它。在CMake上运行configure命令时,收到以下错误:
FILE STRINGS file
"C:/MyProjects/Microsoft-Visual-Studio/Shared/Python37_64/patchlevel.h"
cannot be read.
Call Stack (most recent call first):
CMake/vtkWrapPython.cmake:167 (find_package)
Utilities/Python/CMakeLists.txt:4 (include)
Found PythonLibs: C:/MyProjects/Microsoft-Visual-Studio/Shared/Python37_64/libs/python3.lib
CMake Error at CMake/FindPythonLibs.cmake:183 (FILE):
FILE STRINGS file
"C:/MyProjects/Microsoft-Visual-Studio/Shared/Python37_64/patchlevel.h"
cannot be read.
Call Stack (most recent call first):
CMake/vtkPythonWrapping.cmake:6 (find_package)
Wrapping/PythonCore/CMakeLists.txt:2 (include)
CMake Warning at CMake/vtkPythonWrapping.cmake:14 (message):
Python library . mismatches python 3.7.
Call Stack (most recent call first):
Wrapping/PythonCore/CMakeLists.txt:2 (include)
CMake Error at CMake/FindPythonLibs.cmake:183 (FILE):
FILE STRINGS file
"C:/MyProjects/Microsoft-Visual-Studio/Shared/Python37_64/patchlevel.h"
cannot be read.
Call Stack (most recent call first):
CMake/vtkPythonWrapping.cmake:6 (find_package)
Wrapping/Python/CMakeLists.txt:22 (include)
CMake Warning at CMake/vtkPythonWrapping.cmake:14 (message):
Python library . mismatches python 3.7.
Call Stack (most recent call first):
Wrapping/Python/CMakeLists.txt:22 (include)
CMake Error at CMake/FindPythonLibs.cmake:183 (FILE):
FILE STRINGS file
"C:/MyProjects/Microsoft-Visual-Studio/Shared/Python37_64/patchlevel.h"
cannot be read.
Call Stack (most recent call first):
Wrapping/Python/CMakeLists.txt:240 (find_package)
Performing Test VTK_UNDEFINED_SYMBOLS_ALLOWED - Failed
Configuring incomplete, errors occurred!
系统是:Windows-6.3.9600-AMD64。我试着以管理员的身份运行它,但没有任何改变。我能做什么?在
目前没有回答
相关问题 更多 >
编程相关推荐