You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 14, 2022. It is now read-only.
I'm having a trouble in building lzma. I solved a part of it, but one issue remains. The issue must be resolved and the build instruction should be updated.
C:\Users\guru2\Documents\Src\telegram\Libraries\lzma\C\Util\LzmaLib>msbuild LzmaLib.sln /property:Configuration=Debug
Microsoft (R) Build Engine version 15.8.166+gd4e8d81a88 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
Build started 8/15/2018 3:22:01 PM.
Project "C:\Users\guru2\Documents\Src\telegram\Libraries\lzma\C\Util\LzmaLib\LzmaLib.sln" on node 1 (default targets).
ValidateSolutionConfiguration:
Building solution configuration "Debug|x86".
Project "C:\Users\guru2\Documents\Src\telegram\Libraries\lzma\C\Util\LzmaLib\LzmaLib.sln" (1) is building "C:\Users\gur
u2\Documents\Src\telegram\Libraries\lzma\C\Util\LzmaLib\LzmaLib.vcxproj" (2) on node 1 (default targets).
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Cpp.WindowsSDK.targets
(46,5): error MSB8036: The Windows SDK version 10.0.16299.0 was not found. Install the required version of Windows SDK
or change the SDK version in the project property pages or by right-clicking the solution and selecting "Retarget solut
ion". [C:\Users\guru2\Documents\Src\telegram\Libraries\lzma\C\Util\LzmaLib\LzmaLib.vcxproj]
Done Building Project "C:\Users\guru2\Documents\Src\telegram\Libraries\lzma\C\Util\LzmaLib\LzmaLib.vcxproj" (default ta
rgets) -- FAILED.
Done Building Project "C:\Users\guru2\Documents\Src\telegram\Libraries\lzma\C\Util\LzmaLib\LzmaLib.sln" (default target
s) -- FAILED.
Build FAILED.
The main error is error MSB8036: The Windows SDK version 10.0.16299.0 was not found This was easy to resolve. As you see the screenshot below, the git was set to 10.0.16299.0, which is not the latest. I changed it to 10.0.17134.0 as per my environment.
I rebuilt and faced another error.
Build FAILED.
"C:\Users\guru2\Documents\Src\telegram\Libraries\lzma\C\Util\LzmaLib\LzmaLib.sln" (default target) (1) ->
"C:\Users\guru2\Documents\Src\telegram\Libraries\lzma\C\Util\LzmaLib\LzmaLib.vcxproj" (default target) (2) ->
(ClCompile target) ->
c1 : fatal error C1083: Cannot open source file: '..\..\Alloc.c': No such file or directory [C:\Users\guru2\Documents
\Src\telegram\Libraries\lzma\C\Util\LzmaLib\LzmaLib.vcxproj]
c1 : fatal error C1083: Cannot open source file: '..\..\LzFind.c': No such file or directory [C:\Users\guru2\Document
s\Src\telegram\Libraries\lzma\C\Util\LzmaLib\LzmaLib.vcxproj]
c1 : fatal error C1083: Cannot open source file: '..\..\LzFindMt.c': No such file or directory [C:\Users\guru2\Docume
nts\Src\telegram\Libraries\lzma\C\Util\LzmaLib\LzmaLib.vcxproj]
c1 : fatal error C1083: Cannot open source file: '..\..\LzmaDec.c': No such file or directory [C:\Users\guru2\Documen
ts\Src\telegram\Libraries\lzma\C\Util\LzmaLib\LzmaLib.vcxproj]
c1 : fatal error C1083: Cannot open source file: '..\..\LzmaEnc.c': No such file or directory [C:\Users\guru2\Documen
ts\Src\telegram\Libraries\lzma\C\Util\LzmaLib\LzmaLib.vcxproj]
c1 : fatal error C1083: Cannot open source file: '..\..\LzmaLib.c': No such file or directory [C:\Users\guru2\Documen
ts\Src\telegram\Libraries\lzma\C\Util\LzmaLib\LzmaLib.vcxproj]
c1 : fatal error C1083: Cannot open source file: '..\..\Threads.c': No such file or directory [C:\Users\guru2\Documen
ts\Src\telegram\Libraries\lzma\C\Util\LzmaLib\LzmaLib.vcxproj]
c1 : fatal error C1083: Cannot open source file: 'LzmaLibExports.c': No such file or directory [C:\Users\guru2\Docume
nts\Src\telegram\Libraries\lzma\C\Util\LzmaLib\LzmaLib.vcxproj]
0 Warning(s)
8 Error(s)
This is the famous C1083 error. I searched Stackoverflow and tried every solution. But no luck.
This is my environment.
Edition Windows 10 Pro
Version 1803
OS build 17134.228
Visual Studio 2017 15.8.0
Could you help resolve this issue?
Thank you.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi all,
I'm having a trouble in building lzma. I solved a part of it, but one issue remains. The issue must be resolved and the build instruction should be updated.
According to Build instruction for VS 2017, I followed the following instruction.
I get an error.
The main error is
error MSB8036: The Windows SDK version 10.0.16299.0 was not found
This was easy to resolve. As you see the screenshot below, the git was set to 10.0.16299.0, which is not the latest. I changed it to 10.0.17134.0 as per my environment.I rebuilt and faced another error.
This is the famous C1083 error. I searched Stackoverflow and tried every solution. But no luck.
This is my environment.
Edition Windows 10 Pro
Version 1803
OS build 17134.228
Visual Studio 2017 15.8.0
Could you help resolve this issue?
Thank you.
The text was updated successfully, but these errors were encountered: