PacktPublishing / Vulkan-Cookbook

Code repository for Vulkan Cookbook by Packt
MIT License
816 stars 109 forks source link

Cookbook library not compiling #12

Closed thatrobotguy closed 4 years ago

thatrobotguy commented 4 years ago

So I have tried to compile the samples and I am getting a bunch of errors. It looks like the main library before the executables is not compiling. It also appears that the same error is occuring multiple times.

~/Vulkan-Cookbook$ cmake --build build/ -- -j8
[ 53%] Built target CookbookLibrary
[ 53%] Building CXX object CMakeFiles/14-Drawing_Single_Fullscreen_Triangle_For_Postprocessing.dir/Samples/Common_Files/CookbookSampleFramework.cpp.o
[ 53%] Building CXX object CMakeFiles/01-Drawing_a_skybox.dir/Samples/Common_Files/CookbookSampleFramework.cpp.o
[ 53%] Building CXX object CMakeFiles/10-Using_Compute_Shaders.dir/Samples/Common_Files/CookbookSampleFramework.cpp.o
[ 54%] Building CXX object CMakeFiles/02-Drawing_bilboards_using_geometry_shaders.dir/Samples/Common_Files/CookbookSampleFramework.cpp.o
[ 54%] Building CXX object CMakeFiles/09-Using_Geometry_Shaders.dir/Samples/Common_Files/CookbookSampleFramework.cpp.o
[ 54%] Building CXX object CMakeFiles/04-Rendering_a_tesselated_terrain.dir/Samples/Common_Files/CookbookSampleFramework.cpp.o
[ 55%] Building CXX object CMakeFiles/06-Using_input_attachment_for_color_correction_postprocess_effect.dir/Samples/Common_Files/CookbookSampleFramework.cpp.o
[ 55%] Building CXX object CMakeFiles/01-Rendering_a_geometry_with_vertex_diffuse_lighting.dir/Samples/Common_Files/CookbookSampleFramework.cpp.o
In file included from /usr/include/x86_64-linux-gnu/c++/7/bits/c++allocator.h:33:0,
                 from /usr/include/c++/7/bits/allocator.h:46,
                 from /usr/include/c++/7/string:41,
                 from /usr/include/c++/7/bits/locale_classes.h:40,
                 from /usr/include/c++/7/bits/ios_base.h:41,
                 from /usr/include/c++/7/ios:42,
                 from /usr/include/c++/7/ostream:38,
                 from /usr/include/c++/7/iostream:39,
                 from /home/devmachine/Vulkan-Cookbook/Library/Common Files/Common.h:41,
                 from /home/devmachine/Vulkan-Cookbook/Library/Source Files/01 Instance and Devices/03 Connecting with a Vulkan Loader library.h:32,
                 from /home/devmachine/Vulkan-Cookbook/Library/Common Files/AllHeaders.h:35,
                 from /home/devmachine/Vulkan-Cookbook/Samples/Common Files/CookbookSampleFramework.h:36,
                 from /home/devmachine/Vulkan-Cookbook/Samples/Common Files/CookbookSampleFramework.cpp:32:
