-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
[tensorflow-cc] build failure #7995
Comments
What's version of your Visual Studio? I can reproduce the build failure but the error is different:
And, tensorflow does not support 32 bit system. See documentation. |
Hello, Visual Studio Version is
and this failed as well. |
@trade-commander1 Yes, so I'm fixing static build now. |
@JackBoosY |
The error I encountered was in the macro So I guess Visual Studio 2017 or newer is required to build tensorflow. |
Thank you for picking this for me. I use latest VS 17 update. It seems you need VS 19. |
Hello, |
Perhaps a comment for build issues i had: It seems to hang at "configure..." Then type y press Enter to proceed. Also, do not forget to run |
@trade-commander1 Thanks, I will check it with Visual Studio 2019. And I opened an issue in the github page of tensorflow-cc. |
Failure on Visual Studio 2019 16.2.1. |
for myself edit to )) |
@voskrese I think this is not a Windows SDK bug, it is a source code error. So your solution is temporary. |
that's right, temporary ) |
FYI: I had a more recent reincarnation of this problem:
Examining the log files, I found out that the most recent include files were used, but an older compiler (14.16.27023, although 14.26.28801 was also available). I worked around this issue by uninstalling pre-2019 toolchains (MSVC v140 and v141). |
I found this thread from a link here -- which closely resembles the error i'm getting My full error:
I'm not sure why its targeting x86. EDIT: EDIT 2: Getting this issue now -- I will be picking this up over the weekend.
EDIT 3: The contents of
I'm not sure if these two warnings could be causing the issue:
It is unclear to me why these are warnings rather than errors (does vcpkg just switch to a different mirror for 404s?) Package info:
My machine is fully updated and when i try to update vcpkg, there is nothing to update:
I am doing all of this in powershell with administrator level access |
@a0174 can you please have a look at the end of file I assume the two warnings are unrelated. (Probably |
According to the official reply, I think this issue can be resolved by updating tf-cc. |
Fixed by PR #24861. |
Host Environment
Windows 10 64 bit (1903) VM (VMWareWorkstation)
To Reproduce
.\vcpkg.exe install tensorflow-cc:x86-windows-static tensorflow-cc:x64-windows-static
Failure logs
Build fails. From log:
ERROR: C:/projekte/dev_apps/vcpkg/buildtrees/.bzl/_bazel_general/yvqyet6t/external/snappy/BUILD.bazel:7:1: C++ compilation of rule '@snappy//:snappy' failed (Exit 2): cl.exe failed: error executing command
logs.zip
The text was updated successfully, but these errors were encountered: