Hello I am following along with the tutorial but altering it slightly. I'm not throwing everything into one .cpp file but separating things into a .h and .cpp file.
I get a SIGSEGV error right at the end of the swapchain creation chapter.
vkGetSwapchainImagesKHR(device, swapChain, &imageCount, nullptr);swapChainImages.resize(imageCount);vkGetSwapchainImagesKHR(device, swapChain, &imageCount, swapChainImages.data());
is around where the error occurs. I've narrowed it down to the last call in the provided code
vkGetSwapchainImagesKHR(device, swapChain, &imageCount, swapChainImages.data());
I'm still trying a couple things using external debugging tools but I haven't had any luck so far.
Hello I am following along with the tutorial but altering it slightly. I'm not throwing everything into one .cpp file but separating things into a .h and .cpp file.
I get a SIGSEGV error right at the end of the swapchain creation chapter.
vkGetSwapchainImagesKHR(device, swapChain, &imageCount, nullptr);
swapChainImages.resize(imageCount);
vkGetSwapchainImagesKHR(device, swapChain, &imageCount, swapChainImages.data());
is around where the error occurs. I've narrowed it down to the last call in the provided codevkGetSwapchainImagesKHR(device, swapChain, &imageCount, swapChainImages.data());
I'm still trying a couple things using external debugging tools but I haven't had any luck so far.
I also have this code in a repo if you want to see the whole thing: https://github.com/Strelok2013/SC3D