<div dir="ltr">Hello all,<div>    My name is NIE Junxiao. I am now trying to build Kiwi for android on windows, but came up with some problem.</div><div>    I build VES by using nmake. </div><div>1.    If I set ANDROID_NDK_SUPERBUILD and HOST_SUPERBUILD on, I will get an error called 'min' is not a member of 'std' and 'max' is not a member of 'std'. If I set  HOST_SUPERBUILD off, I can succeed in build vtk-host and eigen. </div><div>2. Neither HOST_SUPERBUILD on nor off, I got </div><div>CMake Error at C:/Sources/VES/CMake/toolchains/android.toolchain.cmake:868 (list</div><div>):</div><div>  list index: 17 out of range (-17, 16)</div><div>Call Stack (most recent call first):</div><div>  C:/Sources/Build/VES/CMakeExternals/Build/vtk-android/CMakeFiles/3.1.0-rc2/CMa</div><div>keSystem.cmake:6 (include)</div><div>  CMakeLists.txt:3 (project)    </div><div>and a "could not determine machine name for compiler" error</div><div>Thank you. </div><div>Best regards,</div><div>NIE JUNXIAO</div><div><br></div><div><br></div><div><br></div><div>error logs (error is enhanced with =====) </div><div><div><br></div><div>[ 48%] Built target vtk-host</div><div>[ 51%] Creating directories for 'vtk-android'</div><div>[ 54%] No download step for 'vtk-android'</div><div>[ 57%] No update step for 'vtk-android'</div><div>[ 60%] No patch step for 'vtk-android'</div><div>[ 63%] Performing configure step for 'vtk-android'</div><div>loading initial cache file C:/Sources/VES/CMake/toolchains/TryRunResults.cmake</div><div>CMake Warning at C:/Sources/VES/CMake/toolchains/android.toolchain.cmake:442 (me</div><div>ssage):</div><div>============================================</div><div>  Could not determine machine name for compiler from</div><div>  C:/Sources/Android/ndk/toolchains/renderscript/prebuilt/windows-x86_64</div><div>Call Stack (most recent call first):</div><div>  C:/Sources/VES/CMake/toolchains/android.toolchain.cmake:691 (__DETECT_TOOLCHAI</div><div>N_MACHINE_NAME)</div><div>  C:/Sources/VES/CMake/toolchains/android.toolchain.cmake:736 (__GLOB_NDK_TOOLCH</div><div>AINS)</div><div>  C:/Sources/Build/VES/CMakeExternals/Build/vtk-android/CMakeFiles/3.1.0-rc2/CMa</div><div>keSystem.cmake:6 (include)</div><div>  CMakeLists.txt:3 (project)</div><div><br></div><div>============================================</div><div>CMake Error at C:/Sources/VES/CMake/toolchains/android.toolchain.cmake:868 (list</div><div>):</div><div>  list index: 17 out of range (-17, 16)</div><div>Call Stack (most recent call first):</div><div>  C:/Sources/Build/VES/CMakeExternals/Build/vtk-android/CMakeFiles/3.1.0-rc2/CMa</div><div>keSystem.cmake:6 (include)</div><div>  CMakeLists.txt:3 (project)</div><div><br></div><div><br></div><div>CMake Warning (dev) at C:/Sources/VES/CMake/toolchains/android.toolchain.cmake:1</div><div>700 (if):</div><div>  Policy CMP0054 is not set: Only interpret if() arguments as variables or</div><div>  keywords when unquoted.  Run "cmake --help-policy CMP0054" for policy</div><div>  details.  Use the cmake_policy command to set the policy and suppress this</div><div>  warning.</div><div><br></div><div>  Quoted variables like "LIBRARY_OUTPUT_PATH_ROOT" will no longer be</div><div>  dereferenced when the policy is set to NEW.  Since the policy is not set</div><div>  the OLD behavior will be used.</div><div>Call Stack (most recent call first):</div><div>  C:/Sources/Build/VES/CMakeExternals/Build/vtk-android/CMakeFiles/3.1.0-rc2/CMa</div><div>keSystem.cmake:6 (include)</div><div>  CMakeLists.txt:3 (project)</div><div>This warning is for project developers.  Use -Wno-dev to suppress it.</div><div><br></div><div>[] = _gcc_version</div><div>[aarch64-linux-android-gcc.exe (GCC) 4.9 20140827 (prerelease)</div><div>Copyright (C) 2014 Free Software Foundation, Inc.</div><div>This is free software; see the source for copying conditions.  There is NO</div><div>warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.] = _</div><div>gcc_version_info</div><div>[4.9.0] = _gcc_version</div><div>CMAKE_C_COMPILER_VERSION=</div><div>-- Performing Test Support for 64 bit file systems</div><div>CMake Error at C:/Sources/VES/CMake/toolchains/android.toolchain.cmake:752 (list</div><div>):</div><div>  list sub-command REMOVE_DUPLICATES requires list to be present.</div><div>Call Stack (most recent call first):</div><div>  C:/Sources/Build/VES/CMakeExternals/Build/vtk-android/CMakeFiles/3.1.0-rc2/CMa</div><div>keSystem.cmake:6 (include)</div><div>  CMakeLists.txt:3 (project)</div><div><br></div><div><br></div><div>============================================</div><div>CMake Error at C:/Sources/VES/CMake/toolchains/android.toolchain.cmake:753 (list</div><div>):</div><div>  list sub-command SORT requires list to be present.</div><div>Call Stack (most recent call first):</div><div>  C:/Sources/Build/VES/CMakeExternals/Build/vtk-android/CMakeFiles/3.1.0-rc2/CMa</div><div>keSystem.cmake:6 (include)</div><div>  CMakeLists.txt:3 (project)</div><div><br></div><div><br></div><div>============================================</div><div>CMake Error at C:/Sources/VES/CMake/toolchains/android.toolchain.cmake:759 (mess</div><div>age):</div><div>  No one of known Android ABIs is supported by this cmake toolchain.</div><div>Call Stack (most recent call first):</div><div>  C:/Sources/Build/VES/CMakeExternals/Build/vtk-android/CMakeFiles/3.1.0-rc2/CMa</div><div>keSystem.cmake:6 (include)</div><div>  CMakeLists.txt:3 (project)</div><div><br></div><div><br></div><div>============================================</div><div>CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage</div><div>CMake Error: Internal CMake error, TryCompile configure of cmake failed</div><div>-- Configuring incomplete, errors occurred!</div><div>See also "C:/Sources/Build/VES/CMakeExternals/Build/vtk-android/CMakeFiles/CMake</div><div>Output.log".</div><div>NMAKE : fatal error U1077: 'echo' : return code '0x1'</div><div>Stop.</div><div>NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0</div><div>\VC\BIN\nmake.exe"' : return code '0x2'</div><div>Stop.</div><div>NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0</div><div>\VC\BIN\nmake.exe"' : return code '0x2'</div><div>Stop.</div></div><div><br></div><div>    </div></div>