test/render/viewer.cpp failed to compile because of lack of vulkan headers under macos
Detailed error:
In file included from /Users/harry/Workspace/vgg/vgg_runtime/test/render/viewer.cpp:22:
In file included from /Users/harry/Workspace/vgg/vgg_runtime/lib/skia/include/gpu/GrBackendSurface.h:26:
In file included from /Users/harry/Workspace/vgg/vgg_runtime/lib/skia/include/gpu/vk/GrVkTypes.h:13:
In file included from /Users/harry/Workspace/vgg/vgg_runtime/lib/skia/include/gpu/vk/VulkanTypes.h:12:
/Users/harry/Workspace/vgg/vgg_runtime/lib/skia/include/private/gpu/vk/SkiaVulkan.h:20:10: fatal error: 'vulkan/vulkan_core.h' file not found
#include <vulkan/vulkan_core.h>
^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make[2]: *** [test/render/CMakeFiles/viewer.dir/viewer.cpp.o] Error 1
make[1]: *** [test/render/CMakeFiles/viewer.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Detailed description
test/render/viewer.cpp failed to compile because of lack of vulkan headers under macos
Detailed error:
Expected behavior
It compiles.
Actual behavior
Failed to compile.
Steps to reproduce
In build directory,
Additional information
No response