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

Closed
KhabarlakKonstantin opened this Issue Dec 24, 2016 · 2 comments

Comments

Projects
None yet
3 participants
@KhabarlakKonstantin
Copy link
Contributor

KhabarlakKonstantin commented Dec 24, 2016

Hello

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 tf_core_gpu_kernels_generated_adjust_contrast_op_gpu.cu.cc.obj.Release.cmake:222 (message): 30> Error generating 30> C:/libs/tensorflow/tensorflow/contrib/cmake/build/CMakeFiles/tf_core_gpu_kernels.dir/__/__/core/kernels/Release/tf_core_gpu_kernels_generated_adjust_contrast_op_gpu.cu.cc.obj

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

@Carmezim

This comment has been minimized.

Copy link
Contributor

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.

@gunan

This comment has been minimized.

Copy link
Member

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