
- #CMAKE VISUAL STUDIO 15 2017 C COMPILER TEST FAILED GENERATOR#
- #CMAKE VISUAL STUDIO 15 2017 C COMPILER TEST FAILED WINDOWS 10#
Found PythonLibs: optimized C:/Program Files (x86)/Microsoft Visual Studio/Shared/Python36_64/libs/python36.lib debug C:/Program Files (x86)/Microsoft Visual Studio/Shared/Python36_64/libs/python36_d.lib (found version "3.6.7") Found PythonInterp: C:/Program Files (x86)/Microsoft Visual Studio/Shared/Python36_64/python.exe (found version "3.6.7") Performing Test MSVC_OPENMP_SUPPORT - Success Performing Test COMPILER_OPT_ARCH_NATIVE_SUPPORTED - Failed Performing Test COMPILER_OPT_ARCH_NATIVE_SUPPORTED Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/3/bin/Host圆4/圆4/cl.exe - works Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/3/bin/Host圆4/圆4/cl.exe Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/3/bin/Host圆4/圆4/cl.exe - works Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/3/bin/Host圆4/圆4/cl.exe The CXX compiler identification is MSVC 4.1

The C compiler identification is MSVC 4.1 Using the flag -Thost=圆4 when running cmake. This may cause "compiler out of heap space" errors when building.
#CMAKE VISUAL STUDIO 15 2017 C COMPILER TEST FAILED GENERATOR#
Your current cmake generator is set to use 32 bit toolset architecture. > -DPYTHON_LIBRARIES='C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python36_64\libs\python36.lib'ĬMake Warning at CMakeLists.txt:9 (message): > -DPYTHON_EXECUTABLE='C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python36_64\python.exe' ` > -DSWIG_EXECUTABLE='C:\Program Files\swigwin-3.0.12\swig.exe' ` A 圆4 -Thost=圆4 -DCMAKE_BUILD_TYPE=Release ` Provide the exact sequence of commands / steps that you executed before running into the problem PS C:\Users\bw\tensorflow\tensorflow\contrib\cmake\build> cmake. However, at step 3, I can't seem to pass Performing Test COMPILER_OPT_ARCH_NATIVE_SUPPORTED, which resulting failed building process. I am following the "Step by step Windows Build" from. I am also using Microsoft Visual Studio Community 2017 Version 15.9.3, btw.CUDA/cuDNN version: Installing only the CPU version.GCC/Compiler version (if compiling from source): gcc 6.30.Bazel version (if compiling from source): I am using CMake.TensorFlow installed from (source or binary): source
#CMAKE VISUAL STUDIO 15 2017 C COMPILER TEST FAILED WINDOWS 10#
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows 10 I have tried Python 3.5 and 3.6, visual studio 20. Here is my open issue on tf github repo:, which has received no response thus why I am asking on stackoverflow and hopefully someone here can enlighten me. However I cannot pass the COMPILER_OPT_ARCH_NATIVE_SUPPORTED test, which resulting in failed building attempts. I want to build Tensorflow C++ on Windows 10 using CMake.