/usr/include/c++/7/ext/new_allocator.h: In instantiation of ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = VulkanCookbook::FrameResources; _Args = {VkCommandBuffer_T*&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFenceWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkImageViewWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFramebufferWrapper>}; _Tp = VulkanCookbook::FrameResources]’:
/usr/include/c++/7/bits/alloc_traits.h:475:4:   required from ‘static void std::allocator_traits<std::allocator<_CharT> >::construct(std::allocator_traits<std::allocator<_CharT> >::allocator_type&, _Up*, _Args&& ...) [with _Up = VulkanCookbook::FrameResources; _Args = {VkCommandBuffer_T*&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFenceWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkImageViewWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFramebufferWrapper>}; _Tp = VulkanCookbook::FrameResources; std::allocator_traits<std::allocator<_CharT> >::allocator_type = std::allocator<VulkanCookbook::FrameResources>]’
/usr/include/c++/7/bits/vector.tcc:100:30:   required from ‘void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {VkCommandBuffer_T*&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFenceWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkImageViewWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFramebufferWrapper>}; _Tp = VulkanCookbook::FrameResources; _Alloc = std::allocator<VulkanCookbook::FrameResources>]’
/home/devmachine/Vulkan-Cookbook/Samples/Common Files/CookbookSampleFramework.cpp:245:7:   required from here
/usr/include/c++/7/ext/new_allocator.h:136:4: error: cannot bind non-const lvalue reference of type ‘VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>&’ to an rvalue of type ‘VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>’
  { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/devmachine/Vulkan-Cookbook/Library/Common Files/AllHeaders.h:194:0,
                 from /home/devmachine/Vulkan-Cookbook/Samples/Common Files/CookbookSampleFramework.h:36,
                 from /home/devmachine/Vulkan-Cookbook/Samples/Common Files/CookbookSampleFramework.cpp:32:
/home/devmachine/Vulkan-Cookbook/Library/Source Files/09 Command Recording and Drawing/19 Increasing the performance through increasing the number of separately rendered frames.h:45:5: note:   initializing argument 2 of ‘VulkanCookbook::FrameResources::FrameResources(VkCommandBuffer_T*&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFenceWrapper>&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkImageViewWrapper>&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFramebufferWrapper>&)’
     FrameResources( VkCommandBuffer            & command_buffer,
     ^~~~~~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/c++/7/bits/c++allocator.h:33:0,
                 from /usr/include/c++/7/bits/allocator.h:46,
                 from /usr/include/c++/7/string:41,
                 from /usr/include/c++/7/bits/locale_classes.h:40,
                 from /usr/include/c++/7/bits/ios_base.h:41,
                 from /usr/include/c++/7/ios:42,
                 from /usr/include/c++/7/ostream:38,
                 from /usr/include/c++/7/iostream:39,
                 from /home/devmachine/Vulkan-Cookbook/Library/Common Files/Common.h:41,
                 from /home/devmachine/Vulkan-Cookbook/Library/Source Files/01 Instance and Devices/03 Connecting with a Vulkan Loader library.h:32,
                 from /home/devmachine/Vulkan-Cookbook/Library/Common Files/AllHeaders.h:35,
                 from /home/devmachine/Vulkan-Cookbook/Samples/Common Files/CookbookSampleFramework.h:36,
                 from /home/devmachine/Vulkan-Cookbook/Samples/Common Files/CookbookSampleFramework.cpp:32:
/usr/include/c++/7/ext/new_allocator.h: In instantiation of ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = VulkanCookbook::FrameResources; _Args = {VkCommandBuffer_T*&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFenceWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkImageViewWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFramebufferWrapper>}; _Tp = VulkanCookbook::FrameResources]’:
/usr/include/c++/7/bits/alloc_traits.h:475:4:   required from ‘static void std::allocator_traits<std::allocator<_CharT> >::construct(std::allocator_traits<std::allocator<_CharT> >::allocator_type&, _Up*, _Args&& ...) [with _Up = VulkanCookbook::FrameResources; _Args = {VkCommandBuffer_T*&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFenceWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkImageViewWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFramebufferWrapper>}; _Tp = VulkanCookbook::FrameResources; std::allocator_traits<std::allocator<_CharT> >::allocator_type = std::allocator<VulkanCookbook::FrameResources>]’
/usr/include/c++/7/bits/vector.tcc:100:30:   required from ‘void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {VkCommandBuffer_T*&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFenceWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkImageViewWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFramebufferWrapper>}; _Tp = VulkanCookbook::FrameResources; _Alloc = std::allocator<VulkanCookbook::FrameResources>]’
/home/devmachine/Vulkan-Cookbook/Samples/Common Files/CookbookSampleFramework.cpp:245:7:   required from here
/usr/include/c++/7/ext/new_allocator.h:136:4: error: cannot bind non-const lvalue reference of type ‘VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>&’ to an rvalue of type ‘VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>’
  { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/devmachine/Vulkan-Cookbook/Library/Common Files/AllHeaders.h:194:0,
                 from /home/devmachine/Vulkan-Cookbook/Samples/Common Files/CookbookSampleFramework.h:36,
                 from /home/devmachine/Vulkan-Cookbook/Samples/Common Files/CookbookSampleFramework.cpp:32:
/home/devmachine/Vulkan-Cookbook/Library/Source Files/09 Command Recording and Drawing/19 Increasing the performance through increasing the number of separately rendered frames.h:45:5: note:   initializing argument 2 of ‘VulkanCookbook::FrameResources::FrameResources(VkCommandBuffer_T*&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFenceWrapper>&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkImageViewWrapper>&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFramebufferWrapper>&)’
     FrameResources( VkCommandBuffer            & command_buffer,
     ^~~~~~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/c++/7/bits/c++allocator.h:33:0,
                 from /usr/include/c++/7/bits/allocator.h:46,
                 from /usr/include/c++/7/string:41,
                 from /usr/include/c++/7/bits/locale_classes.h:40,
                 from /usr/include/c++/7/bits/ios_base.h:41,
                 from /usr/include/c++/7/ios:42,
                 from /usr/include/c++/7/ostream:38,
                 from /usr/include/c++/7/iostream:39,
                 from /home/devmachine/Vulkan-Cookbook/Library/Common Files/Common.h:41,
                 from /home/devmachine/Vulkan-Cookbook/Library/Source Files/01 Instance and Devices/03 Connecting with a Vulkan Loader library.h:32,
                 from /home/devmachine/Vulkan-Cookbook/Library/Common Files/AllHeaders.h:35,
                 from /home/devmachine/Vulkan-Cookbook/Samples/Common Files/CookbookSampleFramework.h:36,
                 from /home/devmachine/Vulkan-Cookbook/Samples/Common Files/CookbookSampleFramework.cpp:32:
/usr/include/c++/7/ext/new_allocator.h: In instantiation of ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = VulkanCookbook::FrameResources; _Args = {VkCommandBuffer_T*&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFenceWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkImageViewWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFramebufferWrapper>}; _Tp = VulkanCookbook::FrameResources]’:
/usr/include/c++/7/bits/alloc_traits.h:475:4:   required from ‘static void std::allocator_traits<std::allocator<_CharT> >::construct(std::allocator_traits<std::allocator<_CharT> >::allocator_type&, _Up*, _Args&& ...) [with _Up = VulkanCookbook::FrameResources; _Args = {VkCommandBuffer_T*&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFenceWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkImageViewWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFramebufferWrapper>}; _Tp = VulkanCookbook::FrameResources; std::allocator_traits<std::allocator<_CharT> >::allocator_type = std::allocator<VulkanCookbook::FrameResources>]’
/usr/include/c++/7/bits/vector.tcc:100:30:   required from ‘void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {VkCommandBuffer_T*&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFenceWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkImageViewWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFramebufferWrapper>}; _Tp = VulkanCookbook::FrameResources; _Alloc = std::allocator<VulkanCookbook::FrameResources>]’
/home/devmachine/Vulkan-Cookbook/Samples/Common Files/CookbookSampleFramework.cpp:245:7:   required from here
/usr/include/c++/7/ext/new_allocator.h:136:4: error: cannot bind non-const lvalue reference of type ‘VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>&’ to an rvalue of type ‘VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>’
  { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/devmachine/Vulkan-Cookbook/Library/Common Files/AllHeaders.h:194:0,
                 from /home/devmachine/Vulkan-Cookbook/Samples/Common Files/CookbookSampleFramework.h:36,
                 from /home/devmachine/Vulkan-Cookbook/Samples/Common Files/CookbookSampleFramework.cpp:32:
/home/devmachine/Vulkan-Cookbook/Library/Source Files/09 Command Recording and Drawing/19 Increasing the performance through increasing the number of separately rendered frames.h:45:5: note:   initializing argument 2 of ‘VulkanCookbook::FrameResources::FrameResources(VkCommandBuffer_T*&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFenceWrapper>&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkImageViewWrapper>&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFramebufferWrapper>&)’
     FrameResources( VkCommandBuffer            & command_buffer,
     ^~~~~~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/c++/7/bits/c++allocator.h:33:0,
                 from /usr/include/c++/7/bits/allocator.h:46,
                 from /usr/include/c++/7/string:41,
                 from /usr/include/c++/7/bits/locale_classes.h:40,
                 from /usr/include/c++/7/bits/ios_base.h:41,
                 from /usr/include/c++/7/ios:42,
                 from /usr/include/c++/7/ostream:38,
                 from /usr/include/c++/7/iostream:39,
                 from /home/devmachine/Vulkan-Cookbook/Library/Common Files/Common.h:41,
                 from /home/devmachine/Vulkan-Cookbook/Library/Source Files/01 Instance and Devices/03 Connecting with a Vulkan Loader library.h:32,
                 from /home/devmachine/Vulkan-Cookbook/Library/Common Files/AllHeaders.h:35,
                 from /home/devmachine/Vulkan-Cookbook/Samples/Common Files/CookbookSampleFramework.h:36,
                 from /home/devmachine/Vulkan-Cookbook/Samples/Common Files/CookbookSampleFramework.cpp:32:
/usr/include/c++/7/ext/new_allocator.h: In instantiation of ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = VulkanCookbook::FrameResources; _Args = {VkCommandBuffer_T*&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFenceWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkImageViewWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFramebufferWrapper>}; _Tp = VulkanCookbook::FrameResources]’:
/usr/include/c++/7/bits/alloc_traits.h:475:4:   required from ‘static void std::allocator_traits<std::allocator<_CharT> >::construct(std::allocator_traits<std::allocator<_CharT> >::allocator_type&, _Up*, _Args&& ...) [with _Up = VulkanCookbook::FrameResources; _Args = {VkCommandBuffer_T*&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFenceWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkImageViewWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFramebufferWrapper>}; _Tp = VulkanCookbook::FrameResources; std::allocator_traits<std::allocator<_CharT> >::allocator_type = std::allocator<VulkanCookbook::FrameResources>]’
/usr/include/c++/7/bits/vector.tcc:100:30:   required from ‘void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {VkCommandBuffer_T*&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFenceWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkImageViewWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFramebufferWrapper>}; _Tp = VulkanCookbook::FrameResources; _Alloc = std::allocator<VulkanCookbook::FrameResources>]’
/home/devmachine/Vulkan-Cookbook/Samples/Common Files/CookbookSampleFramework.cpp:245:7:   required from here
/usr/include/c++/7/ext/new_allocator.h:136:4: error: cannot bind non-const lvalue reference of type ‘VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>&’ to an rvalue of type ‘VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>’
  { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/devmachine/Vulkan-Cookbook/Library/Common Files/AllHeaders.h:194:0,
                 from /home/devmachine/Vulkan-Cookbook/Samples/Common Files/CookbookSampleFramework.h:36,
                 from /home/devmachine/Vulkan-Cookbook/Samples/Common Files/CookbookSampleFramework.cpp:32:
/home/devmachine/Vulkan-Cookbook/Library/Source Files/09 Command Recording and Drawing/19 Increasing the performance through increasing the number of separately rendered frames.h:45:5: note:   initializing argument 2 of ‘VulkanCookbook::FrameResources::FrameResources(VkCommandBuffer_T*&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFenceWrapper>&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkImageViewWrapper>&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFramebufferWrapper>&)’
     FrameResources( VkCommandBuffer            & command_buffer,
     ^~~~~~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/c++/7/bits/c++allocator.h:33:0,
                 from /usr/include/c++/7/bits/allocator.h:46,
                 from /usr/include/c++/7/string:41,
                 from /usr/include/c++/7/bits/locale_classes.h:40,
                 from /usr/include/c++/7/bits/ios_base.h:41,
                 from /usr/include/c++/7/ios:42,
                 from /usr/include/c++/7/ostream:38,
                 from /usr/include/c++/7/iostream:39,
                 from /home/devmachine/Vulkan-Cookbook/Library/Common Files/Common.h:41,
                 from /home/devmachine/Vulkan-Cookbook/Library/Source Files/01 Instance and Devices/03 Connecting with a Vulkan Loader library.h:32,
                 from /home/devmachine/Vulkan-Cookbook/Library/Common Files/AllHeaders.h:35,
                 from /home/devmachine/Vulkan-Cookbook/Samples/Common Files/CookbookSampleFramework.h:36,
                 from /home/devmachine/Vulkan-Cookbook/Samples/Common Files/CookbookSampleFramework.cpp:32:
/usr/include/c++/7/ext/new_allocator.h: In instantiation of ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = VulkanCookbook::FrameResources; _Args = {VkCommandBuffer_T*&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFenceWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkImageViewWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFramebufferWrapper>}; _Tp = VulkanCookbook::FrameResources]’:
/usr/include/c++/7/bits/alloc_traits.h:475:4:   required from ‘static void std::allocator_traits<std::allocator<_CharT> >::construct(std::allocator_traits<std::allocator<_CharT> >::allocator_type&, _Up*, _Args&& ...) [with _Up = VulkanCookbook::FrameResources; _Args = {VkCommandBuffer_T*&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFenceWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkImageViewWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFramebufferWrapper>}; _Tp = VulkanCookbook::FrameResources; std::allocator_traits<std::allocator<_CharT> >::allocator_type = std::allocator<VulkanCookbook::FrameResources>]’
/usr/include/c++/7/bits/vector.tcc:100:30:   required from ‘void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {VkCommandBuffer_T*&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFenceWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkImageViewWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFramebufferWrapper>}; _Tp = VulkanCookbook::FrameResources; _Alloc = std::allocator<VulkanCookbook::FrameResources>]’
/home/devmachine/Vulkan-Cookbook/Samples/Common Files/CookbookSampleFramework.cpp:245:7:   required from here
/usr/include/c++/7/ext/new_allocator.h:136:4: error: cannot bind non-const lvalue reference of type ‘VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>&’ to an rvalue of type ‘VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>’
  { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/devmachine/Vulkan-Cookbook/Library/Common Files/AllHeaders.h:194:0,
                 from /home/devmachine/Vulkan-Cookbook/Samples/Common Files/CookbookSampleFramework.h:36,
                 from /home/devmachine/Vulkan-Cookbook/Samples/Common Files/CookbookSampleFramework.cpp:32:
/home/devmachine/Vulkan-Cookbook/Library/Source Files/09 Command Recording and Drawing/19 Increasing the performance through increasing the number of separately rendered frames.h:45:5: note:   initializing argument 2 of ‘VulkanCookbook::FrameResources::FrameResources(VkCommandBuffer_T*&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFenceWrapper>&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkImageViewWrapper>&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFramebufferWrapper>&)’
     FrameResources( VkCommandBuffer            & command_buffer,
     ^~~~~~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/c++/7/bits/c++allocator.h:33:0,
                 from /usr/include/c++/7/bits/allocator.h:46,
                 from /usr/include/c++/7/string:41,
                 from /usr/include/c++/7/bits/locale_classes.h:40,
                 from /usr/include/c++/7/bits/ios_base.h:41,
                 from /usr/include/c++/7/ios:42,
                 from /usr/include/c++/7/ostream:38,
                 from /usr/include/c++/7/iostream:39,
                 from /home/devmachine/Vulkan-Cookbook/Library/Common Files/Common.h:41,
                 from /home/devmachine/Vulkan-Cookbook/Library/Source Files/01 Instance and Devices/03 Connecting with a Vulkan Loader library.h:32,
                 from /home/devmachine/Vulkan-Cookbook/Library/Common Files/AllHeaders.h:35,
                 from /home/devmachine/Vulkan-Cookbook/Samples/Common Files/CookbookSampleFramework.h:36,
                 from /home/devmachine/Vulkan-Cookbook/Samples/Common Files/CookbookSampleFramework.cpp:32:
/usr/include/c++/7/ext/new_allocator.h: In instantiation of ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = VulkanCookbook::FrameResources; _Args = {VkCommandBuffer_T*&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFenceWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkImageViewWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFramebufferWrapper>}; _Tp = VulkanCookbook::FrameResources]’:
/usr/include/c++/7/bits/alloc_traits.h:475:4:   required from ‘static void std::allocator_traits<std::allocator<_CharT> >::construct(std::allocator_traits<std::allocator<_CharT> >::allocator_type&, _Up*, _Args&& ...) [with _Up = VulkanCookbook::FrameResources; _Args = {VkCommandBuffer_T*&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFenceWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkImageViewWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFramebufferWrapper>}; _Tp = VulkanCookbook::FrameResources; std::allocator_traits<std::allocator<_CharT> >::allocator_type = std::allocator<VulkanCookbook::FrameResources>]’
/usr/include/c++/7/bits/vector.tcc:100:30:   required from ‘void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {VkCommandBuffer_T*&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFenceWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkImageViewWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFramebufferWrapper>}; _Tp = VulkanCookbook::FrameResources; _Alloc = std::allocator<VulkanCookbook::FrameResources>]’
/home/devmachine/Vulkan-Cookbook/Samples/Common Files/CookbookSampleFramework.cpp:245:7:   required from here
/usr/include/c++/7/ext/new_allocator.h:136:4: error: cannot bind non-const lvalue reference of type ‘VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>&’ to an rvalue of type ‘VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>’
  { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/devmachine/Vulkan-Cookbook/Library/Common Files/AllHeaders.h:194:0,
                 from /home/devmachine/Vulkan-Cookbook/Samples/Common Files/CookbookSampleFramework.h:36,
                 from /home/devmachine/Vulkan-Cookbook/Samples/Common Files/CookbookSampleFramework.cpp:32:
/home/devmachine/Vulkan-Cookbook/Library/Source Files/09 Command Recording and Drawing/19 Increasing the performance through increasing the number of separately rendered frames.h:45:5: note:   initializing argument 2 of ‘VulkanCookbook::FrameResources::FrameResources(VkCommandBuffer_T*&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFenceWrapper>&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkImageViewWrapper>&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFramebufferWrapper>&)’
     FrameResources( VkCommandBuffer            & command_buffer,
     ^~~~~~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/c++/7/bits/c++allocator.h:33:0,
                 from /usr/include/c++/7/bits/allocator.h:46,
                 from /usr/include/c++/7/string:41,
                 from /usr/include/c++/7/bits/locale_classes.h:40,
                 from /usr/include/c++/7/bits/ios_base.h:41,
                 from /usr/include/c++/7/ios:42,
                 from /usr/include/c++/7/ostream:38,
                 from /usr/include/c++/7/iostream:39,
                 from /home/devmachine/Vulkan-Cookbook/Library/Common Files/Common.h:41,
                 from /home/devmachine/Vulkan-Cookbook/Library/Source Files/01 Instance and Devices/03 Connecting with a Vulkan Loader library.h:32,
                 from /home/devmachine/Vulkan-Cookbook/Library/Common Files/AllHeaders.h:35,
                 from /home/devmachine/Vulkan-Cookbook/Samples/Common Files/CookbookSampleFramework.h:36,
                 from /home/devmachine/Vulkan-Cookbook/Samples/Common Files/CookbookSampleFramework.cpp:32:
/usr/include/c++/7/ext/new_allocator.h: In instantiation of ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = VulkanCookbook::FrameResources; _Args = {VkCommandBuffer_T*&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFenceWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkImageViewWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFramebufferWrapper>}; _Tp = VulkanCookbook::FrameResources]’:
/usr/include/c++/7/bits/alloc_traits.h:475:4:   required from ‘static void std::allocator_traits<std::allocator<_CharT> >::construct(std::allocator_traits<std::allocator<_CharT> >::allocator_type&, _Up*, _Args&& ...) [with _Up = VulkanCookbook::FrameResources; _Args = {VkCommandBuffer_T*&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFenceWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkImageViewWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFramebufferWrapper>}; _Tp = VulkanCookbook::FrameResources; std::allocator_traits<std::allocator<_CharT> >::allocator_type = std::allocator<VulkanCookbook::FrameResources>]’
/usr/include/c++/7/bits/vector.tcc:100:30:   required from ‘void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {VkCommandBuffer_T*&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFenceWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkImageViewWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFramebufferWrapper>}; _Tp = VulkanCookbook::FrameResources; _Alloc = std::allocator<VulkanCookbook::FrameResources>]’
/home/devmachine/Vulkan-Cookbook/Samples/Common Files/CookbookSampleFramework.cpp:245:7:   required from here
/usr/include/c++/7/ext/new_allocator.h:136:4: error: cannot bind non-const lvalue reference of type ‘VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>&’ to an rvalue of type ‘VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>’
  { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/devmachine/Vulkan-Cookbook/Library/Common Files/AllHeaders.h:194:0,
                 from /home/devmachine/Vulkan-Cookbook/Samples/Common Files/CookbookSampleFramework.h:36,
                 from /home/devmachine/Vulkan-Cookbook/Samples/Common Files/CookbookSampleFramework.cpp:32:
/home/devmachine/Vulkan-Cookbook/Library/Source Files/09 Command Recording and Drawing/19 Increasing the performance through increasing the number of separately rendered frames.h:45:5: note:   initializing argument 2 of ‘VulkanCookbook::FrameResources::FrameResources(VkCommandBuffer_T*&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFenceWrapper>&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkImageViewWrapper>&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFramebufferWrapper>&)’
     FrameResources( VkCommandBuffer            & command_buffer,
     ^~~~~~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/c++/7/bits/c++allocator.h:33:0,
                 from /usr/include/c++/7/bits/allocator.h:46,
                 from /usr/include/c++/7/string:41,
                 from /usr/include/c++/7/bits/locale_classes.h:40,
                 from /usr/include/c++/7/bits/ios_base.h:41,
                 from /usr/include/c++/7/ios:42,
                 from /usr/include/c++/7/ostream:38,
                 from /usr/include/c++/7/iostream:39,
                 from /home/devmachine/Vulkan-Cookbook/Library/Common Files/Common.h:41,
                 from /home/devmachine/Vulkan-Cookbook/Library/Source Files/01 Instance and Devices/03 Connecting with a Vulkan Loader library.h:32,
                 from /home/devmachine/Vulkan-Cookbook/Library/Common Files/AllHeaders.h:35,
                 from /home/devmachine/Vulkan-Cookbook/Samples/Common Files/CookbookSampleFramework.h:36,
                 from /home/devmachine/Vulkan-Cookbook/Samples/Common Files/CookbookSampleFramework.cpp:32:
/usr/include/c++/7/ext/new_allocator.h: In instantiation of ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = VulkanCookbook::FrameResources; _Args = {VkCommandBuffer_T*&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFenceWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkImageViewWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFramebufferWrapper>}; _Tp = VulkanCookbook::FrameResources]’:
/usr/include/c++/7/bits/alloc_traits.h:475:4:   required from ‘static void std::allocator_traits<std::allocator<_CharT> >::construct(std::allocator_traits<std::allocator<_CharT> >::allocator_type&, _Up*, _Args&& ...) [with _Up = VulkanCookbook::FrameResources; _Args = {VkCommandBuffer_T*&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFenceWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkImageViewWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFramebufferWrapper>}; _Tp = VulkanCookbook::FrameResources; std::allocator_traits<std::allocator<_CharT> >::allocator_type = std::allocator<VulkanCookbook::FrameResources>]’
/usr/include/c++/7/bits/vector.tcc:100:30:   required from ‘void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {VkCommandBuffer_T*&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFenceWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkImageViewWrapper>, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFramebufferWrapper>}; _Tp = VulkanCookbook::FrameResources; _Alloc = std::allocator<VulkanCookbook::FrameResources>]’
/home/devmachine/Vulkan-Cookbook/Samples/Common Files/CookbookSampleFramework.cpp:245:7:   required from here
/usr/include/c++/7/ext/new_allocator.h:136:4: error: cannot bind non-const lvalue reference of type ‘VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>&’ to an rvalue of type ‘VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>’
  { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/devmachine/Vulkan-Cookbook/Library/Common Files/AllHeaders.h:194:0,
                 from /home/devmachine/Vulkan-Cookbook/Samples/Common Files/CookbookSampleFramework.h:36,
                 from /home/devmachine/Vulkan-Cookbook/Samples/Common Files/CookbookSampleFramework.cpp:32:
/home/devmachine/Vulkan-Cookbook/Library/Source Files/09 Command Recording and Drawing/19 Increasing the performance through increasing the number of separately rendered frames.h:45:5: note:   initializing argument 2 of ‘VulkanCookbook::FrameResources::FrameResources(VkCommandBuffer_T*&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkSemaphoreWrapper>&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFenceWrapper>&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkImageViewWrapper>&, VulkanCookbook::VkDestroyer<VulkanCookbook::VkFramebufferWrapper>&)’
     FrameResources( VkCommandBuffer            & command_buffer,
     ^~~~~~~~~~~~~~
CMakeFiles/06-Using_input_attachment_for_color_correction_postprocess_effect.dir/build.make:86: recipe for target 'CMakeFiles/06-Using_input_attachment_for_color_correction_postprocess_effect.dir/Samples/Common_Files/CookbookSampleFramework.cpp.o' failed
make[2]: *** [CMakeFiles/06-Using_input_attachment_for_color_correction_postprocess_effect.dir/Samples/Common_Files/CookbookSampleFramework.cpp.o] Error 1
CMakeFiles/Makefile2:289: recipe for target 'CMakeFiles/06-Using_input_attachment_for_color_correction_postprocess_effect.dir/all' failed
make[1]: *** [CMakeFiles/06-Using_input_attachment_for_color_correction_postprocess_effect.dir/all] Error 2
CMakeFiles/02-Drawing_bilboards_using_geometry_shaders.dir/build.make:86: recipe for target 'CMakeFiles/02-Drawing_bilboards_using_geometry_shaders.dir/Samples/Common_Files/CookbookSampleFramework.cpp.o' failed
make[2]: *** [CMakeFiles/02-Drawing_bilboards_using_geometry_shaders.dir/Samples/Common_Files/CookbookSampleFramework.cpp.o] Error 1
make[1]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:178: recipe for target 'CMakeFiles/02-Drawing_bilboards_using_geometry_shaders.dir/all' failed
make[1]: *** [CMakeFiles/02-Drawing_bilboards_using_geometry_shaders.dir/all] Error 2
CMakeFiles/01-Rendering_a_geometry_with_vertex_diffuse_lighting.dir/build.make:86: recipe for target 'CMakeFiles/01-Rendering_a_geometry_with_vertex_diffuse_lighting.dir/Samples/Common_Files/CookbookSampleFramework.cpp.o' failed
make[2]: *** [CMakeFiles/01-Rendering_a_geometry_with_vertex_diffuse_lighting.dir/Samples/Common_Files/CookbookSampleFramework.cpp.o] Error 1
CMakeFiles/Makefile2:252: recipe for target 'CMakeFiles/01-Rendering_a_geometry_with_vertex_diffuse_lighting.dir/all' failed
make[1]: *** [CMakeFiles/01-Rendering_a_geometry_with_vertex_diffuse_lighting.dir/all] Error 2
CMakeFiles/09-Using_Geometry_Shaders.dir/build.make:86: recipe for target 'CMakeFiles/09-Using_Geometry_Shaders.dir/Samples/Common_Files/CookbookSampleFramework.cpp.o' failed
make[2]: *** [CMakeFiles/09-Using_Geometry_Shaders.dir/Samples/Common_Files/CookbookSampleFramework.cpp.o] Error 1
CMakeFiles/Makefile2:326: recipe for target 'CMakeFiles/09-Using_Geometry_Shaders.dir/all' failed
make[1]: *** [CMakeFiles/09-Using_Geometry_Shaders.dir/all] Error 2
CMakeFiles/01-Drawing_a_skybox.dir/build.make:86: recipe for target 'CMakeFiles/01-Drawing_a_skybox.dir/Samples/Common_Files/CookbookSampleFramework.cpp.o' failed
make[2]: *** [CMakeFiles/01-Drawing_a_skybox.dir/Samples/Common_Files/CookbookSampleFramework.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/10-Using_Compute_Shaders.dir/build.make:86: recipe for target 'CMakeFiles/10-Using_Compute_Shaders.dir/Samples/Common_Files/CookbookSampleFramework.cpp.o' failed
make[2]: *** [CMakeFiles/10-Using_Compute_Shaders.dir/Samples/Common_Files/CookbookSampleFramework.cpp.o] Error 1
CMakeFiles/Makefile2:363: recipe for target 'CMakeFiles/10-Using_Compute_Shaders.dir/all' failed
make[1]: *** [CMakeFiles/10-Using_Compute_Shaders.dir/all] Error 2
[ 56%] Building CXX object CMakeFiles/01-Drawing_a_skybox.dir/Samples/Common_Files/OrbitingCamera.cpp.o
[ 56%] Building CXX object CMakeFiles/01-Drawing_a_skybox.dir/Samples/Source_Files/12_Advanced_Rendering_Techniques/01-Drawing_a_skybox/main.cpp.o
[ 56%] Building CXX object CMakeFiles/01-Drawing_a_skybox.dir/Samples/Common_Files/OS.cpp.o
CMakeFiles/04-Rendering_a_tesselated_terrain.dir/build.make:86: recipe for target 'CMakeFiles/04-Rendering_a_tesselated_terrain.dir/Samples/Common_Files/CookbookSampleFramework.cpp.o' failed
make[2]: *** [CMakeFiles/04-Rendering_a_tesselated_terrain.dir/Samples/Common_Files/CookbookSampleFramework.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 56%] Building CXX object CMakeFiles/14-Drawing_Single_Fullscreen_Triangle_For_Postprocessing.dir/Samples/Source_Files/Other/14-Drawing_Single_Fullscreen_Triangle_For_Postprocessing/main.cpp.o
[ 56%] Building CXX object CMakeFiles/04-Rendering_a_tesselated_terrain.dir/Samples/Source_Files/12_Advanced_Rendering_Techniques/04-Rendering_a_tesselated_terrain/main.cpp.o
CMakeFiles/14-Drawing_Single_Fullscreen_Triangle_For_Postprocessing.dir/build.make:86: recipe for target 'CMakeFiles/14-Drawing_Single_Fullscreen_Triangle_For_Postprocessing.dir/Samples/Common_Files/CookbookSampleFramework.cpp.o' failed
make[2]: *** [CMakeFiles/14-Drawing_Single_Fullscreen_Triangle_For_Postprocessing.dir/Samples/Common_Files/CookbookSampleFramework.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 56%] Building CXX object CMakeFiles/04-Rendering_a_tesselated_terrain.dir/Samples/Common_Files/OrbitingCamera.cpp.o
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/14-Drawing_Single_Fullscreen_Triangle_For_Postprocessing.dir/all' failed
make[1]: *** [CMakeFiles/14-Drawing_Single_Fullscreen_Triangle_For_Postprocessing.dir/all] Error 2
CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/04-Rendering_a_tesselated_terrain.dir/all' failed
make[1]: *** [CMakeFiles/04-Rendering_a_tesselated_terrain.dir/all] Error 2
CMakeFiles/Makefile2:215: recipe for target 'CMakeFiles/01-Drawing_a_skybox.dir/all' failed
make[1]: *** [CMakeFiles/01-Drawing_a_skybox.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

What should I do about it? What can be done about it?

thatrobotguy commented 4 years ago

I just wanted to say that this code still does not work.