Closed
Description
Setup:
- Which version of Git for Windows are you using? Is it 32-bit or 64-bit?
64-bit
$ git --version --build-options
git version 2.9.2.windows.1
sizeof-long: 4 - Which version of Windows are you running? Vista, 7, 8, 10? Is it 32-bit or 64-bit?
Windows Server 2016 64-bit + VS2017.2
$ cmd.exe /c ver
Microsoft Windows [Version 10.0.14393]
Description:
Git failed when build by msvc on Windows, the first time we got the error was on 1db5a65, and the last clean build was on 182d923. Could you please help look at this?
Repro steps:
- git.exe clone -b vs/master https://github.com/git-for-windows/git D:\Git\src && cd D:\Git\src
- git.exe checkout 1db5a65
- devenv /upgrade git.sln
- nuget.exe restore git.sln
- msbuild /m /p:Configuration=Release;Platform=x64 /p:WindowsTargetPlatformVersion=10.0.17134.0 /t:Rebuild git.sln
Error info:
libgit.lib(msvc.obj) : error LNK2001: unresolved external symbol win32_skip_dos_drive_prefix
.\git-sh-i18n--envsubst.exe : fatal error LNK1120: 1 unresolved
Build log:
log_x64_build.log