main.cpp
Код: Выделить всё
#define GLFW_INCLUDE_VULKAN
#include
#define GLM_FORCE_RADIANS
#define GLM_FORCE_DEPTH_ZERO_TO_ONE
#include
#include
#include
int main() {
glfwInit();
glfwWindowHint(GLFW_CLIENT_API, GLFW_NO_API);
GLFWwindow* window = glfwCreateWindow(800, 600, "Vulkan window", nullptr, nullptr);
uint32_t extensionCount = 0;
vkEnumerateInstanceExtensionProperties(nullptr, &extensionCount, nullptr);
std::cout
Подробнее здесь: [url]https://stackoverflow.com/questions/79331181/undefined-reference-when-compiling-with-vulkan[/url]