Page 2 of 6

Re: Help Needed with Building Plasma Client/ Server...

PostPosted: Thu Mar 11, 2021 3:54 pm
by Tsar Hoikas
No worries - this kind of stuff can be challenging to get started with.

Now, it looks like we need to look at the log file the error mentioned. If you could copy the content of C:\Users\Elizabeth\Downloads\Plasma\out\build\x64-Debug\vcpkg-bootstrap.log, that should lead us to the problem.

Re: Help Needed with Building Plasma Client/ Server...

PostPosted: Thu Mar 11, 2021 5:55 pm
by lizzie_tsai
This is what it says inside the file:


Could not detect a Windows SDK / TargetPlatformVersion
At C:\Users\Elizabeth\Downloads\Plasma\vcpkg\scripts\bootstrap.ps1:327 char:5
+ throw "Could not detect a Windows SDK / TargetPlatformVersion"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (Could not detec...PlatformVersion:String) [], RuntimeException
+ FullyQualifiedErrorId : Could not detect a Windows SDK / TargetPlatformVersion

Re: Help Needed with Building Plasma Client/ Server...

PostPosted: Thu Mar 11, 2021 6:32 pm
by Tsar Hoikas
Ok. Let's make sure the Windows SDK is installed. If you type Visual Studio Installer into the start menu, we should be able to re-run the installer. You'll want to choose Modify on your install of Visual Studio 2019. When you do that, make sure that the Desktop Development with C++ workload is installed. Also, be sure that Windows 10 SDK is checked on the right hand pane. If those are not installed, install them, and try to build Plasma again :)

Re: Help Needed with Building Plasma Client/ Server...

PostPosted: Sun Mar 14, 2021 4:42 pm
by lizzie_tsai
I have two more errors. This one:

Severity Code Description Project File Line Suppression State
Error CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:145 (message):
Command failed: "C:/Program Files/CMake/bin/cmake.exe" --build . --config Release --target install -- -v -j9
Working Directory: C:/Users/Elizabeth/Downloads/Plasma/vcpkg/buildtrees/brotli/x86-windows-plasma-rel
See logs for more information:
C:\Users\Elizabeth\Downloads\Plasma\vcpkg\buildtrees\brotli\install-x86-windows-plasma-rel-out.log C:\Users\Elizabeth\Downloads\Plasma\scripts/cmake/vcpkg_execute_build_process.cmake



And this one:
Severity Code Description Project File Line Suppression State
Error CMake Error at vcpkg/scripts/buildsystems/vcpkg.cmake:682 (message):
vcpkg install failed. See logs for more information:
C:\Users\Elizabeth\Downloads\Plasma\out\build\x64-Debug\vcpkg-manifest-install.log C:\Users\Elizabeth\Downloads\Plasma\vcpkg/scripts/buildsystems/vcpkg.cmake 682

Re: Help Needed with Building Plasma Client/ Server...

PostPosted: Sun Mar 14, 2021 4:43 pm
by lizzie_tsai
I made a copy of the file where I cloned the repository in case I messed up, so I tried it with the copy and it somehow gave me different errors. Is there a reason for this?

Re: Help Needed with Building Plasma Client/ Server...

PostPosted: Mon Mar 15, 2021 5:08 pm
by Tsar Hoikas
What's the content of C:\Users\Elizabeth\Downloads\Plasma\vcpkg\buildtrees\brotli\install-x86-windows-plasma-rel-out.log ?

lizzie_tsai wrote:I made a copy of the file where I cloned the repository in case I messed up, so I tried it with the copy and it somehow gave me different errors. Is there a reason for this?


Does the copy have a space in the folder name? One of the tools that runs while building the client explodes spectacularly if there is :ugeek:

Re: Help Needed with Building Plasma Client/ Server...

PostPosted: Mon Mar 15, 2021 5:50 pm
by lizzie_tsai
Oh yes it does! I won't use that one then :)

How should I proceed with the original?

Re: Help Needed with Building Plasma Client/ Server...

PostPosted: Mon Mar 15, 2021 5:51 pm
by lizzie_tsai
The original has these errors:

Severity Code Description Project File Line Suppression State
Error CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:145 (message):
Command failed: "C:/Program Files/CMake/bin/cmake.exe" --build . --config Release --target install -- -v -j9
Working Directory: C:/Users/Elizabeth/Downloads/Plasma/vcpkg/buildtrees/brotli/x86-windows-plasma-rel
See logs for more information:
C:\Users\Elizabeth\Downloads\Plasma\vcpkg\buildtrees\brotli\install-x86-windows-plasma-rel-out.log C:\Users\Elizabeth\Downloads\Plasma\scripts/cmake/vcpkg_execute_build_process.cmake



And this one:
Severity Code Description Project File Line Suppression State
Error CMake Error at vcpkg/scripts/buildsystems/vcpkg.cmake:682 (message):
vcpkg install failed. See logs for more information:
C:\Users\Elizabeth\Downloads\Plasma\out\build\x64-Debug\vcpkg-manifest-install.log C:\Users\Elizabeth\Downloads\Plasma\vcpkg/scripts/buildsystems/vcpkg.cmake 682

Re: Help Needed with Building Plasma Client/ Server...

PostPosted: Mon Mar 15, 2021 6:04 pm
by Tsar Hoikas
Let's see what C:\Users\Elizabeth\Downloads\Plasma\vcpkg\buildtrees\brotli\install-x86-windows-plasma-rel-out.log says. I often see complaints about brotli on the vcpkg github page, so maybe we can figure out what's going on.

Re: Help Needed with Building Plasma Client/ Server...

PostPosted: Mon Mar 15, 2021 6:16 pm
by lizzie_tsai
It's loading in right now.

The Cmake generation keeps getting stuck at this line of code:

1> [CMake] -- [OVERLAY] Loading triplet configuration from: C:\Users\Elizabeth\Downloads\Plasma\Scripts\Triplets\x86-windows-plasma.cmake

It progresses, but it's super slow. Is this a problem?