Skip to content
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

Libraries native build fails on VS 16.5.0 Preview 1.0 with CMake 3.16.0-rc4 #149

Closed
safern opened this issue Nov 20, 2019 · 3 comments
Closed

Comments

@safern
Copy link
Member

safern commented Nov 20, 2019

C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(231,5
): error MSB8065: Custom build for item "P:\runtime\artifacts\obj\native\netcoreapp-Windows_NT-Debug-x64\CMakeFiles\84e
020d515ecc51b04c20b308fc709be\INSTALL_force.rule" succeeded, but specified output "p:\runtime\artifacts\obj\native\netc
oreapp-windows_nt-debug-x64\cmakefiles\install_force" has not been created. This may cause incremental build to work in
correctly. [P:\runtime\artifacts\obj\native\netcoreapp-Windows_NT-Debug-x64\install.vcxproj] [P:\runtime\src\libraries
Native\build-native.proj]

Same issue as: https://github.com/dotnet/corefx/issues/41077 which was fixed by
https://gitlab.kitware.com/cmake/cmake/issues/19737

We should investigate what changed and why it fails only in 3.16.0-* as with CMake 3.15.5 it doesn't fail.

cc: @jaredpar

@safern safern self-assigned this Nov 20, 2019
@Dotnet-GitSync-Bot Dotnet-GitSync-Bot added the untriaged New issue has not been triaged by the area owner label Nov 20, 2019
@safern safern removed the untriaged New issue has not been triaged by the area owner label Nov 20, 2019
@Dotnet-GitSync-Bot Dotnet-GitSync-Bot added the untriaged New issue has not been triaged by the area owner label Nov 20, 2019
@safern safern removed the untriaged New issue has not been triaged by the area owner label Nov 20, 2019
@Dotnet-GitSync-Bot Dotnet-GitSync-Bot added the untriaged New issue has not been triaged by the area owner label Nov 20, 2019
@maryamariyan maryamariyan removed the untriaged New issue has not been triaged by the area owner label Nov 20, 2019
@Dotnet-GitSync-Bot Dotnet-GitSync-Bot added the untriaged New issue has not been triaged by the area owner label Nov 20, 2019
@maryamariyan maryamariyan added untriaged New issue has not been triaged by the area owner and removed untriaged New issue has not been triaged by the area owner area-Infrastructure-libraries labels Nov 20, 2019
@Dotnet-GitSync-Bot Dotnet-GitSync-Bot added the untriaged New issue has not been triaged by the area owner label Nov 20, 2019
@safern safern removed the untriaged New issue has not been triaged by the area owner label Nov 20, 2019
@maryamariyan maryamariyan added area-Infrastructure-libraries untriaged New issue has not been triaged by the area owner and removed untriaged New issue has not been triaged by the area owner labels Nov 20, 2019
@safern
Copy link
Member Author

safern commented Dec 18, 2019

I tried this out with latest VS Preview (v16.5.0-pre.2.0) and latest CMake 3.16.1 and it didn't repro. Please re-open if you hit this with a CMake version greater or equal than 3.15.5.

@deokershesh
Copy link

I am facing same issue, I am using CMake version 3.15.6, kindly refer issue #1014 , it may require to reopen this issue as well.

@safern
Copy link
Member Author

safern commented Dec 24, 2019

@deokershesh what version of VS do you have?

@ghost ghost locked as resolved and limited conversation to collaborators Dec 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants