I’m working through the “API Without Secrets” Intel Vulkan tutorial and I am struggling to load Vulkan functions. I tweaked the Window class to work with GLFW (I’m using XCode with OSX), and my very basic app can be found here:
The Example::LoadExportedEntryPoints() and Example::LoadGlobalLevelEntryPoints() functions run without throwing errors, but as soon as I call any Vulkan functions such as vkCreateInstance then XCode throws an error saying that the Vulkan function is undefined e.g.
Undefined symbols for architecture x86_64:
“VulkanApp::vkCreateInstance”, referenced from:
VulkanApp::Example::CreateInstance() in Example.o
ld: symbol(s) not found for architecture x86_64
I’m certain that I’m missing something basic, but have gone over the code a number of times and can’t see anything obvious. The tutorial I’m following is the first one, and can be found here:
Could someone take a quick look to see what I’m missing?