cmake版本:3.10.2
编译链:aarch64-linux-gnu 7.5.0
VTK 6.3.0 使用 aarch64-linux-gun编译链 进行cmake报错,如下:
CMake Error at CMake/vtkCompilerExtras.cmake:47 (if):
if given arguments:
"cc: error: ARGS: No such file or directory
cc (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04) 7.5.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software" " see the source for copying conditions. There is
NO
warranty" " not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
" "VERSION_GREATER" "4.2.0" "AND" "BUILD_SHARED_LIBS" "AND"
"HAVE_GCC_VISIBILITY" "AND" "VTK_USE_GCC_VISIBILITY" "AND" "NOT" "MINGW"
"AND" "NOT" "CYGWIN"
Unknown arguments specified
Call Stack (most recent call first):
CMakeLists.txt:283 (include)
CMakeLists.txt:283
#-----------------------------------------------------------------------------
# Export all targets at once from the build tree in their final configuration.
get_property(_vtk_targets GLOBAL PROPERTY VTK_TARGETS)
get_property(_vtk_compiletools_targets GLOBAL PROPERTY VTK_COMPILETOOLS_TARGETS)
set (_vtk_all_targets ${_vtk_targets} ${_vtk_compiletools_targets})
if (_vtk_all_targets)
list(REMOVE_DUPLICATES _vtk_all_targets)
export(TARGETS ${_vtk_all_targets} FILE ${VTK_BINARY_DIR}/VTKTargets.cmake)
endif()
# Add a virtual target that can be used to build all compile tools.
add_custom_target(vtkCompileTools)
include(vtkCompilerExtras) //CMakeLists:283行
include(vtkBuildPath)
是VTK 6.3.0 不支持 aarch64-linux-gnu编译链 吗?