MoltenVK is a Vulkan Portability implementation. It layers a subset of the high-performance, industry-standard Vulkan graphics and compute API over Apple's Metal graphics framework, enabling Vulkan applications to run on macOS, iOS and tvOS.
Apache License 2.0
4.64k
stars
402
forks
source link
Fix compilation issue due to new project version #2185
MoltenVK has updated to a new version, but the build scripts still
mentioned the previous version, which failed during build.
MVKInstance.mm:774:2: error:
static assertion failed due to requirement 'std::string_view("1.2.8") ==
("1.2.9")': Xcode build setting CURRENT_PROJECT_VERSION must be identical
to the MoltenVK version (MVK_VERSION_STRING).
...static_assert(string_view(MVK_STRINGIFY(MVK_FRAMEWORK_VERSION)) == MVK_VERSION_STRING...
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
This is fixed by updating the CURRENT_PROJECT_VERSION. Developers updating
should first clear their build folder (make clean) before the new changes become
into effect.
MoltenVK has updated to a new version, but the build scripts still mentioned the previous version, which failed during build.
This is fixed by updating the
CURRENT_PROJECT_VERSION
. Developers updating should first clear their build folder (make clean
) before the new changes become into effect.