Radagan

Results 23 comments of Radagan

@gpx1000, I think you should enable it by default for macOS (\_\_APPLE\_\_ and \_\_MACH\_\_). I tried to use your cmake defines in [#448](https://github.com/KhronosGroup/Vulkan-Samples/pull/448), but have yet to get it to...

@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!

@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....

@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...

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...

@gpx1000 Sorry about the delay--just got back to this... I made this code change: ```C++ #if (defined(VKB_ENABLE_PORTABILITY)) std::cout

Hum... this branch, right? ```bash % 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...

Unfortunately, it's on... ```bash % pwd github/gpx1000/Vulkan-Samples/build/mac % grep "VKB_ENABLE_PORT" CMakeCache.txt VKB_ENABLE_PORTABILITY:BOOL=ON ```

That command didn't work, but here's the full cmake and build output: ```bash % cmake -H. -Bbuild/mac -DCMAKE_BUILD_TYPE=Release -- The C compiler identification is AppleClang 13.1.6.13160021 -- The CXX compiler...

Nope... It doesn't like that arg: ```bash % cmake --build build/mac --config Release --target vulkan_samples --just-print Unknown argument --just-print Usage: cmake --build [options] [-- [native-options]] cmake --build --preset [options] [--...