-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Description
FYI
Macos 13.0.1, XCode 14.1
Followed steps is BUILD.md, failed on build_external.sh -> hardcoded absolute paths for MGLContext.h and MGLRenderer.h in external/glfw/src/cocoa_platform.h and mgl_context.m
Xcode build of MGL failed, so I did the following:
-
Commented out API_AVAILABLE and API_UNAVAILABLE declarations in MGL/include/pixel_utils.h
-
Added the following after includes of MGL/src/shaders.c
GLSLANG_SHADER_VULKAN_RULES_RELAXED = 1 << 2;
void glslang_shader_set_options(glslang_shader_t*, int);
- From MGL/external/SPIRV-Tools/source/val added
validate_mesh_shading.cppandvalidate_ray_tracing_reorder.cppto project (MGL/SPIRV-Tools)
After that MGL was built successfully.
Hope this will be helpful
Metadata
Metadata
Assignees
Labels
No labels