StereoKit: Cannot build out of the box latest 0.3.6.

Description

I like to test an “out of the box” build before adding any changes to my projects. This one does not work, and I could not find the reasons why. Things done in the past when it would not build OOB did not work this time. I spent several hours trying to work out the issues with the build.

Trying to build out of the box following the instructions. There is a problem with the OpenXR version 1.0.22. The first error is a pathspec xxxxxxxx is not a known path in git. It also complains that the CMakelists.txt file is missing from the tools folder. (copying the file there does not fix the issue) After that error I get a collection of errors. Interestingly I had several problems with the shaderxxxxxx.h files having syntax errors. I tried downloading new clones and starting over from the beginning and the syntax errors seemed to move around, like the decompression was corrupt. There would be sequences like this in the files: … 11, 116, , 23, … and … 11, 116, }; , 45, 123, …

In any case I was not able to build successfully.

Platform / Environment

Windows 11 with Visual Studio 2022 both latest version. I am currently using SK 0.3.5 with no issues.

Logs or exception details

Attached the error log and the build raw output.

_If you have an exception, details about that would also be essential._
[SK0-3-6_build errors list.zip](https://github.com/StereoKit/StereoKit/files/8883970/SK0-3-6_build.errors.list.zip)

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 18 (8 by maintainers)

Commits related to this issue

Most upvoted comments

Did you use the develop branch?

In other news, I am able to build the bvh branch and run StereoKitCTest out of the box, so that’s definitely progress with the new build setup! 😃

@jefmes I simply downloaded CMake from www.cmake.org and used the Windows installer (and let CMake get added to PATH during install)