Skip to content

Conversation

VaclavElias
Copy link
Contributor

PR Details

  • Added a note that Visual Studio 2022 workloads can be installed via Visual Studio Build Tools.
  • Updated C++ build tools section to clarify default enabled status.
  • Emphasized that ARM64/ARM64EC build tools are not enabled by default and provided instructions for enabling them.
  • Adjusted formatting for improved clarity.

I did 3 tests of building Stride from source in Windows 11, all in a clean Windows installations:

  • Build Stride with Visaul Studio 2022 - Success
  • Build Stride without Visual Studio - Success
  • Build Stride without Visual Studio without installing ARM64/ARM64EC - Build Error (Expected) because of missing ARM64/ARM64EC

Based on the tests and following current instructions I propose minor adjusments in the instructions (this PR).


Other Issues

Also, in both successfull tests, the first run of Game Studio, when a small window shows up to accept T&C, crashed after clicking the button "I accept".

Any following Game Studio run was ok. It seems that the crash is related only when a button I accept is clicked.

Not that much information or errors. These are from the Event Viewer:

.NET Runtime
Application: Stride.GameStudio.dll
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: exception code e0434352, exception address 00007FF80B52933A
Stack:

Application Error
Faulting application name: Stride.GameStudio.dll, version: 4.2.0.1, time stamp: 0xa72ca3b6
Faulting module name: KERNELBASE.dll, version: 10.0.26100.3775, time stamp: 0x6e2fc3bb
Exception code: 0xe0434352
Fault offset: 0x00000000000c933a
Faulting process id: 0x368
Faulting application start time: 0x1DBB2497194165E
Faulting application path: C:\Projects\GitHub\stride\sources\editor\Stride.GameStudio\bin\Debug\net8.0-windows\Stride.GameStudio.dll
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: 659587d0-1259-436e-b352-5e7ffa3ee4ed
Faulting package full name:
Faulting package-relative application ID:

Other

For a reference when ARM64/ARM64EC isn't installed, you might get this build error:

"C:\Projects\GitHub\stride\build\Stride.sln" (default target) (1) ->
"C:\Projects\GitHub\stride\sources\engine\Stride.Audio\Stride.Audio.csproj" (default target) (26:7) ->
"C:\Projects\GitHub\stride\sources\engine\Stride.Audio\Stride.Audio.csproj" (Build target) (26:8) ->
"C:\Projects\GitHub\stride\sources\native\WindowsProjects\WindowsDesktop\WindowsDesktop.vcxproj" (Build target) (111:3) ->
(PrepareForBuild target) ->
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(459,5): error MSB8020: The build tools for v143 (Platform Toolset = 'v143') cannot be found. To build using th
e v143 build tools, please install v143 build tools. Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Retarget solution". [C:\Proje
cts\GitHub\stride\sources\native\WindowsProjects\WindowsDesktop\WindowsDesktop.vcxproj]

Related Issue

n/a

Types of changes

  • Docs change / refactoring / dependency upgrade
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • My change requires a change to the documentation.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • I have built and run the editor to try this change out.

- Added a note that Visual Studio 2022 workloads can be installed via Visual Studio Build Tools.
- Updated C++ build tools section to clarify default enabled status.
- Emphasized that ARM64/ARM64EC build tools are not enabled by default and provided instructions for enabling them.
- Adjusted formatting for improved clarity.
@VaclavElias VaclavElias added the area-Doc Issues related to documentation and XML comments label Apr 20, 2025
@Kryptos-FR
Copy link
Member

Kryptos-FR commented Apr 21, 2025

ARM build tools shouldn't be required by default. There is another PR that is supposed to fix that (#2695).

With that said, that PR is also modifying the README so I guess we can merge this one since the current situation is that it is required.

@VaclavElias
Copy link
Contributor Author

Thanks for heads up.

@Eideren Eideren merged commit a7ac8ee into stride3d:master Apr 26, 2025
2 checks passed
@Eideren
Copy link
Collaborator

Eideren commented Apr 26, 2025

Thanks !

@VaclavElias VaclavElias deleted the readme-update-instructions branch May 10, 2025 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Doc Issues related to documentation and XML comments
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants