Vulkan-Tutorial icon indicating copy to clipboard operation
Vulkan-Tutorial copied to clipboard

Update, expand and simplify development environment project setup

Open SaschaWillems opened this issue 2 years ago • 2 comments

This PR updates, simplifies and expands the development environment setup for Windows with Visual Studio.

The most important change is that the project setup now uses the %VULKAN_SDK% environment variable instead of explicit versioned SDK folder names. This makes setup easier and unties this chapter from the SDK version.

The linux setup is also updated and first points to the Linux setup guides from LunarG instead of a list of single components.

Also updates a few other chapters that had folders like '/home/user/VulkanSDK/x.x.x.x/x86_64' for e.g. calling glslc. This was something that confused people up to a point where they simply tried to use the x.x.x.x folder and failed. This now also uses either the env variable (Windows) or jut removes the path altogether (Linux) as those tools are globally available after SDK installation.

Other changes include updated screenshots and a note on what glfw library folder to select on Windows (as it depends on the used Visual Studio version)

Refs #19

SaschaWillems avatar Nov 16 '23 19:11 SaschaWillems

That's great! Indeed, using the SDK makes life easier. One thing that could be a great addition to the documentation is a CMakeLists.txt configured to bootstrap the setup using the SDK. This could simplify the setup for all platforms

Pacheco95 avatar Nov 16 '23 19:11 Pacheco95

We are already working on a proper CMake setup. But that's a bit more involved and will come later. This PR is esp. meant to fix some pressing issues that confuse people starting with the tutorial ;)

SaschaWillems avatar Nov 16 '23 19:11 SaschaWillems