Vulkan-Samples
Vulkan-Samples copied to clipboard
OSX, Could not create Vulkan instance : ERROR_INCOMPATIBLE_DRIVER
![image](https://user-images.githubusercontent.com/5763734/174043034-3a42dbc6-c803-4850-b044-650428a16245.png)
Hi, I got "Could not create Vulkan instance" on my macbook pro when I run the hdr sample (other samples also got this error).
Command line I used:
/build/mac/app/bin/Release/x86_64/vulkan_samples sample hdr
It's just because of my graphics card not support vulkan, is it ?
I have the exact same laptop and mine ran perfectly fine with all the samples.
Hi, jiaxiongjiao.
So how do you install the vulkan sdk on your local machine. I installed by the macos installer from https://vulkan.lunarg.com/sdk/home#mac
What SDK version are you using? The error may be related to changes introduced with Vulkan 1.3.216. If you're using that (or newer) that may be the cause of the problem and would probably require a fix from our side.
Hi, SaschaWillems
The previous Vulkan SDK version was 1.3.216, after I changed to an older version (1.2.198.1) the error is fixed. Thanks.
@SaschaWillems I've been working on macOS with 1.3.216 and have added the required changes in that project as per: https://www.lunarg.com/wp-content/uploads/2022/04/Portability-Enumeration-Extension-APR2022.pdf
Would you like me to have a look and issue a PR with the required config changes here?
thanks @Radagan you're absolutely correct that this is caused by the new Portability Enumeration Extension. It has been implemented already in the samples #448 However, at the time I added it I wanted to not impact in anyway the rest of the samples. Thus the fix here is either to provide new documentation for building in OSX that VKB_ENABLE_PORTABILITY build define is necessary or to simply default to having it enabled. I think making a new PR that defaults to enabling the portability flag is probably the safest and most future proof path.
@gpx1000, I think you should enable it by default for macOS (__APPLE__ and __MACH__). I tried to use your cmake defines in #448, but have yet to get it to work. Not sure why--will keep trying. ;^)
@Radagan Sorry for it taking so long for me to get back to you. I went ahead and tried to create a PR that should address this problem. The issue is that with Vulkan 1.3, the portability extension is found and unless it is enabled, the instance wont find the moltenvk instance. Vulkan 1.2 doesn't have the portability extension. So, the approach I'm using is to utilize the FindVulkan cmake functionality which will parse and look for the version of Vulkan header found. If it can't find at least version 1.3, then it will ensure that the VKB_ENABLE_PORTABILITY flag is set off, so it wont try to use an extension that doesn't exist in 1.2. Otherwise, it will try to enable the extension allowing MoltenVK to be found. Hopefully this proves to be the right thing everywhere. Please let me know if the PR fixes your issue or if you run into any other issues and I'll try to address.
@gpx1000 Thank you for the PR. Having these examples functional on mac will be a great help to me learning the finer points of Vulkan!
Hi @Radagan. can you confirm this PR fixes your issue? If so, we'll go ahead and merge. Thanks!
@marty-johnson59 I cloned @gpx1000 's repo and checked out branch 'Auto_enable_VKB_ENABLE_PORTABILITY', but I still get the same error. Happy to work with you further to figure out what is wrong.
% build/mac/app/bin/Release/x86_64/vulkan_samples sample hdr
[info] Logger initialized
[info] Initializing Vulkan sample
[info] Vulkan debug utils enabled (VK_EXT_debug_utils)
[info] Extension VK_KHR_get_physical_device_properties2 found, enabling it
[info] Extension VK_EXT_metal_surface found, enabling it
[info] Extension VK_EXT_debug_utils found, enabling it
[info] Enabled Validation Layers:
[error] [framework/platform/platform.cpp:149] Error Message: Could not create Vulkan instance : ERROR_INCOMPATIBLE_DRIVER
[error] [framework/platform/platform.cpp:150] Failed when running application hdr
Hi @Radagan Could you delete the build directory and redo it: i.e. something like: rm -rf build mkdir build && cd build cmake .. cmake --build
I have a feeling what's wrong is it might still have the configuration from the previous CMake. We'd want to ensure that it picks up the latest build settings in a fresh configuration phase of CMake.
@gpx1000 Good idea. Unfortunately, I still get the error. In case it is mine or something specific about my setup, rather than your PR, here are the gory details with only my work computer's details removed:
% rm -rf build
% git status
On branch Auto_enable_VKB_ENABLE_PORTABILITY
Your branch is up to date with 'origin/Auto_enable_VKB_ENABLE_PORTABILITY'.
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: assets (new commits)
no changes added to commit (use "git add" and/or "git commit -a")
% git pull
Already up to date.
% cmake -H. -Bbuild/mac -DCMAKE_BUILD_TYPE=Release
-- The C compiler identification is AppleClang 13.1.6.13160021
-- The CXX compiler identification is AppleClang 13.1.6.13160021
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Vulkan: /usr/local/lib/libvulkan.dylib (found suitable version "1.3.216", minimum required is "1.3")
-- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB
-- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB - Success
-- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB
-- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB - Success
CMake Warning (dev) at /usr/local/Cellar/cmake/3.23.2/share/cmake/Modules/CMakeDependentOption.cmake:75 (option):
Policy CMP0077 is not set: option() honors normal variables. Run "cmake
--help-policy CMP0077" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
For compatibility with older versions of CMake, option is clearing the
normal variable 'ENABLE_HLSL'.
Call Stack (most recent call first):
third_party/glslang/CMakeLists.txt:101 (CMAKE_DEPENDENT_OPTION)
This warning is for project developers. Use -Wno-dev to suppress it.
-- spirv-tools not linked - illegal SPIRV may be generated for HLSL
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
CMake Deprecation Warning at third_party/spirv-cross/CMakeLists.txt:15 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- Found PythonInterp: /opt/miniconda3/bin/python (found version "3.9.5")
-- Using Cocoa for window creation
-- Build type: Release
-- Found Doxygen: /usr/local/bin/doxygen (found version "1.9.4") found components: doxygen dot
CMake Warning (dev) at /usr/local/Cellar/cmake/3.23.2/share/cmake/Modules/CMakeDependentOption.cmake:89 (message):
Policy CMP0127 is not set: cmake_dependent_option() supports full Condition
Syntax. Run "cmake --help-policy CMP0127" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
third_party/cli11/CMakeLists.txt:66 (cmake_dependent_option)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at /usr/local/Cellar/cmake/3.23.2/share/cmake/Modules/CMakeDependentOption.cmake:89 (message):
Policy CMP0127 is not set: cmake_dependent_option() supports full Condition
Syntax. Run "cmake --help-policy CMP0127" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
third_party/cli11/CMakeLists.txt:70 (cmake_dependent_option)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at /usr/local/Cellar/cmake/3.23.2/share/cmake/Modules/CMakeDependentOption.cmake:89 (message):
Policy CMP0127 is not set: cmake_dependent_option() supports full Condition
Syntax. Run "cmake --help-policy CMP0127" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
third_party/cli11/CMakeLists.txt:82 (cmake_dependent_option)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at /usr/local/Cellar/cmake/3.23.2/share/cmake/Modules/CMakeDependentOption.cmake:89 (message):
Policy CMP0127 is not set: cmake_dependent_option() supports full Condition
Syntax. Run "cmake --help-policy CMP0127" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
third_party/cli11/CMakeLists.txt:94 (cmake_dependent_option)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at /usr/local/Cellar/cmake/3.23.2/share/cmake/Modules/CMakeDependentOption.cmake:89 (message):
Policy CMP0127 is not set: cmake_dependent_option() supports full Condition
Syntax. Run "cmake --help-policy CMP0127" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
third_party/cli11/CMakeLists.txt:102 (cmake_dependent_option)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Unix platform detected
-- Warnings as Errors Enabled
-- Sample `compute_nbody` - BUILD
-- Sample `dynamic_uniform_buffers` - BUILD
-- Sample `hdr` - BUILD
-- Sample `hello_triangle` - BUILD
-- Sample `hlsl_shaders` - BUILD
-- Sample `hpp_compute_nbody` - BUILD
-- Sample `hpp_dynamic_uniform_buffers` - BUILD
-- Sample `hpp_hdr` - BUILD
-- Sample `hpp_hello_triangle` - BUILD
-- Sample `hpp_instancing` - BUILD
-- Sample `hpp_terrain_tessellation` - BUILD
-- Sample `hpp_texture_loading` - BUILD
-- Sample `instancing` - BUILD
-- Sample `separate_image_sampler` - BUILD
-- Sample `terrain_tessellation` - BUILD
-- Sample `texture_loading` - BUILD
-- Sample `texture_mipmap_generation` - BUILD
-- Sample `buffer_device_address` - BUILD
-- Sample `conditional_rendering` - BUILD
-- Sample `conservative_rasterization` - BUILD
-- Sample `debug_utils` - BUILD
-- Sample `descriptor_indexing` - BUILD
-- Sample `dynamic_rendering` - BUILD
-- Sample `fragment_shading_rate` - BUILD
-- Sample `fragment_shading_rate_dynamic` - BUILD
-- Sample `graphics_pipeline_library` - BUILD
-- Sample `open_gl_interop` - BUILD
-- Sample `portability` - BUILD
-- Sample `push_descriptors` - BUILD
-- Sample `ray_queries` - BUILD
-- Sample `ray_tracing_reflection` - BUILD
-- Sample `raytracing_basic` - BUILD
-- Sample `raytracing_extended` - BUILD
-- Sample `synchronization_2` - BUILD
-- Sample `timeline_semaphore` - BUILD
-- Sample `16bit_arithmetic` - BUILD
-- Sample `16bit_storage_input_output` - BUILD
-- Sample `afbc` - BUILD
-- Sample `async_compute` - BUILD
-- Sample `command_buffer_usage` - BUILD
-- Sample `constant_data` - BUILD
-- Sample `descriptor_management` - BUILD
-- Sample `layout_transitions` - BUILD
-- Sample `msaa` - BUILD
-- Sample `multi_draw_indirect` - BUILD
-- Sample `multithreading_render_passes` - BUILD
-- Sample `pipeline_barriers` - BUILD
-- Sample `pipeline_cache` - BUILD
-- Sample `render_passes` - BUILD
-- Sample `specialization_constants` - BUILD
-- Sample `subpasses` - BUILD
-- Sample `surface_rotation` - BUILD
-- Sample `swapchain_images` - BUILD
-- Sample `texture_compression_basisu` - BUILD
-- Sample `texture_compression_comparison` - BUILD
-- Sample `wait_idle` - BUILD
-- Sample `profiles` - BUILD
-- Plugin `batch_mode` - BUILD
-- Plugin `benchmark_mode` - BUILD
-- Plugin `file_logger` - BUILD
-- Plugin `force_close` - BUILD
-- Plugin `fps_logger` - BUILD
-- Plugin `screenshot` - BUILD
-- Plugin `start_sample` - BUILD
-- Plugin `stop_after` - BUILD
-- Plugin `window_options` - BUILD
-- Configuring done
-- Generating done
-- Build files have been written to: github/gpx1000/Vulkan-Samples/build/mac
% cmake --build build/mac --config Release --target vulkan_samples -- -j4
[ 0%] Building C object samples/extensions/open_gl_interop/CMakeFiles/glad.dir/third_party/glad/src/glad.c.o
[ 0%] Building CXX object third_party/CMakeFiles/imgui.dir/imgui/imgui.cpp.o
[ 0%] Building C object third_party/CMakeFiles/volk.dir/volk/volk.c.o
[ 1%] Building C object third_party/CMakeFiles/ktx.dir/ktx/lib/checkheader.c.o
[ 1%] Building C object third_party/CMakeFiles/ktx.dir/ktx/lib/dfdutils/createdfd.c.o
[ 1%] Building C object third_party/CMakeFiles/ktx.dir/ktx/lib/dfdutils/colourspaces.c.o
[ 2%] Linking C static library lib/Release/x86_64/libvolk.a
[ 2%] Building C object third_party/CMakeFiles/ktx.dir/ktx/lib/dfdutils/interpretdfd.c.o
[ 2%] Built target volk
[ 2%] Building CXX object third_party/CMakeFiles/imgui.dir/imgui/imgui_demo.cpp.o
[ 3%] Building C object third_party/CMakeFiles/ktx.dir/ktx/lib/dfdutils/printdfd.c.o
[ 3%] Building C object third_party/CMakeFiles/ktx.dir/ktx/lib/dfdutils/queries.c.o
[ 3%] Building C object third_party/CMakeFiles/ktx.dir/ktx/lib/dfdutils/vk2dfd.c.o
[ 4%] Linking C static library lib/Release/x86_64/libglad.a
[ 4%] Built target glad
[ 4%] Building CXX object third_party/CMakeFiles/imgui.dir/imgui/imgui_draw.cpp.o
[ 4%] Building CXX object third_party/CMakeFiles/ktx.dir/ktx/lib/etcdec.cxx.o
[ 5%] Building CXX object third_party/CMakeFiles/ktx.dir/ktx/lib/etcunpack.cxx.o
[ 5%] Building C object third_party/CMakeFiles/ktx.dir/ktx/lib/filestream.c.o
[ 5%] Building C object third_party/CMakeFiles/ktx.dir/ktx/lib/hashlist.c.o
[ 5%] Building CXX object third_party/CMakeFiles/glslang-default-resource-limits.dir/glslang/StandAlone/ResourceLimits.cpp.o
[ 5%] Building C object third_party/CMakeFiles/ktx.dir/ktx/lib/info.c.o
[ 6%] Building C object third_party/CMakeFiles/ktx.dir/ktx/lib/memstream.c.o
[ 6%] Building C object third_party/CMakeFiles/ktx.dir/ktx/lib/strings.c.o
[ 6%] Building C object third_party/CMakeFiles/ktx.dir/ktx/lib/swap.c.o
[ 6%] Building C object third_party/CMakeFiles/ktx.dir/ktx/lib/texture.c.o
[ 7%] Building CXX object third_party/CMakeFiles/ktx.dir/ktx/lib/basis_transcode.cpp.o
[ 8%] Linking CXX static library lib/Release/x86_64/libglslang-default-resource-limits.a
[ 8%] Built target glslang-default-resource-limits
[ 9%] Building CXX object third_party/CMakeFiles/imgui.dir/imgui/imgui_widgets.cpp.o
[ 9%] Building CXX object third_party/CMakeFiles/ktx.dir/ktx/lib/basisu/transcoder/basisu_transcoder.cpp.o
[ 10%] Building CXX object third_party/CMakeFiles/astc.dir/astc/Source/astc_image_load_store.cpp.o
[ 10%] Building C object third_party/CMakeFiles/ktx.dir/ktx/lib/basisu/zstd/zstd.c.o
[ 10%] Building CXX object third_party/CMakeFiles/astc.dir/astc/Source/astc_pick_best_endpoint_format.cpp.o
[ 10%] Linking CXX static library lib/Release/x86_64/libimgui.a
[ 10%] Built target imgui
[ 10%] Building C object third_party/CMakeFiles/ktx.dir/ktx/lib/texture1.c.o
[ 10%] Building CXX object third_party/CMakeFiles/astc.dir/astc/Source/astc_color_quantize.cpp.o
[ 11%] Building CXX object third_party/glslang/glslang/CMakeFiles/GenericCodeGen.dir/GenericCodeGen/CodeGen.cpp.o
[ 11%] Building CXX object third_party/glslang/glslang/CMakeFiles/GenericCodeGen.dir/GenericCodeGen/Link.cpp.o
[ 11%] Building CXX object third_party/CMakeFiles/astc.dir/astc/Source/astc_weight_align.cpp.o
[ 11%] Linking CXX static library lib/Release/x86_64/libGenericCodeGen.a
[ 11%] Built target GenericCodeGen
[ 11%] Building CXX object third_party/glslang/OGLCompilersDLL/CMakeFiles/OGLCompiler.dir/InitializeDll.cpp.o
[ 12%] Building CXX object third_party/CMakeFiles/astc.dir/astc/Source/astc_integer_sequence.cpp.o
[ 12%] Linking CXX static library lib/Release/x86_64/libOGLCompiler.a
[ 12%] Built target OGLCompiler
[ 13%] Building C object third_party/CMakeFiles/ktx.dir/ktx/lib/texture2.c.o
[ 14%] Building CXX object third_party/glslang/glslang/OSDependent/Unix/CMakeFiles/OSDependent.dir/ossource.cpp.o
[ 14%] Linking CXX static library lib/Release/x86_64/libOSDependent.a
[ 14%] Built target OSDependent
[ 14%] Building CXX object third_party/spirv-cross/CMakeFiles/spirv-cross-core.dir/spirv_cross.cpp.o
[ 14%] Building CXX object third_party/CMakeFiles/astc.dir/astc/Source/astc_ideal_endpoints_and_weights.cpp.o
[ 14%] Building CXX object third_party/CMakeFiles/astc.dir/astc/Source/astc_find_best_partitioning.cpp.o
[ 14%] Building CXX object third_party/CMakeFiles/astc.dir/astc/Source/astc_compress_symbolic.cpp.o
[ 14%] Building C object third_party/CMakeFiles/ktx.dir/ktx/lib/vkformat_check.c.o
[ 14%] Building CXX object third_party/hwcpipe/CMakeFiles/hwcpipe.dir/hwcpipe.cpp.o
[ 15%] Building CXX object third_party/CMakeFiles/astc.dir/astc/Source/astc_decompress_symbolic.cpp.o
[ 15%] Building CXX object third_party/CMakeFiles/astc.dir/astc/Source/astc_symbolic_physical.cpp.o
[ 15%] Building CXX object third_party/CMakeFiles/astc.dir/astc/Source/astc_toplevel.cpp.o
[ 15%] Building CXX object third_party/spirv-cross/CMakeFiles/spirv-cross-core.dir/spirv_parser.cpp.o
[ 15%] Building CXX object third_party/CMakeFiles/astc.dir/astc/Source/astc_stb_tga.cpp.o
[ 16%] Linking CXX static library lib/Release/x86_64/libhwcpipe.a
[ 16%] Built target hwcpipe
[ 16%] Building C object third_party/CMakeFiles/ktx.dir/ktx/lib/vkformat_str.c.o
[ 17%] Building CXX object third_party/spirv-cross/CMakeFiles/spirv-cross-core.dir/spirv_cross_parsed_ir.cpp.o
[ 18%] Building CXX object third_party/CMakeFiles/astc.dir/astc/Source/softfloat.cpp.o
[ 18%] Building CXX object third_party/CMakeFiles/astc.dir/astc/Source/mathlib.cpp.o
[ 18%] Building CXX object third_party/CMakeFiles/astc.dir/astc/Source/astc_quantization.cpp.o
[ 18%] Building CXX object third_party/spirv-cross/CMakeFiles/spirv-cross-core.dir/spirv_cfg.cpp.o
[ 18%] Building C object third_party/glfw/src/CMakeFiles/glfw.dir/context.c.o
[ 18%] Building CXX object third_party/CMakeFiles/astc.dir/astc/Source/astc_block_sizes2.cpp.o
[ 18%] Building C object third_party/glfw/src/CMakeFiles/glfw.dir/init.c.o
[ 18%] Linking CXX static library lib/Release/x86_64/libspirv-cross-core.a
[ 18%] Building C object third_party/glfw/src/CMakeFiles/glfw.dir/input.c.o
[ 20%] Building CXX object third_party/CMakeFiles/astc.dir/astc/Source/astc_percentile_tables.cpp.o
[ 20%] Built target spirv-cross-core
[ 20%] Building C object third_party/CMakeFiles/ktx.dir/ktx/lib/vk_funcs.c.o
In file included from github/gpx1000/Vulkan-Samples/third_party/ktx/lib/vk_funcs.c:46:
github/gpx1000/Vulkan-Samples/third_party/ktx/lib/vk_funcs.h:29:9: warning: 'VK_NO_PROTOTYPES' macro redefined [-Wmacro-redefined]
#define VK_NO_PROTOTYPES
^
<command line>:6:9: note: previous definition is here
#define VK_NO_PROTOTYPES 1
^
[ 20%] Building CXX object third_party/CMakeFiles/astc.dir/astc/Source/astc_averages_and_directions.cpp.o
1 warning generated.
[ 21%] Building C object third_party/CMakeFiles/ktx.dir/ktx/lib/vkloader.c.o
In file included from github/gpx1000/Vulkan-Samples/third_party/ktx/lib/vkloader.c:29:
github/gpx1000/Vulkan-Samples/third_party/ktx/lib/vk_funcs.h:29:9: warning: 'VK_NO_PROTOTYPES' macro redefined [-Wmacro-redefined]
#define VK_NO_PROTOTYPES
^
<command line>:6:9: note: previous definition is here
#define VK_NO_PROTOTYPES 1
^
1 warning generated.
[ 22%] Building C object third_party/glfw/src/CMakeFiles/glfw.dir/monitor.c.o
[ 22%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/cmake_pch.hxx.pch
[ 22%] Building C object third_party/glfw/src/CMakeFiles/glfw.dir/vulkan.c.o
[ 22%] Building CXX object third_party/CMakeFiles/astc.dir/astc/Source/astc_partition_tables.cpp.o
[ 22%] Building C object third_party/glfw/src/CMakeFiles/glfw.dir/window.c.o
[ 22%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/glslang_tab.cpp.o
[ 22%] Building C object third_party/glfw/src/CMakeFiles/glfw.dir/cocoa_init.m.o
[ 22%] Building CXX object third_party/CMakeFiles/astc.dir/astc/Source/astc_color_unquantize.cpp.o
[ 23%] Building C object third_party/glfw/src/CMakeFiles/glfw.dir/cocoa_joystick.m.o
[ 24%] Building CXX object third_party/CMakeFiles/astc.dir/astc/Source/astc_encoding_choice_error.cpp.o
[ 24%] Building CXX object third_party/CMakeFiles/astc.dir/astc/Source/astc_kmeans_partitioning.cpp.o
[ 24%] Building C object third_party/glfw/src/CMakeFiles/glfw.dir/cocoa_monitor.m.o
github/gpx1000/Vulkan-Samples/third_party/glfw/src/cocoa_monitor.m:61:38: warning: 'kIOMasterPortDefault' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations]
if (IOServiceGetMatchingServices(kIOMasterPortDefault,
^~~~~~~~~~~~~~~~~~~~
kIOMainPortDefault
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h:123:19: note: 'kIOMasterPortDefault' has been explicitly marked deprecated here
const mach_port_t kIOMasterPortDefault
^
github/gpx1000/Vulkan-Samples/third_party/glfw/src/cocoa_monitor.m:234:38: warning: 'kIOMasterPortDefault' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations]
if (IOServiceGetMatchingServices(kIOMasterPortDefault,
^~~~~~~~~~~~~~~~~~~~
kIOMainPortDefault
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h:123:19: note: 'kIOMasterPortDefault' has been explicitly marked deprecated here
const mach_port_t kIOMasterPortDefault
^
[ 24%] Building CXX object third_party/CMakeFiles/astc.dir/astc/Source/astc_weight_quant_xfer_tables.cpp.o
2 warnings generated.
[ 24%] Building C object third_party/glfw/src/CMakeFiles/glfw.dir/cocoa_window.m.o
[ 24%] Building CXX object third_party/CMakeFiles/astc.dir/astc/Source/astc_compute_variance.cpp.o
github/gpx1000/Vulkan-Samples/third_party/glfw/src/cocoa_window.m:365:62: warning: 'kUTTypeURL' is deprecated: first deprecated in macOS 12.0 - Use UTTypeURL instead. [-Wdeprecated-declarations]
[self registerForDraggedTypes:@[(__bridge NSString*) kUTTypeURL]];
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h:210:26: note: 'kUTTypeURL' has been explicitly marked deprecated here
extern const CFStringRef kUTTypeURL API_DEPRECATED("Use UTTypeURL instead.", ios(3.0, 15.0), macos(10.4, 12.0), tvos(9.0, 15.0), watchos(1.0, 8.0));
^
1 warning generated.
[ 24%] Building C object third_party/glfw/src/CMakeFiles/glfw.dir/cocoa_time.c.o
[ 25%] Building C object third_party/glfw/src/CMakeFiles/glfw.dir/posix_thread.c.o
[ 26%] Building CXX object third_party/CMakeFiles/astc.dir/astc/Source/astc_ktx_dds.cpp.o
[ 26%] Building C object third_party/glfw/src/CMakeFiles/glfw.dir/nsgl_context.m.o
[ 26%] Linking CXX static library lib/Release/x86_64/libastc.a
[ 26%] Building C object third_party/glfw/src/CMakeFiles/glfw.dir/egl_context.c.o
[ 26%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/attribute.cpp.o
[ 26%] Built target astc
[ 26%] Building CXX object third_party/spirv-cross/CMakeFiles/spirv-cross-glsl.dir/spirv_glsl.cpp.o
[ 26%] Building C object third_party/glfw/src/CMakeFiles/glfw.dir/osmesa_context.c.o
[ 27%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/Constant.cpp.o
[ 28%] Linking C static library lib/Release/x86_64/libglfw3.a
[ 28%] Built target glfw
[ 28%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/iomapper.cpp.o
[ 28%] Linking CXX static library lib/Release/x86_64/libktx.a
[ 28%] Built target ktx
[ 28%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/InfoSink.cpp.o
[ 28%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/Initialize.cpp.o
[ 29%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/IntermTraverse.cpp.o
[ 29%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/Intermediate.cpp.o
[ 29%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/ParseContextBase.cpp.o
[ 29%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/ParseHelper.cpp.o
[ 30%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/PoolAlloc.cpp.o
[ 30%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/RemoveTree.cpp.o
[ 30%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/Scan.cpp.o
[ 30%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/ShaderLang.cpp.o
[ 31%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/SpirvIntrinsics.cpp.o
[ 31%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/SymbolTable.cpp.o
[ 31%] Linking CXX static library lib/Release/x86_64/libspirv-cross-glsl.a
[ 31%] Built target spirv-cross-glsl
[ 31%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/Versions.cpp.o
[ 31%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/intermOut.cpp.o
[ 32%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/limits.cpp.o
[ 32%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/linkValidate.cpp.o
[ 32%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/parseConst.cpp.o
[ 32%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/reflection.cpp.o
[ 33%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/preprocessor/Pp.cpp.o
[ 33%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/preprocessor/PpAtom.cpp.o
[ 33%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/preprocessor/PpContext.cpp.o
[ 33%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/preprocessor/PpScanner.cpp.o
[ 34%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/preprocessor/PpTokens.cpp.o
[ 34%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/propagateNoContraction.cpp.o
[ 34%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/HLSL/hlslAttributes.cpp.o
[ 34%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/HLSL/hlslParseHelper.cpp.o
[ 35%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/HLSL/hlslScanContext.cpp.o
[ 35%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/HLSL/hlslOpMap.cpp.o
[ 35%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/HLSL/hlslTokenStream.cpp.o
[ 35%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/HLSL/hlslGrammar.cpp.o
[ 36%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/HLSL/hlslParseables.cpp.o
[ 36%] Linking CXX static library lib/Release/x86_64/libMachineIndependent.a
[ 36%] Built target MachineIndependent
[ 36%] Building CXX object third_party/glslang/glslang/CMakeFiles/glslang.dir/CInterface/glslang_c_interface.cpp.o
[ 36%] Building CXX object third_party/glslang/SPIRV/CMakeFiles/SPIRV.dir/InReadableOrder.cpp.o
[ 37%] Building CXX object third_party/glslang/SPIRV/CMakeFiles/SPIRV.dir/GlslangToSpv.cpp.o
[ 37%] Building CXX object third_party/glslang/SPIRV/CMakeFiles/SPIRV.dir/Logger.cpp.o
[ 37%] Building CXX object third_party/glslang/SPIRV/CMakeFiles/SPIRV.dir/SpvBuilder.cpp.o
[ 37%] Building CXX object third_party/glslang/SPIRV/CMakeFiles/SPIRV.dir/SpvPostProcess.cpp.o
[ 37%] Linking CXX static library lib/Release/x86_64/libglslang.a
[ 37%] Built target glslang
[ 37%] Building CXX object third_party/glslang/SPIRV/CMakeFiles/SPIRV.dir/doc.cpp.o
[ 38%] Building CXX object third_party/glslang/SPIRV/CMakeFiles/SPIRV.dir/SpvTools.cpp.o
[ 38%] Building CXX object third_party/glslang/SPIRV/CMakeFiles/SPIRV.dir/disassemble.cpp.o
[ 38%] Building CXX object third_party/glslang/SPIRV/CMakeFiles/SPIRV.dir/CInterface/spirv_c_interface.cpp.o
[ 38%] Linking CXX static library lib/Release/x86_64/libSPIRV.a
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: lib/Release/x86_64/libSPIRV.a(SpvTools.cpp.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: lib/Release/x86_64/libSPIRV.a(SpvTools.cpp.o) has no symbols
[ 38%] Built target SPIRV
[ 38%] Building CXX object app/apps/CMakeFiles/apps.dir/apps.cpp.o
[ 38%] Linking CXX static library lib/Release/x86_64/libapps.a
[ 38%] Built target apps
[ 38%] Building CXX object app/plugins/CMakeFiles/plugins.dir/plugins.cpp.o
[ 38%] Building CXX object app/plugins/CMakeFiles/plugins.dir/batch_mode/batch_mode.cpp.o
[ 38%] Building CXX object app/plugins/CMakeFiles/plugins.dir/benchmark_mode/benchmark_mode.cpp.o
[ 40%] Building CXX object app/plugins/CMakeFiles/plugins.dir/file_logger/file_logger.cpp.o
[ 40%] Building CXX object app/plugins/CMakeFiles/plugins.dir/force_close/force_close.cpp.o
[ 40%] Building CXX object app/plugins/CMakeFiles/plugins.dir/fps_logger/fps_logger.cpp.o
[ 40%] Building CXX object app/plugins/CMakeFiles/plugins.dir/screenshot/screenshot.cpp.o
[ 41%] Building CXX object app/plugins/CMakeFiles/plugins.dir/start_sample/start_sample.cpp.o
[ 41%] Building CXX object app/plugins/CMakeFiles/plugins.dir/stop_after/stop_after.cpp.o
[ 41%] Building CXX object app/plugins/CMakeFiles/plugins.dir/window_options/window_options.cpp.o
[ 41%] Linking CXX static library lib/Release/x86_64/libplugins.a
[ 41%] Built target plugins
[ 41%] Building CXX object samples/tooling/profiles/CMakeFiles/profiles.dir/profiles.cpp.o
[ 41%] Linking CXX static library lib/Release/x86_64/libprofiles.a
[ 41%] Built target profiles
[ 41%] Building CXX object samples/performance/wait_idle/CMakeFiles/wait_idle.dir/wait_idle.cpp.o
[ 42%] Linking CXX static library lib/Release/x86_64/libwait_idle.a
[ 42%] Built target wait_idle
[ 42%] Building CXX object samples/performance/texture_compression_comparison/CMakeFiles/texture_compression_comparison.dir/texture_compression_comparison.cpp.o
[ 43%] Linking CXX static library lib/Release/x86_64/libtexture_compression_comparison.a
[ 43%] Built target texture_compression_comparison
[ 43%] Building CXX object samples/performance/texture_compression_basisu/CMakeFiles/texture_compression_basisu.dir/texture_compression_basisu.cpp.o
[ 43%] Linking CXX static library lib/Release/x86_64/libtexture_compression_basisu.a
[ 43%] Built target texture_compression_basisu
[ 43%] Building CXX object samples/performance/swapchain_images/CMakeFiles/swapchain_images.dir/swapchain_images.cpp.o
[ 44%] Linking CXX static library lib/Release/x86_64/libswapchain_images.a
[ 44%] Built target swapchain_images
[ 44%] Building CXX object samples/performance/surface_rotation/CMakeFiles/surface_rotation.dir/surface_rotation.cpp.o
[ 44%] Linking CXX static library lib/Release/x86_64/libsurface_rotation.a
[ 44%] Built target surface_rotation
[ 44%] Building CXX object samples/performance/subpasses/CMakeFiles/subpasses.dir/subpasses.cpp.o
[ 45%] Linking CXX static library lib/Release/x86_64/libsubpasses.a
[ 45%] Built target subpasses
[ 45%] Building CXX object samples/performance/specialization_constants/CMakeFiles/specialization_constants.dir/specialization_constants.cpp.o
[ 45%] Linking CXX static library lib/Release/x86_64/libspecialization_constants.a
[ 45%] Built target specialization_constants
[ 45%] Building CXX object samples/performance/render_passes/CMakeFiles/render_passes.dir/render_passes.cpp.o
[ 45%] Linking CXX static library lib/Release/x86_64/librender_passes.a
[ 45%] Built target render_passes
[ 45%] Building CXX object samples/performance/pipeline_cache/CMakeFiles/pipeline_cache.dir/pipeline_cache.cpp.o
[ 46%] Linking CXX static library lib/Release/x86_64/libpipeline_cache.a
[ 46%] Built target pipeline_cache
[ 46%] Building CXX object samples/performance/pipeline_barriers/CMakeFiles/pipeline_barriers.dir/pipeline_barriers.cpp.o
[ 46%] Linking CXX static library lib/Release/x86_64/libpipeline_barriers.a
[ 46%] Built target pipeline_barriers
[ 47%] Building CXX object samples/performance/multithreading_render_passes/CMakeFiles/multithreading_render_passes.dir/multithreading_render_passes.cpp.o
[ 47%] Linking CXX static library lib/Release/x86_64/libmultithreading_render_passes.a
[ 47%] Built target multithreading_render_passes
[ 47%] Building CXX object samples/performance/multi_draw_indirect/CMakeFiles/multi_draw_indirect.dir/multi_draw_indirect.cpp.o
[ 47%] Linking CXX static library lib/Release/x86_64/libmulti_draw_indirect.a
[ 47%] Built target multi_draw_indirect
[ 48%] Building CXX object samples/performance/msaa/CMakeFiles/msaa.dir/msaa.cpp.o
[ 48%] Linking CXX static library lib/Release/x86_64/libmsaa.a
[ 48%] Built target msaa
[ 48%] Building CXX object samples/performance/layout_transitions/CMakeFiles/layout_transitions.dir/layout_transitions.cpp.o
[ 48%] Linking CXX static library lib/Release/x86_64/liblayout_transitions.a
[ 48%] Built target layout_transitions
[ 49%] Building CXX object samples/performance/descriptor_management/CMakeFiles/descriptor_management.dir/descriptor_management.cpp.o
[ 49%] Linking CXX static library lib/Release/x86_64/libdescriptor_management.a
[ 49%] Built target descriptor_management
[ 49%] Building CXX object samples/performance/constant_data/CMakeFiles/constant_data.dir/constant_data.cpp.o
[ 49%] Linking CXX static library lib/Release/x86_64/libconstant_data.a
[ 49%] Built target constant_data
[ 49%] Building CXX object samples/performance/command_buffer_usage/CMakeFiles/command_buffer_usage.dir/command_buffer_usage.cpp.o
[ 49%] Linking CXX static library lib/Release/x86_64/libcommand_buffer_usage.a
[ 49%] Built target command_buffer_usage
[ 49%] Building CXX object samples/performance/async_compute/CMakeFiles/async_compute.dir/async_compute.cpp.o
[ 49%] Linking CXX static library lib/Release/x86_64/libasync_compute.a
[ 49%] Built target async_compute
[ 50%] Building CXX object samples/performance/afbc/CMakeFiles/afbc.dir/afbc.cpp.o
[ 50%] Linking CXX static library lib/Release/x86_64/libafbc.a
[ 50%] Built target afbc
[ 50%] Building CXX object samples/performance/16bit_storage_input_output/CMakeFiles/16bit_storage_input_output.dir/16bit_storage_input_output.cpp.o
[ 50%] Linking CXX static library lib/Release/x86_64/lib16bit_storage_input_output.a
[ 50%] Built target 16bit_storage_input_output
[ 50%] Building CXX object samples/performance/16bit_arithmetic/CMakeFiles/16bit_arithmetic.dir/16bit_arithmetic.cpp.o
[ 50%] Linking CXX static library lib/Release/x86_64/lib16bit_arithmetic.a
[ 50%] Built target 16bit_arithmetic
[ 50%] Building CXX object samples/extensions/timeline_semaphore/CMakeFiles/timeline_semaphore.dir/timeline_semaphore.cpp.o
[ 50%] Linking CXX static library lib/Release/x86_64/libtimeline_semaphore.a
[ 50%] Built target timeline_semaphore
[ 50%] Building CXX object samples/extensions/synchronization_2/CMakeFiles/synchronization_2.dir/synchronization_2.cpp.o
[ 50%] Linking CXX static library lib/Release/x86_64/libsynchronization_2.a
[ 50%] Built target synchronization_2
[ 51%] Building CXX object samples/extensions/raytracing_extended/CMakeFiles/raytracing_extended.dir/raytracing_extended.cpp.o
[ 51%] Linking CXX static library lib/Release/x86_64/libraytracing_extended.a
[ 51%] Built target raytracing_extended
[ 51%] Building CXX object samples/extensions/raytracing_basic/CMakeFiles/raytracing_basic.dir/raytracing_basic.cpp.o
[ 51%] Linking CXX static library lib/Release/x86_64/libraytracing_basic.a
[ 51%] Built target raytracing_basic
[ 52%] Building CXX object samples/extensions/ray_tracing_reflection/CMakeFiles/ray_tracing_reflection.dir/ray_tracing_reflection.cpp.o
[ 52%] Linking CXX static library lib/Release/x86_64/libray_tracing_reflection.a
[ 52%] Built target ray_tracing_reflection
[ 52%] Building CXX object samples/extensions/ray_queries/CMakeFiles/ray_queries.dir/ray_queries.cpp.o
[ 52%] Linking CXX static library lib/Release/x86_64/libray_queries.a
[ 52%] Built target ray_queries
[ 53%] Building CXX object samples/extensions/push_descriptors/CMakeFiles/push_descriptors.dir/push_descriptors.cpp.o
[ 53%] Linking CXX static library lib/Release/x86_64/libpush_descriptors.a
[ 53%] Built target push_descriptors
[ 54%] Building CXX object samples/extensions/portability/CMakeFiles/portability.dir/portability.cpp.o
[ 54%] Linking CXX static library lib/Release/x86_64/libportability.a
[ 54%] Built target portability
[ 54%] Building CXX object samples/extensions/open_gl_interop/CMakeFiles/open_gl_interop.dir/open_gl_interop.cpp.o
[ 54%] Building CXX object samples/extensions/open_gl_interop/CMakeFiles/open_gl_interop.dir/offscreen_context.cpp.o
[ 55%] Linking CXX static library lib/Release/x86_64/libopen_gl_interop.a
[ 55%] Built target open_gl_interop
[ 55%] Building CXX object samples/extensions/graphics_pipeline_library/CMakeFiles/graphics_pipeline_library.dir/graphics_pipeline_library.cpp.o
[ 55%] Linking CXX static library lib/Release/x86_64/libgraphics_pipeline_library.a
[ 55%] Built target graphics_pipeline_library
[ 56%] Building CXX object samples/extensions/fragment_shading_rate_dynamic/CMakeFiles/fragment_shading_rate_dynamic.dir/fragment_shading_rate_dynamic.cpp.o
[ 56%] Linking CXX static library lib/Release/x86_64/libfragment_shading_rate_dynamic.a
[ 56%] Built target fragment_shading_rate_dynamic
[ 56%] Building CXX object samples/extensions/fragment_shading_rate/CMakeFiles/fragment_shading_rate.dir/fragment_shading_rate.cpp.o
[ 56%] Linking CXX static library lib/Release/x86_64/libfragment_shading_rate.a
[ 56%] Built target fragment_shading_rate
[ 56%] Building CXX object samples/extensions/dynamic_rendering/CMakeFiles/dynamic_rendering.dir/dynamic_rendering.cpp.o
[ 56%] Linking CXX static library lib/Release/x86_64/libdynamic_rendering.a
[ 56%] Built target dynamic_rendering
[ 56%] Building CXX object samples/extensions/descriptor_indexing/CMakeFiles/descriptor_indexing.dir/descriptor_indexing.cpp.o
[ 56%] Linking CXX static library lib/Release/x86_64/libdescriptor_indexing.a
[ 56%] Built target descriptor_indexing
[ 57%] Building CXX object samples/extensions/debug_utils/CMakeFiles/debug_utils.dir/debug_utils.cpp.o
[ 57%] Linking CXX static library lib/Release/x86_64/libdebug_utils.a
[ 57%] Built target debug_utils
[ 58%] Building CXX object samples/extensions/conservative_rasterization/CMakeFiles/conservative_rasterization.dir/conservative_rasterization.cpp.o
[ 58%] Linking CXX static library lib/Release/x86_64/libconservative_rasterization.a
[ 58%] Built target conservative_rasterization
[ 58%] Building CXX object samples/extensions/conditional_rendering/CMakeFiles/conditional_rendering.dir/conditional_rendering.cpp.o
[ 58%] Linking CXX static library lib/Release/x86_64/libconditional_rendering.a
[ 58%] Built target conditional_rendering
[ 60%] Building CXX object samples/extensions/buffer_device_address/CMakeFiles/buffer_device_address.dir/buffer_device_address.cpp.o
[ 60%] Linking CXX static library lib/Release/x86_64/libbuffer_device_address.a
[ 60%] Built target buffer_device_address
[ 60%] Building CXX object samples/api/texture_mipmap_generation/CMakeFiles/texture_mipmap_generation.dir/texture_mipmap_generation.cpp.o
[ 61%] Linking CXX static library lib/Release/x86_64/libtexture_mipmap_generation.a
[ 61%] Built target texture_mipmap_generation
[ 61%] Building CXX object samples/api/texture_loading/CMakeFiles/texture_loading.dir/texture_loading.cpp.o
[ 61%] Linking CXX static library lib/Release/x86_64/libtexture_loading.a
[ 61%] Built target texture_loading
[ 61%] Building CXX object samples/api/terrain_tessellation/CMakeFiles/terrain_tessellation.dir/terrain_tessellation.cpp.o
[ 62%] Linking CXX static library lib/Release/x86_64/libterrain_tessellation.a
[ 62%] Built target terrain_tessellation
[ 63%] Building CXX object samples/api/separate_image_sampler/CMakeFiles/separate_image_sampler.dir/separate_image_sampler.cpp.o
[ 63%] Linking CXX static library lib/Release/x86_64/libseparate_image_sampler.a
[ 63%] Built target separate_image_sampler
[ 63%] Building CXX object samples/api/instancing/CMakeFiles/instancing.dir/instancing.cpp.o
[ 63%] Linking CXX static library lib/Release/x86_64/libinstancing.a
[ 63%] Built target instancing
[ 63%] Building CXX object samples/api/hpp_texture_loading/CMakeFiles/hpp_texture_loading.dir/hpp_texture_loading.cpp.o
[ 63%] Linking CXX static library lib/Release/x86_64/libhpp_texture_loading.a
[ 63%] Built target hpp_texture_loading
[ 63%] Building CXX object samples/api/hpp_terrain_tessellation/CMakeFiles/hpp_terrain_tessellation.dir/hpp_terrain_tessellation.cpp.o
[ 64%] Linking CXX static library lib/Release/x86_64/libhpp_terrain_tessellation.a
[ 64%] Built target hpp_terrain_tessellation
[ 64%] Building CXX object samples/api/hpp_instancing/CMakeFiles/hpp_instancing.dir/hpp_instancing.cpp.o
[ 64%] Linking CXX static library lib/Release/x86_64/libhpp_instancing.a
[ 64%] Built target hpp_instancing
[ 64%] Building CXX object samples/api/hpp_hello_triangle/CMakeFiles/hpp_hello_triangle.dir/hpp_hello_triangle.cpp.o
[ 65%] Linking CXX static library lib/Release/x86_64/libhpp_hello_triangle.a
[ 65%] Built target hpp_hello_triangle
[ 65%] Building CXX object samples/api/hpp_hdr/CMakeFiles/hpp_hdr.dir/hpp_hdr.cpp.o
[ 65%] Linking CXX static library lib/Release/x86_64/libhpp_hdr.a
[ 65%] Built target hpp_hdr
[ 65%] Building CXX object samples/api/hpp_dynamic_uniform_buffers/CMakeFiles/hpp_dynamic_uniform_buffers.dir/hpp_dynamic_uniform_buffers.cpp.o
[ 66%] Linking CXX static library lib/Release/x86_64/libhpp_dynamic_uniform_buffers.a
[ 66%] Built target hpp_dynamic_uniform_buffers
[ 66%] Building CXX object samples/api/hpp_compute_nbody/CMakeFiles/hpp_compute_nbody.dir/hpp_compute_nbody.cpp.o
[ 66%] Linking CXX static library lib/Release/x86_64/libhpp_compute_nbody.a
[ 66%] Built target hpp_compute_nbody
[ 66%] Building CXX object samples/api/hlsl_shaders/CMakeFiles/hlsl_shaders.dir/hlsl_shaders.cpp.o
[ 67%] Linking CXX static library lib/Release/x86_64/libhlsl_shaders.a
[ 67%] Built target hlsl_shaders
[ 67%] Building CXX object samples/api/hello_triangle/CMakeFiles/hello_triangle.dir/hello_triangle.cpp.o
[ 67%] Linking CXX static library lib/Release/x86_64/libhello_triangle.a
[ 67%] Built target hello_triangle
[ 67%] Building CXX object samples/api/hdr/CMakeFiles/hdr.dir/hdr.cpp.o
[ 68%] Linking CXX static library lib/Release/x86_64/libhdr.a
[ 68%] Built target hdr
[ 69%] Building CXX object samples/api/dynamic_uniform_buffers/CMakeFiles/dynamic_uniform_buffers.dir/dynamic_uniform_buffers.cpp.o
[ 69%] Linking CXX static library lib/Release/x86_64/libdynamic_uniform_buffers.a
[ 69%] Built target dynamic_uniform_buffers
[ 70%] Building CXX object samples/api/compute_nbody/CMakeFiles/compute_nbody.dir/compute_nbody.cpp.o
[ 70%] Linking CXX static library lib/Release/x86_64/libcompute_nbody.a
[ 70%] Built target compute_nbody
[ 70%] Building CXX object framework/CMakeFiles/framework.dir/platform/headless_window.cpp.o
[ 70%] Building CXX object framework/CMakeFiles/framework.dir/platform/application.cpp.o
[ 71%] Building CXX object framework/CMakeFiles/framework.dir/platform/window.cpp.o
[ 71%] Building CXX object framework/CMakeFiles/framework.dir/platform/platform.cpp.o
[ 71%] Building CXX object framework/CMakeFiles/framework.dir/platform/filesystem.cpp.o
[ 71%] Building CXX object framework/CMakeFiles/framework.dir/platform/input_events.cpp.o
[ 72%] Building CXX object framework/CMakeFiles/framework.dir/platform/configuration.cpp.o
[ 72%] Building CXX object framework/CMakeFiles/framework.dir/platform/parser.cpp.o
[ 72%] Building CXX object framework/CMakeFiles/framework.dir/platform/plugins/plugin.cpp.o
[ 72%] Building CXX object framework/CMakeFiles/framework.dir/platform/parsers/CLI11.cpp.o
[ 73%] Building CXX object framework/CMakeFiles/framework.dir/platform/parsers/help_formatter.cpp.o
[ 73%] Building CXX object framework/CMakeFiles/framework.dir/common/error.cpp.o
[ 73%] Building CXX object framework/CMakeFiles/framework.dir/common/vk_common.cpp.o
[ 73%] Building CXX object framework/CMakeFiles/framework.dir/common/utils.cpp.o
[ 74%] Building CXX object framework/CMakeFiles/framework.dir/common/strings.cpp.o
[ 74%] Building CXX object framework/CMakeFiles/framework.dir/gui.cpp.o
[ 74%] Building CXX object framework/CMakeFiles/framework.dir/glsl_compiler.cpp.o
[ 74%] Building CXX object framework/CMakeFiles/framework.dir/spirv_reflection.cpp.o
[ 75%] Building CXX object framework/CMakeFiles/framework.dir/gltf_loader.cpp.o
[ 75%] Building CXX object framework/CMakeFiles/framework.dir/debug_info.cpp.o
[ 75%] Building CXX object framework/CMakeFiles/framework.dir/buffer_pool.cpp.o
[ 75%] Building CXX object framework/CMakeFiles/framework.dir/fence_pool.cpp.o
[ 76%] Building CXX object framework/CMakeFiles/framework.dir/heightmap.cpp.o
[ 76%] Building CXX object framework/CMakeFiles/framework.dir/semaphore_pool.cpp.o
[ 76%] Building CXX object framework/CMakeFiles/framework.dir/resource_binding_state.cpp.o
[ 76%] Building CXX object framework/CMakeFiles/framework.dir/resource_cache.cpp.o
[ 77%] Building CXX object framework/CMakeFiles/framework.dir/resource_record.cpp.o
[ 77%] Building CXX object framework/CMakeFiles/framework.dir/resource_replay.cpp.o
[ 77%] Building CXX object framework/CMakeFiles/framework.dir/vulkan_sample.cpp.o
[ 77%] Building CXX object framework/CMakeFiles/framework.dir/api_vulkan_sample.cpp.o
[ 78%] Building CXX object framework/CMakeFiles/framework.dir/timer.cpp.o
[ 78%] Building CXX object framework/CMakeFiles/framework.dir/camera.cpp.o
[ 78%] Building CXX object framework/CMakeFiles/framework.dir/hpp_api_vulkan_sample.cpp.o
[ 78%] Building CXX object framework/CMakeFiles/framework.dir/hpp_vulkan_sample.cpp.o
[ 80%] Building CXX object framework/CMakeFiles/framework.dir/core/instance.cpp.o
[ 80%] Building CXX object framework/CMakeFiles/framework.dir/core/physical_device.cpp.o
[ 80%] Building CXX object framework/CMakeFiles/framework.dir/core/device.cpp.o
[ 80%] Building CXX object framework/CMakeFiles/framework.dir/core/debug.cpp.o
[ 81%] Building CXX object framework/CMakeFiles/framework.dir/core/image.cpp.o
[ 81%] Building CXX object framework/CMakeFiles/framework.dir/core/shader_module.cpp.o
[ 81%] Building CXX object framework/CMakeFiles/framework.dir/core/pipeline_layout.cpp.o
[ 81%] Building CXX object framework/CMakeFiles/framework.dir/core/pipeline.cpp.o
[ 82%] Building CXX object framework/CMakeFiles/framework.dir/core/descriptor_set_layout.cpp.o
[ 82%] Building CXX object framework/CMakeFiles/framework.dir/core/descriptor_pool.cpp.o
[ 82%] Building CXX object framework/CMakeFiles/framework.dir/core/descriptor_set.cpp.o
[ 82%] Building CXX object framework/CMakeFiles/framework.dir/core/queue.cpp.o
[ 83%] Building CXX object framework/CMakeFiles/framework.dir/core/command_pool.cpp.o
[ 83%] Building CXX object framework/CMakeFiles/framework.dir/core/swapchain.cpp.o
[ 83%] Building CXX object framework/CMakeFiles/framework.dir/core/command_buffer.cpp.o
[ 83%] Building CXX object framework/CMakeFiles/framework.dir/core/buffer.cpp.o
[ 84%] Building CXX object framework/CMakeFiles/framework.dir/core/image_view.cpp.o
[ 84%] Building CXX object framework/CMakeFiles/framework.dir/core/sampled_image.cpp.o
[ 84%] Building CXX object framework/CMakeFiles/framework.dir/core/sampler.cpp.o
[ 84%] Building CXX object framework/CMakeFiles/framework.dir/core/framebuffer.cpp.o
[ 85%] Building CXX object framework/CMakeFiles/framework.dir/core/render_pass.cpp.o
[ 85%] Building CXX object framework/CMakeFiles/framework.dir/core/query_pool.cpp.o
[ 85%] Building CXX object framework/CMakeFiles/framework.dir/core/scratch_buffer.cpp.o
[ 85%] Building CXX object framework/CMakeFiles/framework.dir/core/acceleration_structure.cpp.o
[ 86%] Building CXX object framework/CMakeFiles/framework.dir/core/shader_binding_table.cpp.o
[ 86%] Building CXX object framework/CMakeFiles/framework.dir/core/vulkan_resource.cpp.o
[ 86%] Building CXX object framework/CMakeFiles/framework.dir/core/hpp_device.cpp.o
[ 86%] Building CXX object framework/CMakeFiles/framework.dir/core/hpp_instance.cpp.o
[ 87%] Building CXX object framework/CMakeFiles/framework.dir/core/hpp_physical_device.cpp.o
[ 87%] Building CXX object framework/CMakeFiles/framework.dir/core/hpp_vulkan_resource.cpp.o
[ 87%] Building CXX object framework/CMakeFiles/framework.dir/geometry/frustum.cpp.o
[ 87%] Building CXX object framework/CMakeFiles/framework.dir/rendering/pipeline_state.cpp.o
[ 88%] Building CXX object framework/CMakeFiles/framework.dir/rendering/postprocessing_pipeline.cpp.o
[ 88%] Building CXX object framework/CMakeFiles/framework.dir/rendering/postprocessing_pass.cpp.o
[ 88%] Building CXX object framework/CMakeFiles/framework.dir/rendering/postprocessing_renderpass.cpp.o
[ 88%] Building CXX object framework/CMakeFiles/framework.dir/rendering/postprocessing_computepass.cpp.o
[ 89%] Building CXX object framework/CMakeFiles/framework.dir/rendering/render_context.cpp.o
[ 89%] Building CXX object framework/CMakeFiles/framework.dir/rendering/render_frame.cpp.o
[ 89%] Building CXX object framework/CMakeFiles/framework.dir/rendering/render_pipeline.cpp.o
[ 89%] Building CXX object framework/CMakeFiles/framework.dir/rendering/render_target.cpp.o
[ 90%] Building CXX object framework/CMakeFiles/framework.dir/rendering/subpass.cpp.o
[ 90%] Building CXX object framework/CMakeFiles/framework.dir/rendering/subpasses/forward_subpass.cpp.o
[ 90%] Building CXX object framework/CMakeFiles/framework.dir/rendering/subpasses/lighting_subpass.cpp.o
[ 90%] Building CXX object framework/CMakeFiles/framework.dir/rendering/subpasses/geometry_subpass.cpp.o
[ 91%] Building CXX object framework/CMakeFiles/framework.dir/scene_graph/component.cpp.o
[ 91%] Building CXX object framework/CMakeFiles/framework.dir/scene_graph/node.cpp.o
[ 91%] Building CXX object framework/CMakeFiles/framework.dir/scene_graph/scene.cpp.o
[ 91%] Building CXX object framework/CMakeFiles/framework.dir/scene_graph/script.cpp.o
[ 92%] Building CXX object framework/CMakeFiles/framework.dir/scene_graph/components/aabb.cpp.o
[ 92%] Building CXX object framework/CMakeFiles/framework.dir/scene_graph/components/camera.cpp.o
[ 92%] Building CXX object framework/CMakeFiles/framework.dir/scene_graph/components/perspective_camera.cpp.o
[ 92%] Building CXX object framework/CMakeFiles/framework.dir/scene_graph/components/orthographic_camera.cpp.o
[ 93%] Building CXX object framework/CMakeFiles/framework.dir/scene_graph/components/image.cpp.o
[ 93%] Building CXX object framework/CMakeFiles/framework.dir/scene_graph/components/light.cpp.o
[ 93%] Building CXX object framework/CMakeFiles/framework.dir/scene_graph/components/material.cpp.o
[ 93%] Building CXX object framework/CMakeFiles/framework.dir/scene_graph/components/mesh.cpp.o
[ 94%] Building CXX object framework/CMakeFiles/framework.dir/scene_graph/components/pbr_material.cpp.o
[ 94%] Building CXX object framework/CMakeFiles/framework.dir/scene_graph/components/sampler.cpp.o
[ 94%] Building CXX object framework/CMakeFiles/framework.dir/scene_graph/components/sub_mesh.cpp.o
[ 94%] Building CXX object framework/CMakeFiles/framework.dir/scene_graph/components/texture.cpp.o
[ 95%] Building CXX object framework/CMakeFiles/framework.dir/scene_graph/components/transform.cpp.o
[ 95%] Building CXX object framework/CMakeFiles/framework.dir/scene_graph/components/image/astc.cpp.o
[ 95%] Building CXX object framework/CMakeFiles/framework.dir/scene_graph/components/image/ktx.cpp.o
[ 95%] Building CXX object framework/CMakeFiles/framework.dir/scene_graph/components/image/stb.cpp.o
[ 96%] Building CXX object framework/CMakeFiles/framework.dir/scene_graph/scripts/free_camera.cpp.o
[ 96%] Building CXX object framework/CMakeFiles/framework.dir/scene_graph/scripts/node_animation.cpp.o
[ 96%] Building CXX object framework/CMakeFiles/framework.dir/scene_graph/scripts/animation.cpp.o
[ 96%] Building CXX object framework/CMakeFiles/framework.dir/stats/stats.cpp.o
[ 97%] Building CXX object framework/CMakeFiles/framework.dir/stats/stats_provider.cpp.o
[ 97%] Building CXX object framework/CMakeFiles/framework.dir/stats/frame_time_stats_provider.cpp.o
[ 97%] Building CXX object framework/CMakeFiles/framework.dir/stats/hwcpipe_stats_provider.cpp.o
[ 97%] Building CXX object framework/CMakeFiles/framework.dir/stats/vulkan_stats_provider.cpp.o
[ 98%] Building CXX object framework/CMakeFiles/framework.dir/graphing/graph.cpp.o
[ 98%] Building CXX object framework/CMakeFiles/framework.dir/graphing/graph_node.cpp.o
[ 98%] Building CXX object framework/CMakeFiles/framework.dir/graphing/scene_graph.cpp.o
[ 98%] Building CXX object framework/CMakeFiles/framework.dir/graphing/framework_graph.cpp.o
[100%] Building CXX object framework/CMakeFiles/framework.dir/platform/glfw_window.cpp.o
[100%] Building CXX object framework/CMakeFiles/framework.dir/platform/unix/unix_platform.cpp.o
[100%] Linking CXX static library lib/Release/x86_64/libframework.a
[100%] Built target framework
[100%] Building CXX object app/CMakeFiles/vulkan_samples.dir/main.cpp.o
[100%] Linking CXX executable bin/Release/x86_64/vulkan_samples
[100%] Built target vulkan_samples
% build/mac/app/bin/Release/x86_64/vulkan_samples sample hdr
[info] Logger initialized
[info] Initializing Vulkan sample
[info] Vulkan debug utils enabled (VK_EXT_debug_utils)
[info] Extension VK_KHR_get_physical_device_properties2 found, enabling it
[info] Extension VK_EXT_metal_surface found, enabling it
[info] Extension VK_EXT_debug_utils found, enabling it
[info] Enabled Validation Layers:
[error] [framework/platform/platform.cpp:149] Error Message: Could not create Vulkan instance : ERROR_INCOMPATIBLE_DRIVER
[error] [framework/platform/platform.cpp:150] Failed when running application hdr
Press any key to continue
% git status
On branch Auto_enable_VKB_ENABLE_PORTABILITY
Your branch is up to date with 'origin/Auto_enable_VKB_ENABLE_PORTABILITY'.
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: assets (new commits)
no changes added to commit (use "git add" and/or "git commit -a")
Hmm... This would point it it not working. Let's try a test if you wouldn't mind (sadly I'm currently without my OSX laptop to test with so am taking you up on your offer to help diagnose). Could you add the following in buildsys/cmake/global_options.cmake:
line 35 add this: message(FATAL_ERROR "I should break the build here");
Then try to run cmake. It shouldn't be able to generate a build let alone run the build command. Once that's verified, please move that line into the true and then false part of the if statement on line 40 and 42 of same file. If CMake is indeed setting VKB_ENABLE_PORTABILITY then this will require a bit more of a think from me however, I'm still hung up on wondering if that option is getting set for you and would really like to see it break in an expected way to validate that CMake is working correctly.
I wish I could give you good news, but at least I can reassure that I'm willing to help!
I did as you requested and VKB_ENABLE_PORTABILITY is getting set. I moved the break after that line:
if(APPLE)
# attempt to use Find_Vulkan at least of version 1.3 or greater. If this is found, then enable the required portability extension so instance.cpp can get created correctly.
# prior to 1.3 Find_Vulkan should not return a Vulkan_FOUND variable, so should not set an extension that doesn't exist in legacy Vulkan.
# Note that this is only required for moltenVK implementations.
find_package(Vulkan 1.3)
if(Vulkan_FOUND)
set(VKB_ENABLE_PORTABILITY ON CACHE BOOL "Enable portability extension enumeration in the framework. This is required to be set if running MoltenVK and Vulkan 1.3+")
message(FATAL_ERROR "I should break the build here");
else()
set(VKB_ENABLE_PORTABILITY OFF CACHE BOOL "Enable portability extension enumeration in the framework. This is required to be off if running Vulkan less than 1.3")
endif()
endif()
Here is the console output:
% cmake -H. -Bbuild/mac -DCMAKE_BUILD_TYPE=Release
CMake Error at bldsys/cmake/global_options.cmake:41:
Parse error. Expected a command name, got unquoted argument with text ";".
Call Stack (most recent call first):
CMakeLists.txt:43 (include)
-- Configuring incomplete, errors occurred!
Line 43 is the message
That's great news! Sorry for the extra ';' in that message statement. I like it when CMake does the thing it's supposed to do. Now to figure out why enabling portability didn't fix it for you.
Could you place a breakpoint or print statement in the define check at line 337 in framework/core/instance.cpp
If that gets hit then it isn't caused by CMake and must be a bug in something deeper.
@gpx1000 Sorry about the delay--just got back to this... I made this code change:
#if (defined(VKB_ENABLE_PORTABILITY))
std::cout << "Hit line 337!" << std::endl;
instance_info.flags |= VK_INSTANCE_CREATE_ENUMERATE_PORTABILITY_BIT_KHR;
#else
std::cout << "Did not hit line 337!" << std::endl;
#endif
and it doesn't look like VKB_ENABLE_PORTABILITY is getting set:
Consolidate compiler generated dependencies of target framework
[ 71%] Building CXX object framework/CMakeFiles/framework.dir/core/instance.cpp.o
[ 71%] Linking CXX static library lib/Release/x86_64/libframework.a
[100%] Built target framework
Consolidate compiler generated dependencies of target vulkan_samples
[100%] Linking CXX executable bin/Release/x86_64/vulkan_samples
[100%] Built target vulkan_samples
% build/mac/app/bin/Release/x86_64/vulkan_samples sample hdr
[info] Logger initialized
[info] Initializing Vulkan sample
[info] Vulkan debug utils enabled (VK_EXT_debug_utils)
[info] Extension VK_KHR_get_physical_device_properties2 found, enabling it
[info] Extension VK_EXT_metal_surface found, enabling it
[info] Extension VK_EXT_debug_utils found, enabling it
[info] Enabled Validation Layers:
Did not hit line 337!
[error] [framework/platform/platform.cpp:149] Error Message: Could not create Vulkan instance : ERROR_INCOMPATIBLE_DRIVER
[error] [framework/platform/platform.cpp:150] Failed when running application hdr
Think I figured it out.
Was setting the option to on but wasn't explicitly setting the compile define if that option is on. Grab the latest and please confirm that this is indeed the fix and it's working for you.
Hum... this branch, right?
% git status
On branch Auto_enable_VKB_ENABLE_PORTABILITY
Your branch is up to date with 'origin/Auto_enable_VKB_ENABLE_PORTABILITY'.
I pulled latest, deleted my old build directory, then cmake and cmake build, but I still get the same error. 😞
% build/mac/app/bin/Release/x86_64/vulkan_samples sample hdr
[info] Logger initialized
[info] Initializing Vulkan sample
[info] Vulkan debug utils enabled (VK_EXT_debug_utils)
[info] Extension VK_KHR_get_physical_device_properties2 found, enabling it
[info] Extension VK_EXT_metal_surface found, enabling it
[info] Extension VK_EXT_debug_utils found, enabling it
[info] Enabled Validation Layers:
[error] [framework/platform/platform.cpp:149] Error Message: Could not create Vulkan instance : ERROR_INCOMPATIBLE_DRIVER
[error] [framework/platform/platform.cpp:150] Failed when running application hdr
Okay, could you see if VKB_ENABLE_PORTABILITY in CMakeCache.txt is On? It's gonna be in your build folder. If it's Off flip it to on and retry. Then if it all works, delete the build directory and generate the cache again. Also look for "Vulkan Portability extension is enabled" is displayed when you first generate your CMake project.
Unfortunately, it's on...
% pwd
github/gpx1000/Vulkan-Samples/build/mac
% grep "VKB_ENABLE_PORT" CMakeCache.txt
VKB_ENABLE_PORTABILITY:BOOL=ON
Try running: cmake --just-print
What we're looking for is the compile line for the framework instance. It should have -DVKB_ENABLE_PORTABILITY somewhere in it.
That command didn't work, but here's the full cmake and build output:
% cmake -H. -Bbuild/mac -DCMAKE_BUILD_TYPE=Release
-- The C compiler identification is AppleClang 13.1.6.13160021
-- The CXX compiler identification is AppleClang 13.1.6.13160021
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Vulkan: /usr/local/lib/libvulkan.dylib (found suitable version "1.3.216", minimum required is "1.3")
-- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB
-- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB - Success
-- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB
-- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB - Success
CMake Warning (dev) at /usr/local/Cellar/cmake/3.23.2/share/cmake/Modules/CMakeDependentOption.cmake:75 (option):
Policy CMP0077 is not set: option() honors normal variables. Run "cmake
--help-policy CMP0077" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
For compatibility with older versions of CMake, option is clearing the
normal variable 'ENABLE_HLSL'.
Call Stack (most recent call first):
third_party/glslang/CMakeLists.txt:101 (CMAKE_DEPENDENT_OPTION)
This warning is for project developers. Use -Wno-dev to suppress it.
-- spirv-tools not linked - illegal SPIRV may be generated for HLSL
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
CMake Deprecation Warning at third_party/spirv-cross/CMakeLists.txt:15 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- Found PythonInterp: /opt/miniconda3/bin/python (found version "3.9.5")
-- Using Cocoa for window creation
-- Build type: Release
-- Found Doxygen: /usr/local/bin/doxygen (found version "1.9.4") found components: doxygen dot
CMake Warning (dev) at /usr/local/Cellar/cmake/3.23.2/share/cmake/Modules/CMakeDependentOption.cmake:89 (message):
Policy CMP0127 is not set: cmake_dependent_option() supports full Condition
Syntax. Run "cmake --help-policy CMP0127" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
third_party/cli11/CMakeLists.txt:66 (cmake_dependent_option)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at /usr/local/Cellar/cmake/3.23.2/share/cmake/Modules/CMakeDependentOption.cmake:89 (message):
Policy CMP0127 is not set: cmake_dependent_option() supports full Condition
Syntax. Run "cmake --help-policy CMP0127" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
third_party/cli11/CMakeLists.txt:70 (cmake_dependent_option)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at /usr/local/Cellar/cmake/3.23.2/share/cmake/Modules/CMakeDependentOption.cmake:89 (message):
Policy CMP0127 is not set: cmake_dependent_option() supports full Condition
Syntax. Run "cmake --help-policy CMP0127" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
third_party/cli11/CMakeLists.txt:82 (cmake_dependent_option)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at /usr/local/Cellar/cmake/3.23.2/share/cmake/Modules/CMakeDependentOption.cmake:89 (message):
Policy CMP0127 is not set: cmake_dependent_option() supports full Condition
Syntax. Run "cmake --help-policy CMP0127" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
third_party/cli11/CMakeLists.txt:94 (cmake_dependent_option)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at /usr/local/Cellar/cmake/3.23.2/share/cmake/Modules/CMakeDependentOption.cmake:89 (message):
Policy CMP0127 is not set: cmake_dependent_option() supports full Condition
Syntax. Run "cmake --help-policy CMP0127" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
third_party/cli11/CMakeLists.txt:102 (cmake_dependent_option)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Unix platform detected
-- Vulkan Portability extension is enabled
-- Warnings as Errors Enabled
-- Sample `compute_nbody` - BUILD
-- Sample `dynamic_uniform_buffers` - BUILD
-- Sample `hdr` - BUILD
-- Sample `hello_triangle` - BUILD
-- Sample `hlsl_shaders` - BUILD
-- Sample `hpp_compute_nbody` - BUILD
-- Sample `hpp_dynamic_uniform_buffers` - BUILD
-- Sample `hpp_hdr` - BUILD
-- Sample `hpp_hello_triangle` - BUILD
-- Sample `hpp_instancing` - BUILD
-- Sample `hpp_terrain_tessellation` - BUILD
-- Sample `hpp_texture_loading` - BUILD
-- Sample `instancing` - BUILD
-- Sample `separate_image_sampler` - BUILD
-- Sample `terrain_tessellation` - BUILD
-- Sample `texture_loading` - BUILD
-- Sample `texture_mipmap_generation` - BUILD
-- Sample `buffer_device_address` - BUILD
-- Sample `conditional_rendering` - BUILD
-- Sample `conservative_rasterization` - BUILD
-- Sample `debug_utils` - BUILD
-- Sample `descriptor_indexing` - BUILD
-- Sample `dynamic_rendering` - BUILD
-- Sample `fragment_shading_rate` - BUILD
-- Sample `fragment_shading_rate_dynamic` - BUILD
-- Sample `graphics_pipeline_library` - BUILD
-- Sample `open_gl_interop` - BUILD
-- Sample `portability` - BUILD
-- Sample `push_descriptors` - BUILD
-- Sample `ray_queries` - BUILD
-- Sample `ray_tracing_reflection` - BUILD
-- Sample `raytracing_basic` - BUILD
-- Sample `raytracing_extended` - BUILD
-- Sample `synchronization_2` - BUILD
-- Sample `timeline_semaphore` - BUILD
-- Sample `16bit_arithmetic` - BUILD
-- Sample `16bit_storage_input_output` - BUILD
-- Sample `afbc` - BUILD
-- Sample `async_compute` - BUILD
-- Sample `command_buffer_usage` - BUILD
-- Sample `constant_data` - BUILD
-- Sample `descriptor_management` - BUILD
-- Sample `layout_transitions` - BUILD
-- Sample `msaa` - BUILD
-- Sample `multi_draw_indirect` - BUILD
-- Sample `multithreading_render_passes` - BUILD
-- Sample `pipeline_barriers` - BUILD
-- Sample `pipeline_cache` - BUILD
-- Sample `render_passes` - BUILD
-- Sample `specialization_constants` - BUILD
-- Sample `subpasses` - BUILD
-- Sample `surface_rotation` - BUILD
-- Sample `swapchain_images` - BUILD
-- Sample `texture_compression_basisu` - BUILD
-- Sample `texture_compression_comparison` - BUILD
-- Sample `wait_idle` - BUILD
-- Sample `profiles` - BUILD
-- Plugin `batch_mode` - BUILD
-- Plugin `benchmark_mode` - BUILD
-- Plugin `file_logger` - BUILD
-- Plugin `force_close` - BUILD
-- Plugin `fps_logger` - BUILD
-- Plugin `screenshot` - BUILD
-- Plugin `start_sample` - BUILD
-- Plugin `stop_after` - BUILD
-- Plugin `window_options` - BUILD
-- Configuring done
-- Generating done
-- Build files have been written to: /github/gpx1000/Vulkan-Samples/build/mac
% cmake --build build/mac --config Release --target vulkan_samples -- -j4
[ 0%] Building C object third_party/CMakeFiles/volk.dir/volk/volk.c.o
[ 0%] Building C object samples/extensions/open_gl_interop/CMakeFiles/glad.dir/third_party/glad/src/glad.c.o
[ 0%] Building CXX object third_party/CMakeFiles/imgui.dir/imgui/imgui.cpp.o
[ 1%] Building C object third_party/CMakeFiles/ktx.dir/ktx/lib/checkheader.c.o
[ 1%] Building C object third_party/CMakeFiles/ktx.dir/ktx/lib/dfdutils/createdfd.c.o
[ 1%] Building C object third_party/CMakeFiles/ktx.dir/ktx/lib/dfdutils/colourspaces.c.o
[ 2%] Linking C static library lib/Release/x86_64/libvolk.a
[ 2%] Building C object third_party/CMakeFiles/ktx.dir/ktx/lib/dfdutils/interpretdfd.c.o
[ 2%] Built target volk
[ 2%] Building CXX object third_party/CMakeFiles/glslang-default-resource-limits.dir/glslang/StandAlone/ResourceLimits.cpp.o
[ 3%] Building C object third_party/CMakeFiles/ktx.dir/ktx/lib/dfdutils/printdfd.c.o
[ 3%] Building C object third_party/CMakeFiles/ktx.dir/ktx/lib/dfdutils/queries.c.o
[ 3%] Building C object third_party/CMakeFiles/ktx.dir/ktx/lib/dfdutils/vk2dfd.c.o
[ 4%] Linking C static library lib/Release/x86_64/libglad.a
[ 4%] Built target glad
[ 4%] Building CXX object third_party/CMakeFiles/ktx.dir/ktx/lib/etcdec.cxx.o
[ 5%] Building CXX object third_party/CMakeFiles/astc.dir/astc/Source/astc_image_load_store.cpp.o
[ 6%] Building CXX object third_party/CMakeFiles/ktx.dir/ktx/lib/etcunpack.cxx.o
[ 7%] Linking CXX static library lib/Release/x86_64/libglslang-default-resource-limits.a
[ 7%] Built target glslang-default-resource-limits
[ 7%] Building CXX object third_party/CMakeFiles/astc.dir/astc/Source/astc_pick_best_endpoint_format.cpp.o
[ 7%] Building C object third_party/CMakeFiles/ktx.dir/ktx/lib/filestream.c.o
[ 7%] Building C object third_party/CMakeFiles/ktx.dir/ktx/lib/hashlist.c.o
[ 7%] Building C object third_party/CMakeFiles/ktx.dir/ktx/lib/info.c.o
[ 8%] Building C object third_party/CMakeFiles/ktx.dir/ktx/lib/memstream.c.o
[ 8%] Building C object third_party/CMakeFiles/ktx.dir/ktx/lib/strings.c.o
[ 8%] Building C object third_party/CMakeFiles/ktx.dir/ktx/lib/swap.c.o
[ 8%] Building C object third_party/CMakeFiles/ktx.dir/ktx/lib/texture.c.o
[ 8%] Building CXX object third_party/CMakeFiles/astc.dir/astc/Source/astc_color_quantize.cpp.o
[ 9%] Building CXX object third_party/CMakeFiles/ktx.dir/ktx/lib/basis_transcode.cpp.o
[ 9%] Building CXX object third_party/CMakeFiles/astc.dir/astc/Source/astc_weight_align.cpp.o
[ 9%] Building CXX object third_party/CMakeFiles/ktx.dir/ktx/lib/basisu/transcoder/basisu_transcoder.cpp.o
[ 10%] Building CXX object third_party/glslang/glslang/CMakeFiles/GenericCodeGen.dir/GenericCodeGen/CodeGen.cpp.o
[ 10%] Building CXX object third_party/CMakeFiles/imgui.dir/imgui/imgui_demo.cpp.o
[ 11%] Building CXX object third_party/CMakeFiles/astc.dir/astc/Source/astc_integer_sequence.cpp.o
[ 11%] Building CXX object third_party/glslang/glslang/CMakeFiles/GenericCodeGen.dir/GenericCodeGen/Link.cpp.o
[ 11%] Building CXX object third_party/CMakeFiles/astc.dir/astc/Source/astc_ideal_endpoints_and_weights.cpp.o
[ 11%] Linking CXX static library lib/Release/x86_64/libGenericCodeGen.a
[ 11%] Built target GenericCodeGen
[ 11%] Building CXX object third_party/CMakeFiles/imgui.dir/imgui/imgui_draw.cpp.o
[ 11%] Building C object third_party/CMakeFiles/ktx.dir/ktx/lib/basisu/zstd/zstd.c.o
[ 11%] Building CXX object third_party/CMakeFiles/astc.dir/astc/Source/astc_find_best_partitioning.cpp.o
[ 11%] Building CXX object third_party/CMakeFiles/astc.dir/astc/Source/astc_compress_symbolic.cpp.o
[ 12%] Building CXX object third_party/CMakeFiles/imgui.dir/imgui/imgui_widgets.cpp.o
[ 13%] Building CXX object third_party/CMakeFiles/astc.dir/astc/Source/astc_decompress_symbolic.cpp.o
[ 13%] Building CXX object third_party/CMakeFiles/astc.dir/astc/Source/astc_symbolic_physical.cpp.o
[ 13%] Linking CXX static library lib/Release/x86_64/libimgui.a
[ 13%] Built target imgui
[ 13%] Building CXX object third_party/glslang/OGLCompilersDLL/CMakeFiles/OGLCompiler.dir/InitializeDll.cpp.o
[ 13%] Building CXX object third_party/CMakeFiles/astc.dir/astc/Source/astc_toplevel.cpp.o
[ 13%] Linking CXX static library lib/Release/x86_64/libOGLCompiler.a
[ 13%] Built target OGLCompiler
[ 14%] Building CXX object third_party/glslang/glslang/OSDependent/Unix/CMakeFiles/OSDependent.dir/ossource.cpp.o
[ 14%] Linking CXX static library lib/Release/x86_64/libOSDependent.a
[ 14%] Built target OSDependent
[ 14%] Building CXX object third_party/spirv-cross/CMakeFiles/spirv-cross-core.dir/spirv_cross.cpp.o
[ 14%] Building CXX object third_party/hwcpipe/CMakeFiles/hwcpipe.dir/hwcpipe.cpp.o
[ 14%] Building CXX object third_party/CMakeFiles/astc.dir/astc/Source/astc_stb_tga.cpp.o
[ 15%] Building CXX object third_party/CMakeFiles/astc.dir/astc/Source/softfloat.cpp.o
[ 15%] Building CXX object third_party/CMakeFiles/astc.dir/astc/Source/mathlib.cpp.o
[ 15%] Building CXX object third_party/CMakeFiles/astc.dir/astc/Source/astc_quantization.cpp.o
[ 15%] Building CXX object third_party/CMakeFiles/astc.dir/astc/Source/astc_block_sizes2.cpp.o
[ 16%] Building CXX object third_party/CMakeFiles/astc.dir/astc/Source/astc_percentile_tables.cpp.o
[ 16%] Building CXX object third_party/CMakeFiles/astc.dir/astc/Source/astc_averages_and_directions.cpp.o
[ 17%] Linking CXX static library lib/Release/x86_64/libhwcpipe.a
[ 17%] Built target hwcpipe
[ 17%] Building CXX object third_party/spirv-cross/CMakeFiles/spirv-cross-core.dir/spirv_parser.cpp.o
[ 17%] Building CXX object third_party/CMakeFiles/astc.dir/astc/Source/astc_partition_tables.cpp.o
[ 18%] Building CXX object third_party/spirv-cross/CMakeFiles/spirv-cross-core.dir/spirv_cross_parsed_ir.cpp.o
[ 18%] Building CXX object third_party/CMakeFiles/astc.dir/astc/Source/astc_color_unquantize.cpp.o
[ 20%] Building CXX object third_party/CMakeFiles/astc.dir/astc/Source/astc_encoding_choice_error.cpp.o
[ 20%] Building CXX object third_party/spirv-cross/CMakeFiles/spirv-cross-core.dir/spirv_cfg.cpp.o
[ 20%] Building C object third_party/CMakeFiles/ktx.dir/ktx/lib/texture1.c.o
[ 20%] Building CXX object third_party/CMakeFiles/astc.dir/astc/Source/astc_kmeans_partitioning.cpp.o
[ 20%] Building C object third_party/glfw/src/CMakeFiles/glfw.dir/context.c.o
[ 20%] Building CXX object third_party/CMakeFiles/astc.dir/astc/Source/astc_weight_quant_xfer_tables.cpp.o
[ 20%] Building C object third_party/glfw/src/CMakeFiles/glfw.dir/init.c.o
[ 20%] Linking CXX static library lib/Release/x86_64/libspirv-cross-core.a
[ 20%] Built target spirv-cross-core
[ 21%] Building C object third_party/CMakeFiles/ktx.dir/ktx/lib/texture2.c.o
[ 21%] Building C object third_party/glfw/src/CMakeFiles/glfw.dir/input.c.o
[ 21%] Building CXX object third_party/CMakeFiles/astc.dir/astc/Source/astc_compute_variance.cpp.o
[ 21%] Building C object third_party/CMakeFiles/ktx.dir/ktx/lib/vkformat_check.c.o
[ 21%] Building C object third_party/CMakeFiles/ktx.dir/ktx/lib/vkformat_str.c.o
[ 21%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/cmake_pch.hxx.pch
[ 22%] Building C object third_party/glfw/src/CMakeFiles/glfw.dir/monitor.c.o
[ 22%] Building C object third_party/glfw/src/CMakeFiles/glfw.dir/vulkan.c.o
[ 23%] Building CXX object third_party/CMakeFiles/astc.dir/astc/Source/astc_ktx_dds.cpp.o
[ 23%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/glslang_tab.cpp.o
[ 23%] Building C object third_party/glfw/src/CMakeFiles/glfw.dir/window.c.o
[ 23%] Building C object third_party/glfw/src/CMakeFiles/glfw.dir/cocoa_init.m.o
[ 23%] Linking CXX static library lib/Release/x86_64/libastc.a
[ 23%] Built target astc
[ 23%] Building C object third_party/CMakeFiles/ktx.dir/ktx/lib/vk_funcs.c.o
In file included from github/gpx1000/Vulkan-Samples/third_party/ktx/lib/vk_funcs.c:46:
github/gpx1000/Vulkan-Samples/third_party/ktx/lib/vk_funcs.h:29:9: warning: 'VK_NO_PROTOTYPES' macro redefined [-Wmacro-redefined]
#define VK_NO_PROTOTYPES
^
<command line>:6:9: note: previous definition is here
#define VK_NO_PROTOTYPES 1
^
1 warning generated.
[ 24%] Building C object third_party/CMakeFiles/ktx.dir/ktx/lib/vkloader.c.o
In file included from github/gpx1000/Vulkan-Samples/third_party/ktx/lib/vkloader.c:29:
github/gpx1000/Vulkan-Samples/third_party/ktx/lib/vk_funcs.h:29:9: warning: 'VK_NO_PROTOTYPES' macro redefined [-Wmacro-redefined]
#define VK_NO_PROTOTYPES
^
<command line>:6:9: note: previous definition is here
#define VK_NO_PROTOTYPES 1
^
1 warning generated.
[ 24%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/attribute.cpp.o
[ 25%] Building C object third_party/glfw/src/CMakeFiles/glfw.dir/cocoa_joystick.m.o
[ 25%] Building CXX object third_party/spirv-cross/CMakeFiles/spirv-cross-glsl.dir/spirv_glsl.cpp.o
[ 25%] Building C object third_party/glfw/src/CMakeFiles/glfw.dir/cocoa_monitor.m.o
github/gpx1000/Vulkan-Samples/third_party/glfw/src/cocoa_monitor.m:61:38: warning: 'kIOMasterPortDefault' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations]
if (IOServiceGetMatchingServices(kIOMasterPortDefault,
^~~~~~~~~~~~~~~~~~~~
kIOMainPortDefault
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h:123:19: note: 'kIOMasterPortDefault' has been explicitly marked deprecated here
const mach_port_t kIOMasterPortDefault
^
github/gpx1000/Vulkan-Samples/third_party/glfw/src/cocoa_monitor.m:234:38: warning: 'kIOMasterPortDefault' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations]
if (IOServiceGetMatchingServices(kIOMasterPortDefault,
^~~~~~~~~~~~~~~~~~~~
kIOMainPortDefault
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h:123:19: note: 'kIOMasterPortDefault' has been explicitly marked deprecated here
const mach_port_t kIOMasterPortDefault
^
2 warnings generated.
[ 25%] Building C object third_party/glfw/src/CMakeFiles/glfw.dir/cocoa_window.m.o
github/gpx1000/Vulkan-Samples/third_party/glfw/src/cocoa_window.m:365:62: warning: 'kUTTypeURL' is deprecated: first deprecated in macOS 12.0 - Use UTTypeURL instead. [-Wdeprecated-declarations]
[self registerForDraggedTypes:@[(__bridge NSString*) kUTTypeURL]];
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h:210:26: note: 'kUTTypeURL' has been explicitly marked deprecated here
extern const CFStringRef kUTTypeURL API_DEPRECATED("Use UTTypeURL instead.", ios(3.0, 15.0), macos(10.4, 12.0), tvos(9.0, 15.0), watchos(1.0, 8.0));
^
1 warning generated.
[ 25%] Building C object third_party/glfw/src/CMakeFiles/glfw.dir/cocoa_time.c.o
[ 26%] Building C object third_party/glfw/src/CMakeFiles/glfw.dir/posix_thread.c.o
[ 26%] Building C object third_party/glfw/src/CMakeFiles/glfw.dir/nsgl_context.m.o
[ 27%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/Constant.cpp.o
[ 27%] Building C object third_party/glfw/src/CMakeFiles/glfw.dir/egl_context.c.o
[ 27%] Building C object third_party/glfw/src/CMakeFiles/glfw.dir/osmesa_context.c.o
[ 27%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/iomapper.cpp.o
[ 28%] Linking C static library lib/Release/x86_64/libglfw3.a
[ 28%] Built target glfw
[ 28%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/InfoSink.cpp.o
[ 28%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/Initialize.cpp.o
[ 28%] Linking CXX static library lib/Release/x86_64/libktx.a
[ 28%] Built target ktx
[ 29%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/IntermTraverse.cpp.o
[ 29%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/Intermediate.cpp.o
[ 29%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/ParseContextBase.cpp.o
[ 29%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/ParseHelper.cpp.o
[ 30%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/PoolAlloc.cpp.o
[ 30%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/RemoveTree.cpp.o
[ 30%] Linking CXX static library lib/Release/x86_64/libspirv-cross-glsl.a
[ 30%] Built target spirv-cross-glsl
[ 30%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/Scan.cpp.o
[ 30%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/ShaderLang.cpp.o
[ 31%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/SpirvIntrinsics.cpp.o
[ 31%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/SymbolTable.cpp.o
[ 31%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/Versions.cpp.o
[ 31%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/intermOut.cpp.o
[ 32%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/limits.cpp.o
[ 32%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/linkValidate.cpp.o
[ 32%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/parseConst.cpp.o
[ 32%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/reflection.cpp.o
[ 33%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/preprocessor/Pp.cpp.o
[ 33%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/preprocessor/PpAtom.cpp.o
[ 33%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/preprocessor/PpContext.cpp.o
[ 33%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/preprocessor/PpScanner.cpp.o
[ 34%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/preprocessor/PpTokens.cpp.o
[ 34%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/propagateNoContraction.cpp.o
[ 34%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/HLSL/hlslAttributes.cpp.o
[ 34%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/HLSL/hlslParseHelper.cpp.o
[ 35%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/HLSL/hlslScanContext.cpp.o
[ 35%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/HLSL/hlslOpMap.cpp.o
[ 35%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/HLSL/hlslTokenStream.cpp.o
[ 35%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/HLSL/hlslGrammar.cpp.o
[ 36%] Building CXX object third_party/glslang/glslang/CMakeFiles/MachineIndependent.dir/HLSL/hlslParseables.cpp.o
[ 36%] Linking CXX static library lib/Release/x86_64/libMachineIndependent.a
[ 36%] Built target MachineIndependent
[ 36%] Building CXX object third_party/glslang/glslang/CMakeFiles/glslang.dir/CInterface/glslang_c_interface.cpp.o
[ 36%] Building CXX object third_party/glslang/SPIRV/CMakeFiles/SPIRV.dir/GlslangToSpv.cpp.o
[ 36%] Building CXX object third_party/glslang/SPIRV/CMakeFiles/SPIRV.dir/InReadableOrder.cpp.o
[ 37%] Building CXX object third_party/glslang/SPIRV/CMakeFiles/SPIRV.dir/Logger.cpp.o
[ 37%] Building CXX object third_party/glslang/SPIRV/CMakeFiles/SPIRV.dir/SpvBuilder.cpp.o
[ 37%] Building CXX object third_party/glslang/SPIRV/CMakeFiles/SPIRV.dir/SpvPostProcess.cpp.o
[ 37%] Linking CXX static library lib/Release/x86_64/libglslang.a
[ 37%] Built target glslang
[ 37%] Building CXX object third_party/glslang/SPIRV/CMakeFiles/SPIRV.dir/doc.cpp.o
[ 38%] Building CXX object third_party/glslang/SPIRV/CMakeFiles/SPIRV.dir/SpvTools.cpp.o
[ 38%] Building CXX object third_party/glslang/SPIRV/CMakeFiles/SPIRV.dir/disassemble.cpp.o
[ 38%] Building CXX object third_party/glslang/SPIRV/CMakeFiles/SPIRV.dir/CInterface/spirv_c_interface.cpp.o
[ 38%] Linking CXX static library lib/Release/x86_64/libSPIRV.a
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: lib/Release/x86_64/libSPIRV.a(SpvTools.cpp.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: lib/Release/x86_64/libSPIRV.a(SpvTools.cpp.o) has no symbols
[ 38%] Built target SPIRV
[ 38%] Building CXX object app/apps/CMakeFiles/apps.dir/apps.cpp.o
[ 38%] Linking CXX static library lib/Release/x86_64/libapps.a
[ 38%] Built target apps
[ 38%] Building CXX object app/plugins/CMakeFiles/plugins.dir/batch_mode/batch_mode.cpp.o
[ 38%] Building CXX object app/plugins/CMakeFiles/plugins.dir/plugins.cpp.o
[ 38%] Building CXX object app/plugins/CMakeFiles/plugins.dir/benchmark_mode/benchmark_mode.cpp.o
[ 40%] Building CXX object app/plugins/CMakeFiles/plugins.dir/file_logger/file_logger.cpp.o
[ 40%] Building CXX object app/plugins/CMakeFiles/plugins.dir/force_close/force_close.cpp.o
[ 40%] Building CXX object app/plugins/CMakeFiles/plugins.dir/fps_logger/fps_logger.cpp.o
[ 40%] Building CXX object app/plugins/CMakeFiles/plugins.dir/screenshot/screenshot.cpp.o
[ 41%] Building CXX object app/plugins/CMakeFiles/plugins.dir/start_sample/start_sample.cpp.o
[ 41%] Building CXX object app/plugins/CMakeFiles/plugins.dir/stop_after/stop_after.cpp.o
[ 41%] Building CXX object app/plugins/CMakeFiles/plugins.dir/window_options/window_options.cpp.o
[ 41%] Linking CXX static library lib/Release/x86_64/libplugins.a
[ 41%] Built target plugins
[ 41%] Building CXX object samples/tooling/profiles/CMakeFiles/profiles.dir/profiles.cpp.o
[ 41%] Linking CXX static library lib/Release/x86_64/libprofiles.a
[ 41%] Built target profiles
[ 41%] Building CXX object samples/performance/wait_idle/CMakeFiles/wait_idle.dir/wait_idle.cpp.o
[ 42%] Linking CXX static library lib/Release/x86_64/libwait_idle.a
[ 42%] Built target wait_idle
[ 42%] Building CXX object samples/performance/texture_compression_comparison/CMakeFiles/texture_compression_comparison.dir/texture_compression_comparison.cpp.o
[ 43%] Linking CXX static library lib/Release/x86_64/libtexture_compression_comparison.a
[ 43%] Built target texture_compression_comparison
[ 43%] Building CXX object samples/performance/texture_compression_basisu/CMakeFiles/texture_compression_basisu.dir/texture_compression_basisu.cpp.o
[ 43%] Linking CXX static library lib/Release/x86_64/libtexture_compression_basisu.a
[ 43%] Built target texture_compression_basisu
[ 43%] Building CXX object samples/performance/swapchain_images/CMakeFiles/swapchain_images.dir/swapchain_images.cpp.o
[ 44%] Linking CXX static library lib/Release/x86_64/libswapchain_images.a
[ 44%] Built target swapchain_images
[ 44%] Building CXX object samples/performance/surface_rotation/CMakeFiles/surface_rotation.dir/surface_rotation.cpp.o
[ 44%] Linking CXX static library lib/Release/x86_64/libsurface_rotation.a
[ 44%] Built target surface_rotation
[ 44%] Building CXX object samples/performance/subpasses/CMakeFiles/subpasses.dir/subpasses.cpp.o
[ 45%] Linking CXX static library lib/Release/x86_64/libsubpasses.a
[ 45%] Built target subpasses
[ 45%] Building CXX object samples/performance/specialization_constants/CMakeFiles/specialization_constants.dir/specialization_constants.cpp.o
[ 45%] Linking CXX static library lib/Release/x86_64/libspecialization_constants.a
[ 45%] Built target specialization_constants
[ 45%] Building CXX object samples/performance/render_passes/CMakeFiles/render_passes.dir/render_passes.cpp.o
[ 45%] Linking CXX static library lib/Release/x86_64/librender_passes.a
[ 45%] Built target render_passes
[ 45%] Building CXX object samples/performance/pipeline_cache/CMakeFiles/pipeline_cache.dir/pipeline_cache.cpp.o
[ 46%] Linking CXX static library lib/Release/x86_64/libpipeline_cache.a
[ 46%] Built target pipeline_cache
[ 46%] Building CXX object samples/performance/pipeline_barriers/CMakeFiles/pipeline_barriers.dir/pipeline_barriers.cpp.o
[ 46%] Linking CXX static library lib/Release/x86_64/libpipeline_barriers.a
[ 46%] Built target pipeline_barriers
[ 47%] Building CXX object samples/performance/multithreading_render_passes/CMakeFiles/multithreading_render_passes.dir/multithreading_render_passes.cpp.o
[ 47%] Linking CXX static library lib/Release/x86_64/libmultithreading_render_passes.a
[ 47%] Built target multithreading_render_passes
[ 47%] Building CXX object samples/performance/multi_draw_indirect/CMakeFiles/multi_draw_indirect.dir/multi_draw_indirect.cpp.o
[ 47%] Linking CXX static library lib/Release/x86_64/libmulti_draw_indirect.a
[ 47%] Built target multi_draw_indirect
[ 48%] Building CXX object samples/performance/msaa/CMakeFiles/msaa.dir/msaa.cpp.o
[ 48%] Linking CXX static library lib/Release/x86_64/libmsaa.a
[ 48%] Built target msaa
[ 48%] Building CXX object samples/performance/layout_transitions/CMakeFiles/layout_transitions.dir/layout_transitions.cpp.o
[ 48%] Linking CXX static library lib/Release/x86_64/liblayout_transitions.a
[ 48%] Built target layout_transitions
[ 49%] Building CXX object samples/performance/descriptor_management/CMakeFiles/descriptor_management.dir/descriptor_management.cpp.o
[ 49%] Linking CXX static library lib/Release/x86_64/libdescriptor_management.a
[ 49%] Built target descriptor_management
[ 49%] Building CXX object samples/performance/constant_data/CMakeFiles/constant_data.dir/constant_data.cpp.o
[ 49%] Linking CXX static library lib/Release/x86_64/libconstant_data.a
[ 49%] Built target constant_data
[ 49%] Building CXX object samples/performance/command_buffer_usage/CMakeFiles/command_buffer_usage.dir/command_buffer_usage.cpp.o
[ 49%] Linking CXX static library lib/Release/x86_64/libcommand_buffer_usage.a
[ 49%] Built target command_buffer_usage
[ 49%] Building CXX object samples/performance/async_compute/CMakeFiles/async_compute.dir/async_compute.cpp.o
[ 49%] Linking CXX static library lib/Release/x86_64/libasync_compute.a
[ 49%] Built target async_compute
[ 50%] Building CXX object samples/performance/afbc/CMakeFiles/afbc.dir/afbc.cpp.o
[ 50%] Linking CXX static library lib/Release/x86_64/libafbc.a
[ 50%] Built target afbc
[ 50%] Building CXX object samples/performance/16bit_storage_input_output/CMakeFiles/16bit_storage_input_output.dir/16bit_storage_input_output.cpp.o
[ 50%] Linking CXX static library lib/Release/x86_64/lib16bit_storage_input_output.a
[ 50%] Built target 16bit_storage_input_output
[ 50%] Building CXX object samples/performance/16bit_arithmetic/CMakeFiles/16bit_arithmetic.dir/16bit_arithmetic.cpp.o
[ 50%] Linking CXX static library lib/Release/x86_64/lib16bit_arithmetic.a
[ 50%] Built target 16bit_arithmetic
[ 50%] Building CXX object samples/extensions/timeline_semaphore/CMakeFiles/timeline_semaphore.dir/timeline_semaphore.cpp.o
[ 50%] Linking CXX static library lib/Release/x86_64/libtimeline_semaphore.a
[ 50%] Built target timeline_semaphore
[ 50%] Building CXX object samples/extensions/synchronization_2/CMakeFiles/synchronization_2.dir/synchronization_2.cpp.o
[ 50%] Linking CXX static library lib/Release/x86_64/libsynchronization_2.a
[ 50%] Built target synchronization_2
[ 51%] Building CXX object samples/extensions/raytracing_extended/CMakeFiles/raytracing_extended.dir/raytracing_extended.cpp.o
[ 51%] Linking CXX static library lib/Release/x86_64/libraytracing_extended.a
[ 51%] Built target raytracing_extended
[ 51%] Building CXX object samples/extensions/raytracing_basic/CMakeFiles/raytracing_basic.dir/raytracing_basic.cpp.o
[ 51%] Linking CXX static library lib/Release/x86_64/libraytracing_basic.a
[ 51%] Built target raytracing_basic
[ 52%] Building CXX object samples/extensions/ray_tracing_reflection/CMakeFiles/ray_tracing_reflection.dir/ray_tracing_reflection.cpp.o
[ 52%] Linking CXX static library lib/Release/x86_64/libray_tracing_reflection.a
[ 52%] Built target ray_tracing_reflection
[ 52%] Building CXX object samples/extensions/ray_queries/CMakeFiles/ray_queries.dir/ray_queries.cpp.o
[ 52%] Linking CXX static library lib/Release/x86_64/libray_queries.a
[ 52%] Built target ray_queries
[ 53%] Building CXX object samples/extensions/push_descriptors/CMakeFiles/push_descriptors.dir/push_descriptors.cpp.o
[ 53%] Linking CXX static library lib/Release/x86_64/libpush_descriptors.a
[ 53%] Built target push_descriptors
[ 54%] Building CXX object samples/extensions/portability/CMakeFiles/portability.dir/portability.cpp.o
[ 54%] Linking CXX static library lib/Release/x86_64/libportability.a
[ 54%] Built target portability
[ 54%] Building CXX object samples/extensions/open_gl_interop/CMakeFiles/open_gl_interop.dir/offscreen_context.cpp.o
[ 54%] Building CXX object samples/extensions/open_gl_interop/CMakeFiles/open_gl_interop.dir/open_gl_interop.cpp.o
[ 55%] Linking CXX static library lib/Release/x86_64/libopen_gl_interop.a
[ 55%] Built target open_gl_interop
[ 55%] Building CXX object samples/extensions/graphics_pipeline_library/CMakeFiles/graphics_pipeline_library.dir/graphics_pipeline_library.cpp.o
[ 55%] Linking CXX static library lib/Release/x86_64/libgraphics_pipeline_library.a
[ 55%] Built target graphics_pipeline_library
[ 56%] Building CXX object samples/extensions/fragment_shading_rate_dynamic/CMakeFiles/fragment_shading_rate_dynamic.dir/fragment_shading_rate_dynamic.cpp.o
[ 56%] Linking CXX static library lib/Release/x86_64/libfragment_shading_rate_dynamic.a
[ 56%] Built target fragment_shading_rate_dynamic
[ 56%] Building CXX object samples/extensions/fragment_shading_rate/CMakeFiles/fragment_shading_rate.dir/fragment_shading_rate.cpp.o
[ 56%] Linking CXX static library lib/Release/x86_64/libfragment_shading_rate.a
[ 56%] Built target fragment_shading_rate
[ 56%] Building CXX object samples/extensions/dynamic_rendering/CMakeFiles/dynamic_rendering.dir/dynamic_rendering.cpp.o
[ 56%] Linking CXX static library lib/Release/x86_64/libdynamic_rendering.a
[ 56%] Built target dynamic_rendering
[ 56%] Building CXX object samples/extensions/descriptor_indexing/CMakeFiles/descriptor_indexing.dir/descriptor_indexing.cpp.o
[ 56%] Linking CXX static library lib/Release/x86_64/libdescriptor_indexing.a
[ 56%] Built target descriptor_indexing
[ 57%] Building CXX object samples/extensions/debug_utils/CMakeFiles/debug_utils.dir/debug_utils.cpp.o
[ 57%] Linking CXX static library lib/Release/x86_64/libdebug_utils.a
[ 57%] Built target debug_utils
[ 58%] Building CXX object samples/extensions/conservative_rasterization/CMakeFiles/conservative_rasterization.dir/conservative_rasterization.cpp.o
[ 58%] Linking CXX static library lib/Release/x86_64/libconservative_rasterization.a
[ 58%] Built target conservative_rasterization
[ 58%] Building CXX object samples/extensions/conditional_rendering/CMakeFiles/conditional_rendering.dir/conditional_rendering.cpp.o
[ 58%] Linking CXX static library lib/Release/x86_64/libconditional_rendering.a
[ 58%] Built target conditional_rendering
[ 60%] Building CXX object samples/extensions/buffer_device_address/CMakeFiles/buffer_device_address.dir/buffer_device_address.cpp.o
[ 60%] Linking CXX static library lib/Release/x86_64/libbuffer_device_address.a
[ 60%] Built target buffer_device_address
[ 60%] Building CXX object samples/api/texture_mipmap_generation/CMakeFiles/texture_mipmap_generation.dir/texture_mipmap_generation.cpp.o
[ 61%] Linking CXX static library lib/Release/x86_64/libtexture_mipmap_generation.a
[ 61%] Built target texture_mipmap_generation
[ 61%] Building CXX object samples/api/texture_loading/CMakeFiles/texture_loading.dir/texture_loading.cpp.o
[ 61%] Linking CXX static library lib/Release/x86_64/libtexture_loading.a
[ 61%] Built target texture_loading
[ 61%] Building CXX object samples/api/terrain_tessellation/CMakeFiles/terrain_tessellation.dir/terrain_tessellation.cpp.o
[ 62%] Linking CXX static library lib/Release/x86_64/libterrain_tessellation.a
[ 62%] Built target terrain_tessellation
[ 63%] Building CXX object samples/api/separate_image_sampler/CMakeFiles/separate_image_sampler.dir/separate_image_sampler.cpp.o
[ 63%] Linking CXX static library lib/Release/x86_64/libseparate_image_sampler.a
[ 63%] Built target separate_image_sampler
[ 63%] Building CXX object samples/api/instancing/CMakeFiles/instancing.dir/instancing.cpp.o
[ 63%] Linking CXX static library lib/Release/x86_64/libinstancing.a
[ 63%] Built target instancing
[ 63%] Building CXX object samples/api/hpp_texture_loading/CMakeFiles/hpp_texture_loading.dir/hpp_texture_loading.cpp.o
[ 63%] Linking CXX static library lib/Release/x86_64/libhpp_texture_loading.a
[ 63%] Built target hpp_texture_loading
[ 63%] Building CXX object samples/api/hpp_terrain_tessellation/CMakeFiles/hpp_terrain_tessellation.dir/hpp_terrain_tessellation.cpp.o
[ 64%] Linking CXX static library lib/Release/x86_64/libhpp_terrain_tessellation.a
[ 64%] Built target hpp_terrain_tessellation
[ 64%] Building CXX object samples/api/hpp_instancing/CMakeFiles/hpp_instancing.dir/hpp_instancing.cpp.o
[ 64%] Linking CXX static library lib/Release/x86_64/libhpp_instancing.a
[ 64%] Built target hpp_instancing
[ 64%] Building CXX object samples/api/hpp_hello_triangle/CMakeFiles/hpp_hello_triangle.dir/hpp_hello_triangle.cpp.o
[ 65%] Linking CXX static library lib/Release/x86_64/libhpp_hello_triangle.a
[ 65%] Built target hpp_hello_triangle
[ 65%] Building CXX object samples/api/hpp_hdr/CMakeFiles/hpp_hdr.dir/hpp_hdr.cpp.o
[ 65%] Linking CXX static library lib/Release/x86_64/libhpp_hdr.a
[ 65%] Built target hpp_hdr
[ 65%] Building CXX object samples/api/hpp_dynamic_uniform_buffers/CMakeFiles/hpp_dynamic_uniform_buffers.dir/hpp_dynamic_uniform_buffers.cpp.o
[ 66%] Linking CXX static library lib/Release/x86_64/libhpp_dynamic_uniform_buffers.a
[ 66%] Built target hpp_dynamic_uniform_buffers
[ 66%] Building CXX object samples/api/hpp_compute_nbody/CMakeFiles/hpp_compute_nbody.dir/hpp_compute_nbody.cpp.o
[ 66%] Linking CXX static library lib/Release/x86_64/libhpp_compute_nbody.a
[ 66%] Built target hpp_compute_nbody
[ 66%] Building CXX object samples/api/hlsl_shaders/CMakeFiles/hlsl_shaders.dir/hlsl_shaders.cpp.o
[ 67%] Linking CXX static library lib/Release/x86_64/libhlsl_shaders.a
[ 67%] Built target hlsl_shaders
[ 67%] Building CXX object samples/api/hello_triangle/CMakeFiles/hello_triangle.dir/hello_triangle.cpp.o
[ 67%] Linking CXX static library lib/Release/x86_64/libhello_triangle.a
[ 67%] Built target hello_triangle
[ 67%] Building CXX object samples/api/hdr/CMakeFiles/hdr.dir/hdr.cpp.o
[ 68%] Linking CXX static library lib/Release/x86_64/libhdr.a
[ 68%] Built target hdr
[ 69%] Building CXX object samples/api/dynamic_uniform_buffers/CMakeFiles/dynamic_uniform_buffers.dir/dynamic_uniform_buffers.cpp.o
[ 69%] Linking CXX static library lib/Release/x86_64/libdynamic_uniform_buffers.a
[ 69%] Built target dynamic_uniform_buffers
[ 70%] Building CXX object samples/api/compute_nbody/CMakeFiles/compute_nbody.dir/compute_nbody.cpp.o
[ 70%] Linking CXX static library lib/Release/x86_64/libcompute_nbody.a
[ 70%] Built target compute_nbody
[ 70%] Building CXX object framework/CMakeFiles/framework.dir/platform/headless_window.cpp.o
[ 70%] Building CXX object framework/CMakeFiles/framework.dir/platform/application.cpp.o
[ 71%] Building CXX object framework/CMakeFiles/framework.dir/platform/window.cpp.o
[ 71%] Building CXX object framework/CMakeFiles/framework.dir/platform/platform.cpp.o
[ 71%] Building CXX object framework/CMakeFiles/framework.dir/platform/filesystem.cpp.o
[ 71%] Building CXX object framework/CMakeFiles/framework.dir/platform/input_events.cpp.o
[ 72%] Building CXX object framework/CMakeFiles/framework.dir/platform/configuration.cpp.o
[ 72%] Building CXX object framework/CMakeFiles/framework.dir/platform/parser.cpp.o
[ 72%] Building CXX object framework/CMakeFiles/framework.dir/platform/plugins/plugin.cpp.o
[ 72%] Building CXX object framework/CMakeFiles/framework.dir/platform/parsers/CLI11.cpp.o
[ 73%] Building CXX object framework/CMakeFiles/framework.dir/platform/parsers/help_formatter.cpp.o
[ 73%] Building CXX object framework/CMakeFiles/framework.dir/common/error.cpp.o
[ 73%] Building CXX object framework/CMakeFiles/framework.dir/common/vk_common.cpp.o
[ 73%] Building CXX object framework/CMakeFiles/framework.dir/common/utils.cpp.o
[ 74%] Building CXX object framework/CMakeFiles/framework.dir/common/strings.cpp.o
[ 74%] Building CXX object framework/CMakeFiles/framework.dir/gui.cpp.o
[ 74%] Building CXX object framework/CMakeFiles/framework.dir/glsl_compiler.cpp.o
[ 74%] Building CXX object framework/CMakeFiles/framework.dir/spirv_reflection.cpp.o
[ 75%] Building CXX object framework/CMakeFiles/framework.dir/gltf_loader.cpp.o
[ 75%] Building CXX object framework/CMakeFiles/framework.dir/debug_info.cpp.o
[ 75%] Building CXX object framework/CMakeFiles/framework.dir/buffer_pool.cpp.o
[ 75%] Building CXX object framework/CMakeFiles/framework.dir/fence_pool.cpp.o
[ 76%] Building CXX object framework/CMakeFiles/framework.dir/heightmap.cpp.o
[ 76%] Building CXX object framework/CMakeFiles/framework.dir/semaphore_pool.cpp.o
[ 76%] Building CXX object framework/CMakeFiles/framework.dir/resource_binding_state.cpp.o
[ 76%] Building CXX object framework/CMakeFiles/framework.dir/resource_cache.cpp.o
[ 77%] Building CXX object framework/CMakeFiles/framework.dir/resource_record.cpp.o
[ 77%] Building CXX object framework/CMakeFiles/framework.dir/resource_replay.cpp.o
[ 77%] Building CXX object framework/CMakeFiles/framework.dir/vulkan_sample.cpp.o
[ 77%] Building CXX object framework/CMakeFiles/framework.dir/api_vulkan_sample.cpp.o
[ 78%] Building CXX object framework/CMakeFiles/framework.dir/timer.cpp.o
[ 78%] Building CXX object framework/CMakeFiles/framework.dir/camera.cpp.o
[ 78%] Building CXX object framework/CMakeFiles/framework.dir/hpp_api_vulkan_sample.cpp.o
[ 78%] Building CXX object framework/CMakeFiles/framework.dir/hpp_vulkan_sample.cpp.o
[ 80%] Building CXX object framework/CMakeFiles/framework.dir/core/instance.cpp.o
[ 80%] Building CXX object framework/CMakeFiles/framework.dir/core/physical_device.cpp.o
[ 80%] Building CXX object framework/CMakeFiles/framework.dir/core/device.cpp.o
[ 80%] Building CXX object framework/CMakeFiles/framework.dir/core/debug.cpp.o
[ 81%] Building CXX object framework/CMakeFiles/framework.dir/core/image.cpp.o
[ 81%] Building CXX object framework/CMakeFiles/framework.dir/core/shader_module.cpp.o
[ 81%] Building CXX object framework/CMakeFiles/framework.dir/core/pipeline_layout.cpp.o
[ 81%] Building CXX object framework/CMakeFiles/framework.dir/core/pipeline.cpp.o
[ 82%] Building CXX object framework/CMakeFiles/framework.dir/core/descriptor_set_layout.cpp.o
[ 82%] Building CXX object framework/CMakeFiles/framework.dir/core/descriptor_pool.cpp.o
[ 82%] Building CXX object framework/CMakeFiles/framework.dir/core/descriptor_set.cpp.o
[ 82%] Building CXX object framework/CMakeFiles/framework.dir/core/queue.cpp.o
[ 83%] Building CXX object framework/CMakeFiles/framework.dir/core/command_pool.cpp.o
[ 83%] Building CXX object framework/CMakeFiles/framework.dir/core/swapchain.cpp.o
[ 83%] Building CXX object framework/CMakeFiles/framework.dir/core/command_buffer.cpp.o
[ 83%] Building CXX object framework/CMakeFiles/framework.dir/core/buffer.cpp.o
[ 84%] Building CXX object framework/CMakeFiles/framework.dir/core/image_view.cpp.o
[ 84%] Building CXX object framework/CMakeFiles/framework.dir/core/sampled_image.cpp.o
[ 84%] Building CXX object framework/CMakeFiles/framework.dir/core/sampler.cpp.o
[ 84%] Building CXX object framework/CMakeFiles/framework.dir/core/framebuffer.cpp.o
[ 85%] Building CXX object framework/CMakeFiles/framework.dir/core/render_pass.cpp.o
[ 85%] Building CXX object framework/CMakeFiles/framework.dir/core/query_pool.cpp.o
[ 85%] Building CXX object framework/CMakeFiles/framework.dir/core/scratch_buffer.cpp.o
[ 85%] Building CXX object framework/CMakeFiles/framework.dir/core/acceleration_structure.cpp.o
[ 86%] Building CXX object framework/CMakeFiles/framework.dir/core/shader_binding_table.cpp.o
[ 86%] Building CXX object framework/CMakeFiles/framework.dir/core/vulkan_resource.cpp.o
[ 86%] Building CXX object framework/CMakeFiles/framework.dir/core/hpp_device.cpp.o
[ 86%] Building CXX object framework/CMakeFiles/framework.dir/core/hpp_instance.cpp.o
[ 87%] Building CXX object framework/CMakeFiles/framework.dir/core/hpp_physical_device.cpp.o
[ 87%] Building CXX object framework/CMakeFiles/framework.dir/core/hpp_vulkan_resource.cpp.o
[ 87%] Building CXX object framework/CMakeFiles/framework.dir/geometry/frustum.cpp.o
[ 87%] Building CXX object framework/CMakeFiles/framework.dir/rendering/pipeline_state.cpp.o
[ 88%] Building CXX object framework/CMakeFiles/framework.dir/rendering/postprocessing_pipeline.cpp.o
[ 88%] Building CXX object framework/CMakeFiles/framework.dir/rendering/postprocessing_pass.cpp.o
[ 88%] Building CXX object framework/CMakeFiles/framework.dir/rendering/postprocessing_renderpass.cpp.o
[ 88%] Building CXX object framework/CMakeFiles/framework.dir/rendering/postprocessing_computepass.cpp.o
[ 89%] Building CXX object framework/CMakeFiles/framework.dir/rendering/render_context.cpp.o
[ 89%] Building CXX object framework/CMakeFiles/framework.dir/rendering/render_frame.cpp.o
[ 89%] Building CXX object framework/CMakeFiles/framework.dir/rendering/render_pipeline.cpp.o
[ 89%] Building CXX object framework/CMakeFiles/framework.dir/rendering/render_target.cpp.o
[ 90%] Building CXX object framework/CMakeFiles/framework.dir/rendering/subpass.cpp.o
[ 90%] Building CXX object framework/CMakeFiles/framework.dir/rendering/subpasses/forward_subpass.cpp.o
[ 90%] Building CXX object framework/CMakeFiles/framework.dir/rendering/subpasses/lighting_subpass.cpp.o
[ 90%] Building CXX object framework/CMakeFiles/framework.dir/rendering/subpasses/geometry_subpass.cpp.o
[ 91%] Building CXX object framework/CMakeFiles/framework.dir/scene_graph/component.cpp.o
[ 91%] Building CXX object framework/CMakeFiles/framework.dir/scene_graph/node.cpp.o
[ 91%] Building CXX object framework/CMakeFiles/framework.dir/scene_graph/scene.cpp.o
[ 91%] Building CXX object framework/CMakeFiles/framework.dir/scene_graph/script.cpp.o
[ 92%] Building CXX object framework/CMakeFiles/framework.dir/scene_graph/components/aabb.cpp.o
[ 92%] Building CXX object framework/CMakeFiles/framework.dir/scene_graph/components/camera.cpp.o
[ 92%] Building CXX object framework/CMakeFiles/framework.dir/scene_graph/components/perspective_camera.cpp.o
[ 92%] Building CXX object framework/CMakeFiles/framework.dir/scene_graph/components/orthographic_camera.cpp.o
[ 93%] Building CXX object framework/CMakeFiles/framework.dir/scene_graph/components/image.cpp.o
[ 93%] Building CXX object framework/CMakeFiles/framework.dir/scene_graph/components/light.cpp.o
[ 93%] Building CXX object framework/CMakeFiles/framework.dir/scene_graph/components/material.cpp.o
[ 93%] Building CXX object framework/CMakeFiles/framework.dir/scene_graph/components/mesh.cpp.o
[ 94%] Building CXX object framework/CMakeFiles/framework.dir/scene_graph/components/pbr_material.cpp.o
[ 94%] Building CXX object framework/CMakeFiles/framework.dir/scene_graph/components/sampler.cpp.o
[ 94%] Building CXX object framework/CMakeFiles/framework.dir/scene_graph/components/sub_mesh.cpp.o
[ 94%] Building CXX object framework/CMakeFiles/framework.dir/scene_graph/components/texture.cpp.o
[ 95%] Building CXX object framework/CMakeFiles/framework.dir/scene_graph/components/transform.cpp.o
[ 95%] Building CXX object framework/CMakeFiles/framework.dir/scene_graph/components/image/astc.cpp.o
[ 95%] Building CXX object framework/CMakeFiles/framework.dir/scene_graph/components/image/ktx.cpp.o
[ 95%] Building CXX object framework/CMakeFiles/framework.dir/scene_graph/components/image/stb.cpp.o
[ 96%] Building CXX object framework/CMakeFiles/framework.dir/scene_graph/scripts/free_camera.cpp.o
[ 96%] Building CXX object framework/CMakeFiles/framework.dir/scene_graph/scripts/node_animation.cpp.o
[ 96%] Building CXX object framework/CMakeFiles/framework.dir/scene_graph/scripts/animation.cpp.o
[ 96%] Building CXX object framework/CMakeFiles/framework.dir/stats/stats.cpp.o
[ 97%] Building CXX object framework/CMakeFiles/framework.dir/stats/stats_provider.cpp.o
[ 97%] Building CXX object framework/CMakeFiles/framework.dir/stats/frame_time_stats_provider.cpp.o
[ 97%] Building CXX object framework/CMakeFiles/framework.dir/stats/hwcpipe_stats_provider.cpp.o
[ 97%] Building CXX object framework/CMakeFiles/framework.dir/stats/vulkan_stats_provider.cpp.o
[ 98%] Building CXX object framework/CMakeFiles/framework.dir/graphing/graph.cpp.o
[ 98%] Building CXX object framework/CMakeFiles/framework.dir/graphing/graph_node.cpp.o
[ 98%] Building CXX object framework/CMakeFiles/framework.dir/graphing/scene_graph.cpp.o
[ 98%] Building CXX object framework/CMakeFiles/framework.dir/graphing/framework_graph.cpp.o
[100%] Building CXX object framework/CMakeFiles/framework.dir/platform/glfw_window.cpp.o
[100%] Building CXX object framework/CMakeFiles/framework.dir/platform/unix/unix_platform.cpp.o
[100%] Linking CXX static library lib/Release/x86_64/libframework.a
[100%] Built target framework
[100%] Building CXX object app/CMakeFiles/vulkan_samples.dir/main.cpp.o
[100%] Linking CXX executable bin/Release/x86_64/vulkan_samples
[100%] Built target vulkan_samples
cmake --build build/mac --config Release --target vulkan_samples --just-print
Does that work?
I do see -- Vulkan Portability extension is enabled in your output so it should have created the define on the compile line.
Nope... It doesn't like that arg:
% cmake --build build/mac --config Release --target vulkan_samples --just-print
Unknown argument --just-print
Usage: cmake --build <dir> [options] [-- [native-options]]
cmake --build --preset <preset> [options] [-- [native-options]]
Options:
<dir> = Project binary directory to be built.
--preset <preset>, --preset=<preset>
= Specify a build preset.
--list-presets
= List available build presets.
--parallel [<jobs>], -j [<jobs>]
= Build in parallel using the given number of jobs.
If <jobs> is omitted the native build tool's
default number is used.
The CMAKE_BUILD_PARALLEL_LEVEL environment variable
specifies a default parallel level when this option
is not given.
--target <tgt>..., -t <tgt>...
= Build <tgt> instead of default targets.
--config <cfg> = For multi-configuration tools, choose <cfg>.
--clean-first = Build target 'clean' first, then build.
(To clean only, use --target 'clean'.)
--resolve-package-references={on|only|off}
= Restore/resolve package references during build.
--verbose, -v = Enable verbose output - if supported - including
the build commands to be executed.
-- = Pass remaining options to the native tool.
hmm... that should have worked.
But verbose is fine, it'll just take longer to run. So just add -v or --verbose. What we want is to see the c++ flags and see that -DVKB_ENABLE_PORTABILITY is defined.
Okay, that output a huge file, but I think this is the bit you're looking for! It does appear that the flag is set:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DBASISD_SUPPORT_KTX2_ZSTD=0 -DBASISU_NO_ITERATOR_DEBUG_LEVEL -DGLM_ENABLE_EXPERIMENTAL -DGLM_FORCE_CTOR_INIT -DGLM_FORCE_CXX14 -DGLM_FORCE_RADIANS -DGLM_FORCE_SWIZZLE -DKTX_FEATURE_WRITE=0 -DLIBKTX -DROOT_PATH_SIZE=71 -DVKB_ENABLE_PORTABILITY -DVKB_VULKAN_DEBUG -DVK_NO_PROTOTYPES -DVK_USE_PLATFORM_METAL_EXT -DVULKAN_HPP_DISPATCH_LOADER_DYNAMIC=1 -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/app/apps -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/samples -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/tests/system_test/sub_tests -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/tests/system_test/test_framework -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/app/plugins -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/framework -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/third_party/volk -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/third_party/vulkan/include -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/third_party/ktx/include -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/third_party/ktx/lib -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/third_party/ktx/lib/basisu/zstd -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/third_party/ktx/lib/basisu/transcoder -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/third_party/ktx/other_include -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/third_party/stb -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/third_party/astc/Source -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/third_party/imgui -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/third_party/tinygltf -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/third_party/glm -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/third_party/glslang/glslang/.. -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/build/mac/include -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/third_party/glslang/SPIRV/.. -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/third_party/vma/src -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/third_party/hwcpipe -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/third_party/hwcpipe/third_party -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/third_party/spirv-cross -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/third_party/glslang/StandAlone -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/third_party/spdlog/include -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/third_party/CTPL -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/third_party/cli11/include -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/third_party/glfw/include -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/samples/api/compute_nbody -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/build/mac/samples/api/compute_nbody -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/samples/api/dynamic_uniform_buffers -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/build/mac/samples/api/dynamic_uniform_buffers -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/samples/api/hdr -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/build/mac/samples/api/hdr -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/samples/api/hello_triangle -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/build/mac/samples/api/hello_triangle -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/samples/api/hlsl_shaders -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/build/mac/samples/api/hlsl_shaders -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/samples/api/hpp_compute_nbody -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/build/mac/samples/api/hpp_compute_nbody -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/samples/api/hpp_dynamic_uniform_buffers -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/build/mac/samples/api/hpp_dynamic_uniform_buffers -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/samples/api/hpp_hdr -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/build/mac/samples/api/hpp_hdr -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/samples/api/hpp_hello_triangle -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/build/mac/samples/api/hpp_hello_triangle -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/samples/api/hpp_instancing -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/build/mac/samples/api/hpp_instancing -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/samples/api/hpp_terrain_tessellation -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/build/mac/samples/api/hpp_terrain_tessellation -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/samples/api/hpp_texture_loading -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/build/mac/samples/api/hpp_texture_loading -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/samples/api/instancing -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/build/mac/samples/api/instancing -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/samples/api/separate_image_sampler -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/build/mac/samples/api/separate_image_sampler -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/samples/api/terrain_tessellation -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/build/mac/samples/api/terrain_tessellation -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/samples/api/texture_loading -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/build/mac/samples/api/texture_loading -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/samples/api/texture_mipmap_generation -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/build/mac/samples/api/texture_mipmap_generation -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/samples/extensions/buffer_device_address -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/build/mac/samples/extensions/buffer_device_address -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/samples/extensions/conditional_rendering -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/build/mac/samples/extensions/conditional_rendering -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/samples/extensions/conservative_rasterization -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/build/mac/samples/extensions/conservative_rasterization -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/samples/extensions/debug_utils -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/build/mac/samples/extensions/debug_utils -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/samples/extensions/descriptor_indexing -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/build/mac/samples/extensions/descriptor_indexing -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/samples/extensions/dynamic_rendering -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/build/mac/samples/extensions/dynamic_rendering -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/samples/extensions/fragment_shading_rate -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/build/mac/samples/extensions/fragment_shading_rate -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/samples/extensions/fragment_shading_rate_dynamic -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/build/mac/samples/extensions/fragment_shading_rate_dynamic -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/samples/extensions/graphics_pipeline_library -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/build/mac/samples/extensions/graphics_pipeline_library -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/samples/extensions/open_gl_interop -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/build/mac/samples/extensions/open_gl_interop -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/samples/extensions/open_gl_interop/third_party/glad/include -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/samples/extensions/portability -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/build/mac/samples/extensions/portability -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/samples/extensions/push_descriptors -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/build/mac/samples/extensions/push_descriptors -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/samples/extensions/ray_queries -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/build/mac/samples/extensions/ray_queries -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/samples/extensions/ray_tracing_reflection -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/build/mac/samples/extensions/ray_tracing_reflection -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/samples/extensions/raytracing_basic -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/build/mac/samples/extensions/raytracing_basic -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/samples/extensions/raytracing_extended -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/build/mac/samples/extensions/raytracing_extended -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/samples/extensions/synchronization_2 -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/build/mac/samples/extensions/synchronization_2 -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/samples/extensions/timeline_semaphore -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/build/mac/samples/extensions/timeline_semaphore -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/samples/performance/16bit_arithmetic -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/build/mac/samples/performance/16bit_arithmetic -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/samples/performance/16bit_storage_input_output -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/build/mac/samples/performance/16bit_storage_input_output -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/samples/performance/afbc -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/build/mac/samples/performance/afbc -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/samples/performance/async_compute -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/build/mac/samples/performance/async_compute -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/samples/performance/command_buffer_usage -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/build/mac/samples/performance/command_buffer_usage -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/samples/performance/constant_data -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/build/mac/samples/performance/constant_data -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/samples/performance/descriptor_management -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/build/mac/samples/performance/descriptor_management -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/samples/performance/layout_transitions -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/build/mac/samples/performance/layout_transitions -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/samples/performance/msaa -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/build/mac/samples/performance/msaa -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/samples/performance/multi_draw_indirect -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/build/mac/samples/performance/multi_draw_indirect -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/samples/performance/multithreading_render_passes -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/build/mac/samples/performance/multithreading_render_passes -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/samples/performance/pipeline_barriers -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/build/mac/samples/performance/pipeline_barriers -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/samples/performance/pipeline_cache -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/build/mac/samples/performance/pipeline_cache -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/samples/performance/render_passes -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/build/mac/samples/performance/render_passes -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/samples/performance/specialization_constants -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/build/mac/samples/performance/specialization_constants -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/samples/performance/subpasses -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/build/mac/samples/performance/subpasses -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/samples/performance/surface_rotation -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/build/mac/samples/performance/surface_rotation -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/samples/performance/swapchain_images -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/build/mac/samples/performance/swapchain_images -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/samples/performance/texture_compression_basisu -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/build/mac/samples/performance/texture_compression_basisu -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/samples/performance/texture_compression_comparison -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/build/mac/samples/performance/texture_compression_comparison -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/samples/performance/wait_idle -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/build/mac/samples/performance/wait_idle -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/samples/tooling/profiles -I/Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/build/mac/samples/tooling/profiles -O3 -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -fexceptions -std=gnu++14 -MD -MT app/apps/CMakeFiles/apps.dir/apps.cpp.o -MF CMakeFiles/apps.dir/apps.cpp.o.d -o CMakeFiles/apps.dir/apps.cpp.o -c /Users/rolfhunt/Development/Azure/mobeus/github/gpx1000/Vulkan-Samples/build/mac/app/apps/apps.cpp
I just got a brand new out of the box M2 Macbook Air. Did a fresh clone and got 1.3.216.0 version of Vulkan. I was able to reproduce this bug, and figured out that it needed two changes. First, had to upgrade CMake to at least 3.19 so find_package can use version range. Second, if the option were set correctly, which it was in some of your above tests, then it would correctly define the VKB_ENABLE_PORTABILITY define. Third, BOTH the flag VK_INSTANCE_CREATE_ENUMERATE_PORTABILITY_BIT_KHR and the instance extension VK_KHR_portability_extension must be enabled for vkCreateInstance to succeed. We were only setting the flag. Fourth, I updated Hello Triangles to also work.
With the above, in my tests I'm seeing everything work as intended although I haven't yet tried all of the samples.
Please grab the latest; it should work for you now.
I tested all samples, they all now get past the Instance Creation.
I pulled @gpx1000's branch and tested as well. All looks good to me! Thank you!