tgfrerer / island

🌋🐎 Project Island is an experimental, hot-reloading Vulkan Renderer for Linux and Windows, written in C/C++.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed to build for 18.04

kylemcdonald opened this issue · comments

After installing vulkan-sdk, ninja, glfw3, glfw3-build. Also checked that gcc is up to date

kyle:~$ cd Desktop/ && git clone https://github.com/tgfrerer/island.git && cd island
Cloning into 'island'...
remote: Enumerating objects: 61, done.
remote: Counting objects: 100% (61/61), done.
remote: Compressing objects: 100% (39/39), done.
remote: Total 12774 (delta 23), reused 47 (delta 21), pack-reused 12713
Receiving objects: 100% (12774/12774), 3.44 MiB | 3.79 MiB/s, done.
Resolving deltas: 100% (8972/8972), done.
kyle:~/Desktop/island$ git submodule init
Submodule '3rdparty/src/glm' (https://github.com/g-truc/glm) registered for path '3rdparty/src/glm'
Submodule '3rdparty/src/imgui' (https://github.com/ocornut/imgui) registered for path '3rdparty/src/imgui'
Submodule 'modules/le_gltf/3rdparty/cgltf' (https://github.com/jkuhlmann/cgltf.git) registered for path 'modules/le_gltf/3rdparty/cgltf'
Submodule 'modules/le_tessellator/3rdparty/earcut.hpp' (https://github.com/mapbox/earcut.hpp) registered for path 'modules/le_tessellator/3rdparty/earcut.hpp'
Submodule 'modules/le_tessellator/3rdparty/libtess2' (https://github.com/memononen/libtess2) registered for path 'modules/le_tessellator/3rdparty/libtess2'
kyle:~/Desktop/island$ git submodule update --depth=1
Cloning into '/home/kyle/Desktop/island/3rdparty/src/glm'...
Cloning into '/home/kyle/Desktop/island/3rdparty/src/imgui'...
Cloning into '/home/kyle/Desktop/island/modules/le_gltf/3rdparty/cgltf'...
Cloning into '/home/kyle/Desktop/island/modules/le_tessellator/3rdparty/earcut.hpp'...
Cloning into '/home/kyle/Desktop/island/modules/le_tessellator/3rdparty/libtess2'...
remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
remote: Enumerating objects: 137, done.
remote: Counting objects: 100% (137/137), done.
remote: Compressing objects: 100% (52/52), done.
remote: Total 73 (delta 67), reused 23 (delta 21), pack-reused 0
Unpacking objects: 100% (73/73), done.
From https://github.com/g-truc/glm
 * branch            6bd53cc9e529cfb749f1badbbd23b1b8e6773651 -> FETCH_HEAD
Submodule path '3rdparty/src/glm': checked out '6bd53cc9e529cfb749f1badbbd23b1b8e6773651'
remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
remote: Enumerating objects: 257, done.
remote: Counting objects: 100% (257/257), done.
remote: Compressing objects: 100% (129/129), done.
remote: Total 141 (delta 108), reused 31 (delta 10), pack-reused 0
Receiving objects: 100% (141/141), 169.86 KiB | 2.26 MiB/s, done.
Resolving deltas: 100% (108/108), completed with 90 local objects.
From https://github.com/ocornut/imgui
 * branch            c12da2a60798d2b71b3804063c4de4d0653ef1a0 -> FETCH_HEAD
Submodule path '3rdparty/src/imgui': checked out 'c12da2a60798d2b71b3804063c4de4d0653ef1a0'
remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
remote: Enumerating objects: 19, done.
remote: Counting objects: 100% (19/19), done.
remote: Compressing objects: 100% (10/10), done.
remote: Total 10 (delta 7), reused 2 (delta 0), pack-reused 0
Unpacking objects: 100% (10/10), done.
From https://github.com/jkuhlmann/cgltf
 * branch            8447a41831560bebfe6953f96266f551c6cbe999 -> FETCH_HEAD
Submodule path 'modules/le_gltf/3rdparty/cgltf': checked out '8447a41831560bebfe6953f96266f551c6cbe999'
remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
remote: Enumerating objects: 17, done.
remote: Counting objects: 100% (17/17), done.
remote: Compressing objects: 100% (7/7), done.
remote: Total 9 (delta 6), reused 3 (delta 0), pack-reused 0
Unpacking objects: 100% (9/9), done.
From https://github.com/mapbox/earcut.hpp
 * branch            ee3637f5c762e61fa96a9cec63b265148a1dc12d -> FETCH_HEAD
Submodule path 'modules/le_tessellator/3rdparty/earcut.hpp': checked out 'ee3637f5c762e61fa96a9cec63b265148a1dc12d'
Submodule path 'modules/le_tessellator/3rdparty/libtess2': checked out 'fc52516467dfa124bdd967c15c7cf9faf02a34ca'
kyle:~/Desktop/island$ cd apps/examples/hello_triangle/
kyle:~/Desktop/island/apps/examples/hello_triangle$ mkdir build && cd build
kyle:~/Desktop/island/apps/examples/hello_triangle/build$ cmake -G Ninja ..
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Build type:
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
Imgui Build: generator is set to Ninja
-- Configuring done
-- Generating done
-- Build files have been written to: /home/kyle/Desktop/island/3rdparty/src/imgui/build
[1/6] Building CXX object CMakeFiles/imgui.dir/imgui_demo.cpp.o
[2/6] Building CXX object CMakeFiles/imgui.dir/imgui_draw.cpp.o
[3/6] Building CXX object CMakeFiles/imgui.dir/imgui_widgets.cpp.o
[4/6] Building CXX object CMakeFiles/imgui.dir/imgui.cpp.o
[5/6] Linking CXX static library libimgui.a
[5/6] Install the project...
-- Install configuration: ""
-- Installing: /home/kyle/Desktop/island/3rdparty/libs/imgui/libimgui.a
-- Installing: /home/kyle/Desktop/island/3rdparty/include/imgui/imconfig.h
-- Installing: /home/kyle/Desktop/island/3rdparty/include/imgui/imgui.h
-- Loading module  : le_camera
-- Loading module  : le_file_watcher
-- Loading module  : le_core
-- Loading module  : le_pipeline_builder
-- Loading module  : le_window
-- Loading module  : le_backend_vk
-- Loading module  : le_swapchain_vk
-- Loading module  : le_renderer
-- Loading module  : le_jobs
-- Loading module  : le_shader_compiler
-- Static libraries: hello_triangle_app;le_camera;le_file_watcher;le_core;le_pipeline_builder;le_window;le_backend_vk;le_swapchain_vk;le_renderer;le_jobs;le_shader_compiler
-- Loaded modules  : le_camera;le_file_watcher;le_core;le_pipeline_builder;le_window;le_backend_vk;le_swapchain_vk;le_renderer;le_jobs;le_shader_compiler
-- Configuring done
-- Generating done
-- Build files have been written to: /home/kyle/Desktop/island/apps/examples/hello_triangle/build
kyle:~/Desktop/island/apps/examples/hello_triangle/build$ ninja
[1/27] Building CXX object le_file_watcher/CMakeFiles/le_file_watcher.dir/le_file_watcher.cpp.o
FAILED: le_file_watcher/CMakeFiles/le_file_watcher.dir/le_file_watcher.cpp.o
/home/kyle/anaconda3/lib/python3.7/site-packages/cmake/data/bin/cmake -E time /usr/bin/c++   -I/home/kyle/Desktop/island/apps/examples/hello_triangle/../../../3rdparty/include/glm -I/home/kyle/Desktop/island/apps/examples/hello_triangle/../../../3rdparty/include -I/home/kyle/Desktop/island/apps/examples/hello_triangle/../../.. -I/home/kyle/Desktop/island/apps/examples/hello_triangle/../../../modules -std=gnu++1z -MD -MT le_file_watcher/CMakeFiles/le_file_watcher.dir/le_file_watcher.cpp.o -MF le_file_watcher/CMakeFiles/le_file_watcher.dir/le_file_watcher.cpp.o.d -o le_file_watcher/CMakeFiles/le_file_watcher.dir/le_file_watcher.cpp.o -c /home/kyle/Desktop/island/modules/le_file_watcher/le_file_watcher.cpp
/home/kyle/Desktop/island/modules/le_file_watcher/le_file_watcher.cpp:11:10: fatal error: filesystem: No such file or directory
 #include <filesystem>
          ^~~~~~~~~~~~
compilation terminated.
Elapsed time: 0 s. (time), 0.00057 s. (clock)
[2/27] Linking CXX static library modules/lible_window.a
Elapsed time: 0 s. (time), 0.000536 s. (clock)
Elapsed time: 0 s. (time), 0.000391 s. (clock)
Elapsed time: 0 s. (time), 0.00033 s. (clock)
[3/27] Building CXX object le_renderer/CMakeFiles/le_renderer.dir/le_rendergraph.cpp.o
FAILED: le_renderer/CMakeFiles/le_renderer.dir/le_rendergraph.cpp.o
/home/kyle/anaconda3/lib/python3.7/site-packages/cmake/data/bin/cmake -E time /usr/bin/c++   -I/home/kyle/Desktop/island/apps/examples/hello_triangle/../../../3rdparty/include/glm -I/home/kyle/Desktop/island/apps/examples/hello_triangle/../../../3rdparty/include -I/home/kyle/Desktop/island/apps/examples/hello_triangle/../../.. -I/home/kyle/Desktop/island/apps/examples/hello_triangle/../../../modules -std=gnu++1z -MD -MT le_renderer/CMakeFiles/le_renderer.dir/le_rendergraph.cpp.o -MF le_renderer/CMakeFiles/le_renderer.dir/le_rendergraph.cpp.o.d -o le_renderer/CMakeFiles/le_renderer.dir/le_rendergraph.cpp.o -c /home/kyle/Desktop/island/modules/le_renderer/le_rendergraph.cpp
/home/kyle/Desktop/island/modules/le_renderer/le_rendergraph.cpp:12:10: fatal error: filesystem: No such file or directory
 #include <filesystem>
          ^~~~~~~~~~~~
compilation terminated.
Elapsed time: 0 s. (time), 0.000358 s. (clock)
[4/27] Building CXX object le_backend_vk/CMakeFiles/le_backend_vk.dir/le_pipeline.cpp.o
FAILED: le_backend_vk/CMakeFiles/le_backend_vk.dir/le_pipeline.cpp.o
/home/kyle/anaconda3/lib/python3.7/site-packages/cmake/data/bin/cmake -E time /usr/bin/c++  -DVK_ENABLE_BETA_EXTENSIONS=1 -DVMA_USE_STL_CONTAINERS=1 -DVULKAN_HPP_NO_SMART_HANDLE -I/home/kyle/Desktop/island/apps/examples/hello_triangle/../../../3rdparty/include/glm -I/home/kyle/Desktop/island/apps/examples/hello_triangle/../../../3rdparty/include -I/home/kyle/Desktop/island/apps/examples/hello_triangle/../../.. -I/home/kyle/Desktop/island/apps/examples/hello_triangle/../../../modules -std=gnu++1z -MD -MT le_backend_vk/CMakeFiles/le_backend_vk.dir/le_pipeline.cpp.o -MF le_backend_vk/CMakeFiles/le_backend_vk.dir/le_pipeline.cpp.o.d -o le_backend_vk/CMakeFiles/le_backend_vk.dir/le_pipeline.cpp.o -c /home/kyle/Desktop/island/modules/le_backend_vk/le_pipeline.cpp
/home/kyle/Desktop/island/modules/le_backend_vk/le_pipeline.cpp:10:10: fatal error: filesystem: No such file or directory
 #include <filesystem> // for parsing shader source file paths
          ^~~~~~~~~~~~
compilation terminated.
Elapsed time: 0 s. (time), 0.000564 s. (clock)
[5/27] Building CXX object le_renderer/CMakeFiles/le_renderer.dir/le_renderer.cpp.o
FAILED: le_renderer/CMakeFiles/le_renderer.dir/le_renderer.cpp.o
/home/kyle/anaconda3/lib/python3.7/site-packages/cmake/data/bin/cmake -E time /usr/bin/c++   -I/home/kyle/Desktop/island/apps/examples/hello_triangle/../../../3rdparty/include/glm -I/home/kyle/Desktop/island/apps/examples/hello_triangle/../../../3rdparty/include -I/home/kyle/Desktop/island/apps/examples/hello_triangle/../../.. -I/home/kyle/Desktop/island/apps/examples/hello_triangle/../../../modules -std=gnu++1z -MD -MT le_renderer/CMakeFiles/le_renderer.dir/le_renderer.cpp.o -MF le_renderer/CMakeFiles/le_renderer.dir/le_renderer.cpp.o.d -o le_renderer/CMakeFiles/le_renderer.dir/le_renderer.cpp.o -c /home/kyle/Desktop/island/modules/le_renderer/le_renderer.cpp
/home/kyle/Desktop/island/modules/le_renderer/le_renderer.cpp: In function ‘le_texture_handle_t* renderer_produce_texture_handle(const char*)’:
/home/kyle/Desktop/island/modules/le_renderer/le_renderer.cpp:115:24: error: ‘find_if’ is not a member of ‘std’
   auto found_el = std::find_if(
                        ^~~~~~~
/home/kyle/Desktop/island/modules/le_renderer/le_renderer.cpp:115:24: note: suggested alternative: ‘find’
   auto found_el = std::find_if(
                        ^~~~~~~
                        find
Elapsed time: 0 s. (time), 0.000388 s. (clock)
[6/27] Building CXX object le_renderer/CMakeFiles/le_renderer.dir/le_command_buffer_encoder.cpp.o
FAILED: le_renderer/CMakeFiles/le_renderer.dir/le_command_buffer_encoder.cpp.o
/home/kyle/anaconda3/lib/python3.7/site-packages/cmake/data/bin/cmake -E time /usr/bin/c++   -I/home/kyle/Desktop/island/apps/examples/hello_triangle/../../../3rdparty/include/glm -I/home/kyle/Desktop/island/apps/examples/hello_triangle/../../../3rdparty/include -I/home/kyle/Desktop/island/apps/examples/hello_triangle/../../.. -I/home/kyle/Desktop/island/apps/examples/hello_triangle/../../../modules -std=gnu++1z -MD -MT le_renderer/CMakeFiles/le_renderer.dir/le_command_buffer_encoder.cpp.o -MF le_renderer/CMakeFiles/le_renderer.dir/le_command_buffer_encoder.cpp.o.d -o le_renderer/CMakeFiles/le_renderer.dir/le_command_buffer_encoder.cpp.o -c /home/kyle/Desktop/island/modules/le_renderer/le_command_buffer_encoder.cpp
/home/kyle/Desktop/island/modules/le_renderer/le_command_buffer_encoder.cpp: In lambda function:
/home/kyle/Desktop/island/modules/le_renderer/le_command_buffer_encoder.cpp:544:25: error: ‘max_element’ is not a member of ‘std’
   return uint32_t( std::max_element( shader_vec.begin(), shader_vec.end(), compare_fun )->parameters.size() );
                         ^~~~~~~~~~~
/home/kyle/Desktop/island/modules/le_renderer/le_command_buffer_encoder.cpp:544:25: note: suggested alternative: ‘tuple_element’
   return uint32_t( std::max_element( shader_vec.begin(), shader_vec.end(), compare_fun )->parameters.size() );
                         ^~~~~~~~~~~
                         tuple_element
Elapsed time: 0 s. (time), 0.00041 s. (clock)
[7/27] Building CXX object le_swapchain_vk/CMakeFiles/le_swapchain_vk.dir/le_swapchain_img.cpp.o
FAILED: le_swapchain_vk/CMakeFiles/le_swapchain_vk.dir/le_swapchain_img.cpp.o
/home/kyle/anaconda3/lib/python3.7/site-packages/cmake/data/bin/cmake -E time /usr/bin/c++   -I/home/kyle/Desktop/island/apps/examples/hello_triangle/../../../3rdparty/include/glm -I/home/kyle/Desktop/island/apps/examples/hello_triangle/../../../3rdparty/include -I/home/kyle/Desktop/island/apps/examples/hello_triangle/../../.. -I/home/kyle/Desktop/island/apps/examples/hello_triangle/../../../modules -std=gnu++1z -MD -MT le_swapchain_vk/CMakeFiles/le_swapchain_vk.dir/le_swapchain_img.cpp.o -MF le_swapchain_vk/CMakeFiles/le_swapchain_vk.dir/le_swapchain_img.cpp.o.d -o le_swapchain_vk/CMakeFiles/le_swapchain_vk.dir/le_swapchain_img.cpp.o -c /home/kyle/Desktop/island/modules/le_swapchain_vk/le_swapchain_img.cpp
In file included from /home/kyle/Desktop/island/modules/le_swapchain_vk/le_swapchain_img.cpp:4:0:
/usr/include/vulkan/vulkan.hpp:13471:22: error: ‘UniqueHandle’ was not declared in this scope
   struct ResultValue<UniqueHandle<Type,Dispatch>>
                      ^~~~~~~~~~~~
/usr/include/vulkan/vulkan.hpp:13471:40: error: wrong number of template arguments (2, should be 1)
   struct ResultValue<UniqueHandle<Type,Dispatch>>
                                        ^~~~~~~~
/usr/include/vulkan/vulkan.hpp:13426:10: note: provided for ‘template<class T> struct vk::ResultValue’
   struct ResultValue
          ^~~~~~~~~~~
/usr/include/vulkan/vulkan.hpp:13471:48: error: expected unqualified-id before ‘>’ token
   struct ResultValue<UniqueHandle<Type,Dispatch>>
                                                ^~
Elapsed time: 1 s. (time), 0.000727 s. (clock)
[8/27] Building CXX object le_swapchain_vk/CMakeFiles/le_swapchain_vk.dir/le_swapchain_khr.cpp.o
FAILED: le_swapchain_vk/CMakeFiles/le_swapchain_vk.dir/le_swapchain_khr.cpp.o
/home/kyle/anaconda3/lib/python3.7/site-packages/cmake/data/bin/cmake -E time /usr/bin/c++   -I/home/kyle/Desktop/island/apps/examples/hello_triangle/../../../3rdparty/include/glm -I/home/kyle/Desktop/island/apps/examples/hello_triangle/../../../3rdparty/include -I/home/kyle/Desktop/island/apps/examples/hello_triangle/../../.. -I/home/kyle/Desktop/island/apps/examples/hello_triangle/../../../modules -std=gnu++1z -MD -MT le_swapchain_vk/CMakeFiles/le_swapchain_vk.dir/le_swapchain_khr.cpp.o -MF le_swapchain_vk/CMakeFiles/le_swapchain_vk.dir/le_swapchain_khr.cpp.o.d -o le_swapchain_vk/CMakeFiles/le_swapchain_vk.dir/le_swapchain_khr.cpp.o -c /home/kyle/Desktop/island/modules/le_swapchain_vk/le_swapchain_khr.cpp
In file included from /home/kyle/Desktop/island/modules/le_swapchain_vk/le_swapchain_khr.cpp:6:0:
/usr/include/vulkan/vulkan.hpp:13471:22: error: ‘UniqueHandle’ was not declared in this scope
   struct ResultValue<UniqueHandle<Type,Dispatch>>
                      ^~~~~~~~~~~~
/usr/include/vulkan/vulkan.hpp:13471:40: error: wrong number of template arguments (2, should be 1)
   struct ResultValue<UniqueHandle<Type,Dispatch>>
                                        ^~~~~~~~
/usr/include/vulkan/vulkan.hpp:13426:10: note: provided for ‘template<class T> struct vk::ResultValue’
   struct ResultValue
          ^~~~~~~~~~~
/usr/include/vulkan/vulkan.hpp:13471:48: error: expected unqualified-id before ‘>’ token
   struct ResultValue<UniqueHandle<Type,Dispatch>>
                                                ^~
Elapsed time: 1 s. (time), 0.000629 s. (clock)
[9/27] Building CXX object le_backend_vk/CMakeFiles/le_backend_vk.dir/le_instance_vk.cpp.o
FAILED: le_backend_vk/CMakeFiles/le_backend_vk.dir/le_instance_vk.cpp.o
/home/kyle/anaconda3/lib/python3.7/site-packages/cmake/data/bin/cmake -E time /usr/bin/c++  -DVK_ENABLE_BETA_EXTENSIONS=1 -DVMA_USE_STL_CONTAINERS=1 -DVULKAN_HPP_NO_SMART_HANDLE -I/home/kyle/Desktop/island/apps/examples/hello_triangle/../../../3rdparty/include/glm -I/home/kyle/Desktop/island/apps/examples/hello_triangle/../../../3rdparty/include -I/home/kyle/Desktop/island/apps/examples/hello_triangle/../../.. -I/home/kyle/Desktop/island/apps/examples/hello_triangle/../../../modules -std=gnu++1z -MD -MT le_backend_vk/CMakeFiles/le_backend_vk.dir/le_instance_vk.cpp.o -MF le_backend_vk/CMakeFiles/le_backend_vk.dir/le_instance_vk.cpp.o.d -o le_backend_vk/CMakeFiles/le_backend_vk.dir/le_instance_vk.cpp.o -c /home/kyle/Desktop/island/modules/le_backend_vk/le_instance_vk.cpp
In file included from /home/kyle/Desktop/island/modules/le_backend_vk/le_instance_vk.cpp:3:0:
/usr/include/vulkan/vulkan.hpp:13471:22: error: ‘UniqueHandle’ was not declared in this scope
   struct ResultValue<UniqueHandle<Type,Dispatch>>
                      ^~~~~~~~~~~~
/usr/include/vulkan/vulkan.hpp:13471:40: error: wrong number of template arguments (2, should be 1)
   struct ResultValue<UniqueHandle<Type,Dispatch>>
                                        ^~~~~~~~
/usr/include/vulkan/vulkan.hpp:13426:10: note: provided for ‘template<class T> struct vk::ResultValue’
   struct ResultValue
          ^~~~~~~~~~~
/usr/include/vulkan/vulkan.hpp:13471:48: error: expected unqualified-id before ‘>’ token
   struct ResultValue<UniqueHandle<Type,Dispatch>>
                                                ^~
Elapsed time: 1 s. (time), 0.000627 s. (clock)
[10/27] Building CXX object le_backend_vk/CMakeFiles/le_backend_vk.dir/le_device_vk.cpp.o
FAILED: le_backend_vk/CMakeFiles/le_backend_vk.dir/le_device_vk.cpp.o
/home/kyle/anaconda3/lib/python3.7/site-packages/cmake/data/bin/cmake -E time /usr/bin/c++  -DVK_ENABLE_BETA_EXTENSIONS=1 -DVMA_USE_STL_CONTAINERS=1 -DVULKAN_HPP_NO_SMART_HANDLE -I/home/kyle/Desktop/island/apps/examples/hello_triangle/../../../3rdparty/include/glm -I/home/kyle/Desktop/island/apps/examples/hello_triangle/../../../3rdparty/include -I/home/kyle/Desktop/island/apps/examples/hello_triangle/../../.. -I/home/kyle/Desktop/island/apps/examples/hello_triangle/../../../modules -std=gnu++1z -MD -MT le_backend_vk/CMakeFiles/le_backend_vk.dir/le_device_vk.cpp.o -MF le_backend_vk/CMakeFiles/le_backend_vk.dir/le_device_vk.cpp.o.d -o le_backend_vk/CMakeFiles/le_backend_vk.dir/le_device_vk.cpp.o -c /home/kyle/Desktop/island/modules/le_backend_vk/le_device_vk.cpp
In file included from /home/kyle/Desktop/island/modules/le_backend_vk/le_backend_types_internal.h:7:0,
                 from /home/kyle/Desktop/island/modules/le_backend_vk/le_device_vk.cpp:2:
/usr/include/vulkan/vulkan.hpp:13471:22: error: ‘UniqueHandle’ was not declared in this scope
   struct ResultValue<UniqueHandle<Type,Dispatch>>
                      ^~~~~~~~~~~~
/usr/include/vulkan/vulkan.hpp:13471:40: error: wrong number of template arguments (2, should be 1)
   struct ResultValue<UniqueHandle<Type,Dispatch>>
                                        ^~~~~~~~
/usr/include/vulkan/vulkan.hpp:13426:10: note: provided for ‘template<class T> struct vk::ResultValue’
   struct ResultValue
          ^~~~~~~~~~~
/usr/include/vulkan/vulkan.hpp:13471:48: error: expected unqualified-id before ‘>’ token
   struct ResultValue<UniqueHandle<Type,Dispatch>>
                                                ^~
Elapsed time: 2 s. (time), 0.00066 s. (clock)
[11/27] Building CXX object le_swapchain_vk/CMakeFiles/le_swapchain_vk.dir/le_swapchain_direct.cpp.o
FAILED: le_swapchain_vk/CMakeFiles/le_swapchain_vk.dir/le_swapchain_direct.cpp.o
/home/kyle/anaconda3/lib/python3.7/site-packages/cmake/data/bin/cmake -E time /usr/bin/c++   -I/home/kyle/Desktop/island/apps/examples/hello_triangle/../../../3rdparty/include/glm -I/home/kyle/Desktop/island/apps/examples/hello_triangle/../../../3rdparty/include -I/home/kyle/Desktop/island/apps/examples/hello_triangle/../../.. -I/home/kyle/Desktop/island/apps/examples/hello_triangle/../../../modules -std=gnu++1z -MD -MT le_swapchain_vk/CMakeFiles/le_swapchain_vk.dir/le_swapchain_direct.cpp.o -MF le_swapchain_vk/CMakeFiles/le_swapchain_vk.dir/le_swapchain_direct.cpp.o.d -o le_swapchain_vk/CMakeFiles/le_swapchain_vk.dir/le_swapchain_direct.cpp.o -c /home/kyle/Desktop/island/modules/le_swapchain_vk/le_swapchain_direct.cpp
In file included from /home/kyle/Desktop/island/modules/le_swapchain_vk/le_swapchain_direct.cpp:8:0:
/usr/include/vulkan/vulkan.hpp:13471:22: error: ‘UniqueHandle’ was not declared in this scope
   struct ResultValue<UniqueHandle<Type,Dispatch>>
                      ^~~~~~~~~~~~
/usr/include/vulkan/vulkan.hpp:13471:40: error: wrong number of template arguments (2, should be 1)
   struct ResultValue<UniqueHandle<Type,Dispatch>>
                                        ^~~~~~~~
/usr/include/vulkan/vulkan.hpp:13426:10: note: provided for ‘template<class T> struct vk::ResultValue’
   struct ResultValue
          ^~~~~~~~~~~
/usr/include/vulkan/vulkan.hpp:13471:48: error: expected unqualified-id before ‘>’ token
   struct ResultValue<UniqueHandle<Type,Dispatch>>
                                                ^~
Elapsed time: 2 s. (time), 0.000701 s. (clock)
[12/27] Building CXX object le_backend_vk/CMakeFiles/le_backend_vk.dir/le_allocator.cpp.o
FAILED: le_backend_vk/CMakeFiles/le_backend_vk.dir/le_allocator.cpp.o
/home/kyle/anaconda3/lib/python3.7/site-packages/cmake/data/bin/cmake -E time /usr/bin/c++  -DVK_ENABLE_BETA_EXTENSIONS=1 -DVMA_USE_STL_CONTAINERS=1 -DVULKAN_HPP_NO_SMART_HANDLE -I/home/kyle/Desktop/island/apps/examples/hello_triangle/../../../3rdparty/include/glm -I/home/kyle/Desktop/island/apps/examples/hello_triangle/../../../3rdparty/include -I/home/kyle/Desktop/island/apps/examples/hello_triangle/../../.. -I/home/kyle/Desktop/island/apps/examples/hello_triangle/../../../modules -std=gnu++1z -MD -MT le_backend_vk/CMakeFiles/le_backend_vk.dir/le_allocator.cpp.o -MF le_backend_vk/CMakeFiles/le_backend_vk.dir/le_allocator.cpp.o.d -o le_backend_vk/CMakeFiles/le_backend_vk.dir/le_allocator.cpp.o -c /home/kyle/Desktop/island/modules/le_backend_vk/le_allocator.cpp
In file included from /home/kyle/Desktop/island/modules/le_backend_vk/le_allocator.cpp:7:0:
/usr/include/vulkan/vulkan.hpp:13471:22: error: ‘UniqueHandle’ was not declared in this scope
   struct ResultValue<UniqueHandle<Type,Dispatch>>
                      ^~~~~~~~~~~~
/usr/include/vulkan/vulkan.hpp:13471:40: error: wrong number of template arguments (2, should be 1)
   struct ResultValue<UniqueHandle<Type,Dispatch>>
                                        ^~~~~~~~
/usr/include/vulkan/vulkan.hpp:13426:10: note: provided for ‘template<class T> struct vk::ResultValue’
   struct ResultValue
          ^~~~~~~~~~~
/usr/include/vulkan/vulkan.hpp:13471:48: error: expected unqualified-id before ‘>’ token
   struct ResultValue<UniqueHandle<Type,Dispatch>>
                                                ^~
Elapsed time: 2 s. (time), 0.000637 s. (clock)
[13/27] Building CXX object le_pipeline_builder/CMakeFiles/le_pipeline_builder.dir/le_pipeline_builder.cpp.o
FAILED: le_pipeline_builder/CMakeFiles/le_pipeline_builder.dir/le_pipeline_builder.cpp.o
/home/kyle/anaconda3/lib/python3.7/site-packages/cmake/data/bin/cmake -E time /usr/bin/c++  -DLE_FEATURE_RTX -DVK_ENABLE_BETA_EXTENSIONS=1 -DVULKAN_HPP_NO_SMART_HANDLE -I/home/kyle/Desktop/island/apps/examples/hello_triangle/../../../3rdparty/include/glm -I/home/kyle/Desktop/island/apps/examples/hello_triangle/../../../3rdparty/include -I/home/kyle/Desktop/island/apps/examples/hello_triangle/../../.. -I/home/kyle/Desktop/island/apps/examples/hello_triangle/../../../modules -std=gnu++1z -MD -MT le_pipeline_builder/CMakeFiles/le_pipeline_builder.dir/le_pipeline_builder.cpp.o -MF le_pipeline_builder/CMakeFiles/le_pipeline_builder.dir/le_pipeline_builder.cpp.o.d -o le_pipeline_builder/CMakeFiles/le_pipeline_builder.dir/le_pipeline_builder.cpp.o -c /home/kyle/Desktop/island/modules/le_pipeline_builder/le_pipeline_builder.cpp
In file included from /home/kyle/Desktop/island/apps/examples/hello_triangle/../../../modules/le_backend_vk/le_backend_types_internal.h:7:0,
                 from /home/kyle/Desktop/island/modules/le_pipeline_builder/le_pipeline_builder.cpp:9:
/usr/include/vulkan/vulkan.hpp:13471:22: error: ‘UniqueHandle’ was not declared in this scope
   struct ResultValue<UniqueHandle<Type,Dispatch>>
                      ^~~~~~~~~~~~
/usr/include/vulkan/vulkan.hpp:13471:40: error: wrong number of template arguments (2, should be 1)
   struct ResultValue<UniqueHandle<Type,Dispatch>>
                                        ^~~~~~~~
/usr/include/vulkan/vulkan.hpp:13426:10: note: provided for ‘template<class T> struct vk::ResultValue’
   struct ResultValue
          ^~~~~~~~~~~
/usr/include/vulkan/vulkan.hpp:13471:48: error: expected unqualified-id before ‘>’ token
   struct ResultValue<UniqueHandle<Type,Dispatch>>
                                                ^~
Elapsed time: 2 s. (time), 0.00068 s. (clock)
[14/27] Building CXX object le_backend_vk/CMakeFiles/le_backend_vk.dir/le_backend_vk.cpp.o
FAILED: le_backend_vk/CMakeFiles/le_backend_vk.dir/le_backend_vk.cpp.o
/home/kyle/anaconda3/lib/python3.7/site-packages/cmake/data/bin/cmake -E time /usr/bin/c++  -DVK_ENABLE_BETA_EXTENSIONS=1 -DVMA_USE_STL_CONTAINERS=1 -DVULKAN_HPP_NO_SMART_HANDLE -I/home/kyle/Desktop/island/apps/examples/hello_triangle/../../../3rdparty/include/glm -I/home/kyle/Desktop/island/apps/examples/hello_triangle/../../../3rdparty/include -I/home/kyle/Desktop/island/apps/examples/hello_triangle/../../.. -I/home/kyle/Desktop/island/apps/examples/hello_triangle/../../../modules -std=gnu++1z -MD -MT le_backend_vk/CMakeFiles/le_backend_vk.dir/le_backend_vk.cpp.o -MF le_backend_vk/CMakeFiles/le_backend_vk.dir/le_backend_vk.cpp.o.d -o le_backend_vk/CMakeFiles/le_backend_vk.dir/le_backend_vk.cpp.o -c /home/kyle/Desktop/island/modules/le_backend_vk/le_backend_vk.cpp
In file included from /home/kyle/Desktop/island/apps/examples/hello_triangle/../../../modules/le_backend_vk/le_backend_types_internal.h:7:0,
                 from /home/kyle/Desktop/island/modules/le_backend_vk/le_backend_vk.cpp:6:
/usr/include/vulkan/vulkan.hpp:13471:22: error: ‘UniqueHandle’ was not declared in this scope
   struct ResultValue<UniqueHandle<Type,Dispatch>>
                      ^~~~~~~~~~~~
/usr/include/vulkan/vulkan.hpp:13471:40: error: wrong number of template arguments (2, should be 1)
   struct ResultValue<UniqueHandle<Type,Dispatch>>
                                        ^~~~~~~~
/usr/include/vulkan/vulkan.hpp:13426:10: note: provided for ‘template<class T> struct vk::ResultValue’
   struct ResultValue
          ^~~~~~~~~~~
/usr/include/vulkan/vulkan.hpp:13471:48: error: expected unqualified-id before ‘>’ token
   struct ResultValue<UniqueHandle<Type,Dispatch>>
                                                ^~
/home/kyle/Desktop/island/modules/le_backend_vk/le_backend_vk.cpp: In function ‘void backend_create_descriptor_pools(BackendFrameData&, vk::Device&, size_t)’:
/home/kyle/Desktop/island/modules/le_backend_vk/le_backend_vk.cpp:2183:32: error: ‘VK_DESCRIPTOR_TYPE_RANGE_SIZE’ was not declared in this scope
   descriptorPoolSizes.reserve( VK_DESCRIPTOR_TYPE_RANGE_SIZE );
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/kyle/Desktop/island/modules/le_backend_vk/le_backend_vk.cpp:2183:32: note: suggested alternative: ‘VK_DESCRIPTOR_TYPE_MAX_ENUM’
   descriptorPoolSizes.reserve( VK_DESCRIPTOR_TYPE_RANGE_SIZE );
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                VK_DESCRIPTOR_TYPE_MAX_ENUM
/home/kyle/Desktop/island/modules/le_backend_vk/le_backend_vk.cpp:2185:20: error: ‘VK_DESCRIPTOR_TYPE_BEGIN_RANGE’ was not declared in this scope
   for ( size_t i = VK_DESCRIPTOR_TYPE_BEGIN_RANGE; i != VK_DESCRIPTOR_TYPE_BEGIN_RANGE + VK_DESCRIPTOR_TYPE_RANGE_SIZE; ++i ) {
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/kyle/Desktop/island/modules/le_backend_vk/le_backend_vk.cpp:2185:20: note: suggested alternative: ‘VK_DESCRIPTOR_TYPE_MAX_ENUM’
   for ( size_t i = VK_DESCRIPTOR_TYPE_BEGIN_RANGE; i != VK_DESCRIPTOR_TYPE_BEGIN_RANGE + VK_DESCRIPTOR_TYPE_RANGE_SIZE; ++i ) {
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                    VK_DESCRIPTOR_TYPE_MAX_ENUM
Elapsed time: 2 s. (time), 0.000861 s. (clock)
ninja: build stopped: subcommand failed.

/home/kyle/Desktop/island/modules/le_file_watcher/le_file_watcher.cpp:11:10: fatal error: filesystem: No such file or directory
#include
^~~~~~~~~~~~

might be the crucial line here - i’ve been working on the latest version of gcc, on the latest version of ubuntu, 20.04, which i recommend - it looks like std::filesystem was not yet available in cpp outside experimental in 18.04 and its version of gcc...

I am getting this exact same issue reported by @kylemcdonald on macOS Catalina.

I am fairly certain that part of this is an outdated compiler. find_if in this form is a c++17 feature and so is std::filesystem. gcc on ubuntu can be upgraded with https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/ppa?field.series_filter=bionic
But using 20.04 is really worth it, especially with all the fine tuning gnome has received...

thanks! when i upgrade i will try again. right now i am on 18.04 for a while longer due to cuda & tensorflow compatibilities. these tend to lag a bit, maybe another 6-8 months.

I'm closing this issue as there are currently no plans for backporting to ubuntu 18.04. That said, current Ubuntu, and Arch Linux versions should work.