Skip to content
This repository has been archived by the owner on Feb 4, 2024. It is now read-only.

compiler limit : blocks nested too deeply #26

Open
JohnLemonator opened this issue Aug 22, 2021 · 1 comment
Open

compiler limit : blocks nested too deeply #26

JohnLemonator opened this issue Aug 22, 2021 · 1 comment

Comments

@JohnLemonator
Copy link

When compiling ALL_BUILD target, using Visual Studio 2019, I encountered a fatal error with regards to the following Link.
https://docs.microsoft.com/en-us/cpp/error-messages/compiler-errors-1/fatal-error-c1061?view=msvc-160

Build started...
1>------ Build started: Project: xr_extx_overlay, Configuration: Debug x64 ------
1>xr_generated_overlays.cpp
1>E:\SteamVR_Projekt\OpenXR_SDK\OpenXR-OverlayLayer-master\OpenXR-OverlayLayer-master\build\api-layer\xr_generated_overlays.cpp(9925,65): fatal error C1061: compiler limit: blocks nested too deeply
1>Done building project "xr_extx_overlay.vcxproj" -- FAILED.
2>------ Skipped Build: Project: ALL_BUILD, Configuration: Debug x64 ------
2>Project not selected to build for this solution configuration 
========== Build: 0 succeeded, 1 failed, 2 up-to-date, 1 skipped ==========

I have devised a crude workaround to at least get the build to run.

Workaround:
Replace "else" in file xr_generated_overlays.cpp(9925) with new line.

@bradgrantham-lunarg
Copy link
Contributor

This may be fixed by #24.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants