@@ -264,8 +264,8 @@ You can now build the Vulkan examples in the SDK by running:
264264```
265265
266266If compilation was successful, then you should now have a
267- ` ./examples/build/cube ` executable. Run it and ensure that you see the
268- following pop up in a window:
267+ ` ./examples/build/cube ` executable. Run it from the ` examples/build ` directory
268+ with ` ./cube ` and ensure that you see the following pop up in a window:
269269
270270![ ] ( /images/cube_demo_nowindow.png )
271271
@@ -297,8 +297,9 @@ cmake .
297297make
298298```
299299
300- If compilation was successful, then you can install GLFW into the system
301- libraries by running:
300+ You may see a warning stating ` Could NOT find Vulkan ` , but you can safely ignore
301+ this message. If compilation was successful, then you can install GLFW into the
302+ system libraries by running:
302303
303304``` bash
304305sudo make install
@@ -386,7 +387,7 @@ Next, define a `CFLAGS` variable that will specify the basic compiler flags:
386387CFLAGS = -std=c++11 -I$(VULKAN_SDK_PATH ) /include
387388```
388389
389- We're going to use modern C++ (` -std=c++11 ` or ` std=c++14 ` ) and we need to be
390+ We're going to use modern C++ (` -std=c++11 ` or ` std=c++14 ` ), and we need to be
390391able to locate ` vulkan.h ` in the LunarG SDK.
391392
392393Similarly, define the linker flags in a ` LDFLAGS ` variable:
@@ -442,10 +443,11 @@ test: VulkanTest
442443 LD_LIBRARY_PATH =$(VULKAN_SDK_PATH ) /lib ./VulkanTest
443444```
444445
445- The program should now run successfully and exit immediately without any errors
446- (exit code ` 0 ` ). However, there is one more variable that you need to set. We
447- will start using validation layers in Vulkan and you need to tell the Vulkan
448- library where to load these from using the ` VK_LAYER_PATH ` variable:
446+ The program should now run successfully, and display the number of Vulkan
447+ extensions. The application should exit with the success return code (` 0 ` ) when
448+ you close the empty window. However, there is one more variable that you need to
449+ set. We will start using validation layers in Vulkan and you need to tell the
450+ Vulkan library where to load these from using the ` VK_LAYER_PATH ` variable:
449451
450452``` make
451453test : VulkanTest
0 commit comments