Help Needed with Building Plasma Client/ Server...

Announcements and discussion regarding any projects related to Cyan Worlds' Plasma Engine including (but not limited to) CyanWorlds.com Engine, Drizzle, OfflineKI, PyPRP, and libHSPlasma.
Tsar Hoikas
Councilor of Technical Direction
Posts: 2180
Joined: Fri Nov 16, 2007 9:45 pm
MOULa KI#: 23335
Location: South Georgia
Contact:

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

Post 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.
Image
lizzie_tsai
Posts: 43
Joined: Mon Mar 01, 2021 10:16 am

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

Post 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
Tsar Hoikas
Councilor of Technical Direction
Posts: 2180
Joined: Fri Nov 16, 2007 9:45 pm
MOULa KI#: 23335
Location: South Georgia
Contact:

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

Post 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 :)
Attachments
Screenshot 2021-03-11 20.05.39.png
Screenshot 2021-03-11 20.05.39.png (112.87 KiB) Viewed 11677 times
Image
lizzie_tsai
Posts: 43
Joined: Mon Mar 01, 2021 10:16 am

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

Post 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
Last edited by lizzie_tsai on Sun Mar 14, 2021 4:57 pm, edited 1 time in total.
lizzie_tsai
Posts: 43
Joined: Mon Mar 01, 2021 10:16 am

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

Post 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?
Tsar Hoikas
Councilor of Technical Direction
Posts: 2180
Joined: Fri Nov 16, 2007 9:45 pm
MOULa KI#: 23335
Location: South Georgia
Contact:

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

Post 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:
Image
lizzie_tsai
Posts: 43
Joined: Mon Mar 01, 2021 10:16 am

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

Post by lizzie_tsai »

Oh yes it does! I won't use that one then :)

How should I proceed with the original?
lizzie_tsai
Posts: 43
Joined: Mon Mar 01, 2021 10:16 am

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

Post 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
Tsar Hoikas
Councilor of Technical Direction
Posts: 2180
Joined: Fri Nov 16, 2007 9:45 pm
MOULa KI#: 23335
Location: South Georgia
Contact:

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

Post 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.
Image
lizzie_tsai
Posts: 43
Joined: Mon Mar 01, 2021 10:16 am

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

Post 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?
Post Reply

Return to “Plasma Development”