New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows: cannot compile using cmake 3.7.1 generator #6486

KhabarlakKonstantin opened this Issue Dec 24, 2016 · 2 comments


None yet
3 participants
Copy link

KhabarlakKonstantin commented Dec 24, 2016


If I use cmake 3.7.1 generator, I cannot compile tensorflow on Windows with Visual Studio
I get the following error message during tf_core_gpu_kernels project:

nvcc fatal : Stray '"' character 30> 30> CMake Error at (message): 30> Error generating 30> C:/libs/tensorflow/tensorflow/contrib/cmake/build/CMakeFiles/tf_core_gpu_kernels.dir/__/__/core/kernels/Release/

If I try to regenerate project using cmake 3.6.3, everything compiles just fine

I was trying to modify CMakeLists.txt, but still no luck

Additional info:
Windows 10
Visual Studio 2015
GPU is enabled, CUDA 8.0


This comment has been minimized.

Copy link

Carmezim commented Dec 25, 2016

To successfully build TensorFlow from source using CMake as the pre-requisites specify you need versions 3.5 up to 3.6.


This comment has been minimized.

Copy link

gunan commented Dec 25, 2016

Correct. the failures with 3.7.1 are known, and unfortunately we have no workaround apart from downgrading cmake.

@gunan gunan closed this Dec 25, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment