Advertisement
Guest User

Untitled

a guest
Apr 28th, 2023
15
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 34.64 KB | None | 0 0
  1. PS Z:\island\apps\examples\hello_triangle\build> ninja
  2. [1/31] Building C object le_backend_vk/CMakeFiles/le_backend_vk.dir/util/spirv_reflect/spirv_reflect.c.obj
  3. FAILED: le_backend_vk/CMakeFiles/le_backend_vk.dir/util/spirv_reflect/spirv_reflect.c.obj
  4. C:\msys64\ucrt64\bin\cc.exe -DSPIRV_REFLECT_USE_SYSTEM_SPIRV_H -DVK_NO_PROTOTYPES -IZ:/island -IZ:/island/modules/le_core -IZ:/island/3rdparty/src/glm -IC:/VulkanSDK/1.3.243.0/include -IZ:/island/modules/le_camera -IZ:/island/modules/le_pipeline_builder -IZ:/island/modules/le_renderer -IZ:/island/modules/le_ui_event -IZ:/island/modules/le_window -IZ:/island/modules/le_log -IZ:/island/modules/le_file_watcher -IZ:/island/modules/le_backend_vk -IZ:/island/modules/le_shader_compiler -IZ:/island/modules/le_swapchain_vk -MD -MT le_backend_vk/CMakeFiles/le_backend_vk.dir/util/spirv_reflect/spirv_reflect.c.obj -MF le_backend_vk\CMakeFiles\le_backend_vk.dir\util\spirv_reflect\spirv_reflect.c.obj.d -o le_backend_vk/CMakeFiles/le_backend_vk.dir/util/spirv_reflect/spirv_reflect.c.obj -c Z:/island/modules/le_backend_vk/util/spirv_reflect/spirv_reflect.c
  5. In file included from Z:/island/modules/le_backend_vk/util/spirv_reflect/spirv_reflect.c:17:
  6. Z:/island/modules/le_backend_vk/util/spirv_reflect/spirv_reflect.h:36:10: fatal error: spirv/unified1/spirv.h: No such file or directory
  7. 36 | #include <spirv/unified1/spirv.h>
  8. | ^~~~~~~~~~~~~~~~~~~~~~~~
  9. compilation terminated.
  10. [6/31] Building CXX object le_backend_vk/CMakeFiles/le_backend_vk.dir/le_pipeline.cpp.obj
  11. FAILED: le_backend_vk/CMakeFiles/le_backend_vk.dir/le_pipeline.cpp.obj
  12. C:\msys64\ucrt64\bin\c++.exe -DSPIRV_REFLECT_USE_SYSTEM_SPIRV_H -DVK_NO_PROTOTYPES -IZ:/island -IZ:/island/modules/le_core -IZ:/island/3rdparty/src/glm -IC:/VulkanSDK/1.3.243.0/include -IZ:/island/modules/le_camera -IZ:/island/modules/le_pipeline_builder -IZ:/island/modules/le_renderer -IZ:/island/modules/le_ui_event -IZ:/island/modules/le_window -IZ:/island/modules/le_log -IZ:/island/modules/le_file_watcher -IZ:/island/modules/le_backend_vk -IZ:/island/modules/le_shader_compiler -IZ:/island/modules/le_swapchain_vk -std=gnu++20 -MD -MT le_backend_vk/CMakeFiles/le_backend_vk.dir/le_pipeline.cpp.obj -MF le_backend_vk\CMakeFiles\le_backend_vk.dir\le_pipeline.cpp.obj.d -o le_backend_vk/CMakeFiles/le_backend_vk.dir/le_pipeline.cpp.obj -c Z:/island/modules/le_backend_vk/le_pipeline.cpp
  13. In file included from Z:/island/modules/le_backend_vk/le_pipeline.cpp:20:
  14. Z:/island/modules/le_backend_vk/util/spirv_reflect/spirv_reflect.h:36:10: fatal error: spirv/unified1/spirv.h: No such file or directory
  15. 36 | #include <spirv/unified1/spirv.h>
  16. | ^~~~~~~~~~~~~~~~~~~~~~~~
  17. compilation terminated.
  18. [9/31] Building CXX object le_renderer/CMakeFiles/le_renderer.dir/le_command_buffer_encoder.cpp.obj
  19. FAILED: le_renderer/CMakeFiles/le_renderer.dir/le_command_buffer_encoder.cpp.obj
  20. C:\msys64\ucrt64\bin\c++.exe -IZ:/island -IZ:/island/modules/le_core -IZ:/island/3rdparty/src/glm -IC:/VulkanSDK/1.3.243.0/include -IZ:/island/modules/le_camera -IZ:/island/modules/le_pipeline_builder -IZ:/island/modules/le_renderer -IZ:/island/modules/le_backend_vk -IZ:/island/modules/le_swapchain_vk -IZ:/island/modules/le_jobs -IZ:/island/modules/le_log -std=gnu++20 -MD -MT le_renderer/CMakeFiles/le_renderer.dir/le_command_buffer_encoder.cpp.obj -MF le_renderer\CMakeFiles\le_renderer.dir\le_command_buffer_encoder.cpp.obj.d -o le_renderer/CMakeFiles/le_renderer.dir/le_command_buffer_encoder.cpp.obj -c Z:/island/modules/le_renderer/le_command_buffer_encoder.cpp
  21. Z:/island/modules/le_renderer/le_command_buffer_encoder.cpp: In function 'void cbe_set_vertex_data(le_command_buffer_encoder_o*, const void*, uint64_t, uint32_t, le_renderer_api::command_buffer_encoder_interface_t::buffer_binding_info_o*)':
  22. Z:/island/modules/le_renderer/le_command_buffer_encoder.cpp:15:36: error: '__FUNCSIG__' was not declared in this scope
  23. 15 | # define __PRETTY_FUNCTION__ __FUNCSIG__
  24. | ^~~~~~~~~~~
  25. Z:/island/modules/le_renderer/le_command_buffer_encoder.cpp:364:42: note: in expansion of macro '__PRETTY_FUNCTION__'
  26. 364 | std::cerr << "ERROR " << __PRETTY_FUNCTION__ << " could not allocate " << numBytes << " Bytes." << std::endl
  27. | ^~~~~~~~~~~~~~~~~~~
  28. Z:/island/modules/le_renderer/le_command_buffer_encoder.cpp: In function 'void cbe_set_index_data(le_command_buffer_encoder_o*, const void*, uint64_t, const le::IndexType&, le_renderer_api::command_buffer_encoder_interface_t::buffer_binding_info_o*)':
  29. Z:/island/modules/le_renderer/le_command_buffer_encoder.cpp:15:36: error: '__FUNCSIG__' was not declared in this scope
  30. 15 | # define __PRETTY_FUNCTION__ __FUNCSIG__
  31. | ^~~~~~~~~~~
  32. Z:/island/modules/le_renderer/le_command_buffer_encoder.cpp:404:42: note: in expansion of macro '__PRETTY_FUNCTION__'
  33. 404 | std::cerr << "ERROR " << __PRETTY_FUNCTION__ << " could not allocate " << numBytes << " Bytes." << std::endl
  34. | ^~~~~~~~~~~~~~~~~~~
  35. Z:/island/modules/le_renderer/le_command_buffer_encoder.cpp: In function 'void cbe_set_argument_data(le_command_buffer_encoder_o*, uint64_t, const void*, size_t)':
  36. Z:/island/modules/le_renderer/le_command_buffer_encoder.cpp:15:36: error: '__FUNCSIG__' was not declared in this scope
  37. 15 | # define __PRETTY_FUNCTION__ __FUNCSIG__
  38. | ^~~~~~~~~~~
  39. Z:/island/modules/le_renderer/le_command_buffer_encoder.cpp:454:42: note: in expansion of macro '__PRETTY_FUNCTION__'
  40. 454 | std::cerr << "ERROR " << __PRETTY_FUNCTION__ << " could not allocate " << numBytes << " Bytes." << std::endl
  41. | ^~~~~~~~~~~~~~~~~~~
  42. Z:/island/modules/le_renderer/le_command_buffer_encoder.cpp: In function 'void cbe_write_to_buffer(le_command_buffer_encoder_o*, le_buf_resource_handle_t* const&, size_t, const void*, size_t)':
  43. Z:/island/modules/le_renderer/le_command_buffer_encoder.cpp:15:36: error: '__FUNCSIG__' was not declared in this scope
  44. 15 | # define __PRETTY_FUNCTION__ __FUNCSIG__
  45. | ^~~~~~~~~~~
  46. Z:/island/modules/le_renderer/le_command_buffer_encoder.cpp:753:42: note: in expansion of macro '__PRETTY_FUNCTION__'
  47. 753 | std::cerr << "ERROR " << __PRETTY_FUNCTION__ << " could not allocate " << numBytes << " Bytes." << std::endl
  48. | ^~~~~~~~~~~~~~~~~~~
  49. Z:/island/modules/le_renderer/le_command_buffer_encoder.cpp: In function 'void cbe_write_to_image(le_command_buffer_encoder_o*, le_img_resource_handle_t* const&, const le_write_to_image_settings_t&, const void*, size_t)':
  50. Z:/island/modules/le_renderer/le_command_buffer_encoder.cpp:15:36: error: '__FUNCSIG__' was not declared in this scope
  51. 15 | # define __PRETTY_FUNCTION__ __FUNCSIG__
  52. | ^~~~~~~~~~~
  53. Z:/island/modules/le_renderer/le_command_buffer_encoder.cpp:806:42: note: in expansion of macro '__PRETTY_FUNCTION__'
  54. 806 | std::cerr << "ERROR " << __PRETTY_FUNCTION__ << " could not allocate " << numBytes << " Bytes." << std::endl
  55. | ^~~~~~~~~~~~~~~~~~~
  56. Z:/island/modules/le_renderer/le_command_buffer_encoder.cpp: In function 'void cbe_build_rtx_tlas(le_command_buffer_encoder_o*, le_tlas_resource_handle_t* const*, const le_rtx_geometry_instance_t*, le_blas_resource_handle_t* const*, uint32_t)':
  57. Z:/island/modules/le_renderer/le_command_buffer_encoder.cpp:15:36: error: '__FUNCSIG__' was not declared in this scope
  58. 15 | # define __PRETTY_FUNCTION__ __FUNCSIG__
  59. | ^~~~~~~~~~~
  60. Z:/island/modules/le_renderer/le_command_buffer_encoder.cpp:900:42: note: in expansion of macro '__PRETTY_FUNCTION__'
  61. 900 | std::cerr << "ERROR " << __PRETTY_FUNCTION__ << " could not allocate " << gpu_memory_bytes_required << " Bytes." << std::endl
  62. | ^~~~~~~~~~~~~~~~~~~
  63. [10/31] Building CXX object le_backend_vk/CMakeFiles/le_backend_vk.dir/le_device_vk.cpp.obj
  64. FAILED: le_backend_vk/CMakeFiles/le_backend_vk.dir/le_device_vk.cpp.obj
  65. C:\msys64\ucrt64\bin\c++.exe -DSPIRV_REFLECT_USE_SYSTEM_SPIRV_H -DVK_NO_PROTOTYPES -IZ:/island -IZ:/island/modules/le_core -IZ:/island/3rdparty/src/glm -IC:/VulkanSDK/1.3.243.0/include -IZ:/island/modules/le_camera -IZ:/island/modules/le_pipeline_builder -IZ:/island/modules/le_renderer -IZ:/island/modules/le_ui_event -IZ:/island/modules/le_window -IZ:/island/modules/le_log -IZ:/island/modules/le_file_watcher -IZ:/island/modules/le_backend_vk -IZ:/island/modules/le_shader_compiler -IZ:/island/modules/le_swapchain_vk -std=gnu++20 -MD -MT le_backend_vk/CMakeFiles/le_backend_vk.dir/le_device_vk.cpp.obj -MF le_backend_vk\CMakeFiles\le_backend_vk.dir\le_device_vk.cpp.obj.d -o le_backend_vk/CMakeFiles/le_backend_vk.dir/le_device_vk.cpp.obj -c Z:/island/modules/le_backend_vk/le_device_vk.cpp
  66. Z:/island/modules/le_backend_vk/le_device_vk.cpp: In function 'bool device_get_memory_allocation_info(le_device_o*, const VkMemoryRequirements&, const VkFlags&, VkMemoryAllocateInfo*)':
  67. Z:/island/modules/le_backend_vk/le_device_vk.cpp:18:36: error: '__FUNCSIG__' was not declared in this scope
  68. 18 | # define __PRETTY_FUNCTION__ __FUNCSIG__
  69. | ^~~~~~~~~~~
  70. Z:/island/modules/le_backend_vk/le_device_vk.cpp:552:64: note: in expansion of macro '__PRETTY_FUNCTION__'
  71. 552 | logger.error( "%s: MemoryTypeIndex not found", __PRETTY_FUNCTION__ );
  72. | ^~~~~~~~~~~~~~~~~~~
  73. [13/31] Building CXX object le_core/CMakeFiles/le_core.dir/le_core.cpp.obj
  74. FAILED: le_core/CMakeFiles/le_core.dir/le_core.cpp.obj
  75. C:\msys64\ucrt64\bin\c++.exe -IZ:/island -IZ:/island/modules/le_core -IZ:/island/3rdparty/src/glm -IC:/VulkanSDK/1.3.243.0/include -IZ:/island/modules/le_camera -IZ:/island/modules/le_pipeline_builder -IZ:/island/modules/le_renderer -IZ:/island/modules/le_ui_event -IZ:/island/modules/le_window -IZ:/island/modules/le_log -IZ:/island/modules/le_file_watcher -std=gnu++20 -MD -MT le_core/CMakeFiles/le_core.dir/le_core.cpp.obj -MF le_core\CMakeFiles\le_core.dir\le_core.cpp.obj.d -o le_core/CMakeFiles/le_core.dir/le_core.cpp.obj -c Z:/island/modules/le_core/le_core.cpp
  76. Z:/island/modules/le_core/le_core.cpp: In constructor 'PltGot::PltGot()':
  77. Z:/island/modules/le_core/le_core.cpp:508:35: error: '_SC_PAGESIZE' was not declared in this scope
  78. 508 | : PAGE_SIZE( sysconf( _SC_PAGESIZE ) )
  79. | ^~~~~~~~~~~~
  80. Z:/island/modules/le_core/le_core.cpp:508:26: error: 'sysconf' was not declared in this scope; did you mean 'swscanf'?
  81. 508 | : PAGE_SIZE( sysconf( _SC_PAGESIZE ) )
  82. | ^~~~~~~
  83. | swscanf
  84. Z:/island/modules/le_core/le_core.cpp:514:54: error: 'PROT_READ' was not declared in this scope
  85. 514 | plt_got = mmap( NULL, plt_got_sz, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, -1, 0 );
  86. | ^~~~~~~~~
  87. Z:/island/modules/le_core/le_core.cpp:514:66: error: 'PROT_WRITE' was not declared in this scope
  88. 514 | plt_got = mmap( NULL, plt_got_sz, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, -1, 0 );
  89. | ^~~~~~~~~~
  90. Z:/island/modules/le_core/le_core.cpp:514:78: error: 'MAP_ANONYMOUS' was not declared in this scope
  91. 514 | plt_got = mmap( NULL, plt_got_sz, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, -1, 0 );
  92. | ^~~~~~~~~~~~~
  93. Z:/island/modules/le_core/le_core.cpp:514:94: error: 'MAP_PRIVATE' was not declared in this scope
  94. 514 | plt_got = mmap( NULL, plt_got_sz, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, -1, 0 );
  95. | ^~~~~~~~~~~
  96. Z:/island/modules/le_core/le_core.cpp:514:30: error: 'mmap' was not declared in this scope
  97. 514 | plt_got = mmap( NULL, plt_got_sz, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, -1, 0 );
  98. | ^~~~
  99. In file included from Z:/island/modules/le_core/le_core.cpp:12:
  100. Z:/island/modules/le_core/le_core.cpp:515:36: error: 'MAP_FAILED' was not declared in this scope
  101. 515 | assert( plt_got != MAP_FAILED && "Map did not succeed" );
  102. | ^~~~~~~~~~
  103. Z:/island/modules/le_core/le_core.cpp:544:59: error: 'PROT_EXEC' was not declared in this scope
  104. 544 | mprotect( plt_got, PAGE_SIZE, PROT_READ | PROT_EXEC );
  105. | ^~~~~~~~~
  106. Z:/island/modules/le_core/le_core.cpp:544:17: error: 'mprotect' was not declared in this scope
  107. 544 | mprotect( plt_got, PAGE_SIZE, PROT_READ | PROT_EXEC );
  108. | ^~~~~~~~
  109. Z:/island/modules/le_core/le_core.cpp: In destructor 'PltGot::~PltGot()':
  110. Z:/island/modules/le_core/le_core.cpp:548:30: error: 'munmap' was not declared in this scope
  111. 548 | int result = munmap( plt_got, plt_got_sz );
  112. | ^~~~~~
  113. [14/31] Building CXX object le_renderer/CMakeFiles/le_renderer.dir/le_rendergraph.cpp.obj
  114. FAILED: le_renderer/CMakeFiles/le_renderer.dir/le_rendergraph.cpp.obj
  115. C:\msys64\ucrt64\bin\c++.exe -IZ:/island -IZ:/island/modules/le_core -IZ:/island/3rdparty/src/glm -IC:/VulkanSDK/1.3.243.0/include -IZ:/island/modules/le_camera -IZ:/island/modules/le_pipeline_builder -IZ:/island/modules/le_renderer -IZ:/island/modules/le_backend_vk -IZ:/island/modules/le_swapchain_vk -IZ:/island/modules/le_jobs -IZ:/island/modules/le_log -std=gnu++20 -MD -MT le_renderer/CMakeFiles/le_renderer.dir/le_rendergraph.cpp.obj -MF le_renderer\CMakeFiles\le_renderer.dir\le_rendergraph.cpp.obj.d -o le_renderer/CMakeFiles/le_renderer.dir/le_rendergraph.cpp.obj -c Z:/island/modules/le_renderer/le_rendergraph.cpp
  116. Z:/island/modules/le_renderer/le_rendergraph.cpp: In lambda function:
  117. Z:/island/modules/le_renderer/le_rendergraph.cpp:407:33: error: 'readlink' was not declared in this scope
  118. 407 | ssize_t count = readlink( "/proc/self/exe", result, 1024 );
  119. | ^~~~~~~~
  120. [15/31] Building CXX object le_file_watcher/CMakeFiles/le_file_watcher.dir/le_file_watcher_win32.cpp.obj
  121. FAILED: le_file_watcher/CMakeFiles/le_file_watcher.dir/le_file_watcher_win32.cpp.obj
  122. C:\msys64\ucrt64\bin\c++.exe -IZ:/island -IZ:/island/modules/le_core -IZ:/island/3rdparty/src/glm -IC:/VulkanSDK/1.3.243.0/include -IZ:/island/modules/le_camera -IZ:/island/modules/le_pipeline_builder -IZ:/island/modules/le_renderer -IZ:/island/modules/le_ui_event -IZ:/island/modules/le_window -IZ:/island/modules/le_log -IZ:/island/modules/le_file_watcher -std=gnu++20 -MD -MT le_file_watcher/CMakeFiles/le_file_watcher.dir/le_file_watcher_win32.cpp.obj -MF le_file_watcher\CMakeFiles\le_file_watcher.dir\le_file_watcher_win32.cpp.obj.d -o le_file_watcher/CMakeFiles/le_file_watcher.dir/le_file_watcher_win32.cpp.obj -c Z:/island/modules/le_file_watcher/le_file_watcher_win32.cpp
  123. Z:/island/modules/le_file_watcher/le_file_watcher_win32.cpp:54:14: error: 'vector' in namespace 'std' does not name a template type
  124. 54 | std::vector<uint64_t> watch_directory_hash; // < these three vectors run in parallel.
  125. | ^~~~~~
  126. Z:/island/modules/le_file_watcher/le_file_watcher_win32.cpp:18:1: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
  127. 17 | # include "le_hash_util.h"
  128. +++ |+#include <vector>
  129. 18 |
  130. Z:/island/modules/le_file_watcher/le_file_watcher_win32.cpp:55:14: error: 'vector' in namespace 'std' does not name a template type
  131. 55 | std::vector<WatchedDirectory*> watched_directories; // < these three vectors run in parallel.
  132. | ^~~~~~
  133. Z:/island/modules/le_file_watcher/le_file_watcher_win32.cpp:55:9: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
  134. 55 | std::vector<WatchedDirectory*> watched_directories; // < these three vectors run in parallel.
  135. | ^~~
  136. Z:/island/modules/le_file_watcher/le_file_watcher_win32.cpp:56:14: error: 'vector' in namespace 'std' does not name a template type
  137. 56 | std::vector<std::vector<watch_data_t>> watch_data; // < these three vectors run in parallel.
  138. | ^~~~~~
  139. Z:/island/modules/le_file_watcher/le_file_watcher_win32.cpp:56:9: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
  140. 56 | std::vector<std::vector<watch_data_t>> watch_data; // < these three vectors run in parallel.
  141. | ^~~
  142. Z:/island/modules/le_file_watcher/le_file_watcher_win32.cpp: In member function 'size_t le_file_watcher_o::get_watch_data_idx_for_hash(uint64_t) const':
  143. Z:/island/modules/le_file_watcher/le_file_watcher_win32.cpp:62:39: error: 'watch_directory_hash' was not declared in this scope
  144. 62 | for ( auto const& w : watch_directory_hash ) {
  145. | ^~~~~~~~~~~~~~~~~~~~
  146. Z:/island/modules/le_file_watcher/le_file_watcher_win32.cpp: In function 'void file_watcher_instance_destroy(le_file_watcher_o*)':
  147. Z:/island/modules/le_file_watcher/le_file_watcher_win32.cpp:92:35: error: 'struct le_file_watcher_o' has no member named 'watched_directories'
  148. 92 | for ( auto& w : instance->watched_directories ) {
  149. | ^~~~~~~~~~~~~~~~~~~
  150. Z:/island/modules/le_file_watcher/le_file_watcher_win32.cpp:93:24: error: type '<type error>' argument given to 'delete', expected pointer
  151. 93 | delete w;
  152. | ^
  153. Z:/island/modules/le_file_watcher/le_file_watcher_win32.cpp:96:19: error: 'struct le_file_watcher_o' has no member named 'watched_directories'
  154. 96 | instance->watched_directories.clear();
  155. | ^~~~~~~~~~~~~~~~~~~
  156. Z:/island/modules/le_file_watcher/le_file_watcher_win32.cpp: In function 'int file_watcher_add_watch(le_file_watcher_o*, const le_file_watcher_watch_settings*)':
  157. Z:/island/modules/le_file_watcher/le_file_watcher_win32.cpp:116:39: error: 'struct le_file_watcher_o' has no member named 'watch_directory_hash'
  158. 116 | if ( watch_index == instance->watch_directory_hash.size() ) {
  159. | ^~~~~~~~~~~~~~~~~~~~
  160. Z:/island/modules/le_file_watcher/le_file_watcher_win32.cpp:140:27: error: 'struct le_file_watcher_o' has no member named 'watch_directory_hash'
  161. 140 | instance->watch_directory_hash.push_back( file_basename_hash );
  162. | ^~~~~~~~~~~~~~~~~~~~
  163. Z:/island/modules/le_file_watcher/le_file_watcher_win32.cpp:141:27: error: 'struct le_file_watcher_o' has no member named 'watched_directories'
  164. 141 | instance->watched_directories.emplace_back( watched_directory );
  165. | ^~~~~~~~~~~~~~~~~~~
  166. Z:/island/modules/le_file_watcher/le_file_watcher_win32.cpp:142:27: error: 'struct le_file_watcher_o' has no member named 'watch_data'
  167. 142 | instance->watch_data.emplace_back(); // an empty entry to watch_data
  168. | ^~~~~~~~~~
  169. Z:/island/modules/le_file_watcher/le_file_watcher_win32.cpp:157:27: error: 'struct le_file_watcher_o' has no member named 'watch_data'
  170. 157 | instance->watch_data[ watch_index ].emplace_back( std::move( watch_data ) );
  171. | ^~~~~~~~~~
  172. Z:/island/modules/le_file_watcher/le_file_watcher_win32.cpp: In function 'bool file_watcher_remove_watch(le_file_watcher_o*, int)':
  173. Z:/island/modules/le_file_watcher/le_file_watcher_win32.cpp:177:33: error: 'struct le_file_watcher_o' has no member named 'watch_data'
  174. 177 | for ( ; idx < instance->watch_data.size(); ) {
  175. | ^~~~~~~~~~
  176. Z:/island/modules/le_file_watcher/le_file_watcher_win32.cpp:179:41: error: 'struct le_file_watcher_o' has no member named 'watch_data'
  177. 179 | auto& w_vec = instance->watch_data[ idx ];
  178. | ^~~~~~~~~~
  179. Z:/island/modules/le_file_watcher/le_file_watcher_win32.cpp:199:44: error: 'struct le_file_watcher_o' has no member named 'watched_directories'
  180. 199 | delete ( instance->watched_directories[ idx ] );
  181. | ^~~~~~~~~~~~~~~~~~~
  182. Z:/island/modules/le_file_watcher/le_file_watcher_win32.cpp:201:35: error: 'struct le_file_watcher_o' has no member named 'watched_directories'
  183. 201 | instance->watched_directories.erase( instance->watched_directories.begin() + idx );
  184. | ^~~~~~~~~~~~~~~~~~~
  185. Z:/island/modules/le_file_watcher/le_file_watcher_win32.cpp:201:72: error: 'struct le_file_watcher_o' has no member named 'watched_directories'
  186. 201 | instance->watched_directories.erase( instance->watched_directories.begin() + idx );
  187. | ^~~~~~~~~~~~~~~~~~~
  188. Z:/island/modules/le_file_watcher/le_file_watcher_win32.cpp:202:35: error: 'struct le_file_watcher_o' has no member named 'watch_directory_hash'
  189. 202 | instance->watch_directory_hash.erase( instance->watch_directory_hash.begin() + idx );
  190. | ^~~~~~~~~~~~~~~~~~~~
  191. Z:/island/modules/le_file_watcher/le_file_watcher_win32.cpp:202:73: error: 'struct le_file_watcher_o' has no member named 'watch_directory_hash'
  192. 202 | instance->watch_directory_hash.erase( instance->watch_directory_hash.begin() + idx );
  193. | ^~~~~~~~~~~~~~~~~~~~
  194. Z:/island/modules/le_file_watcher/le_file_watcher_win32.cpp:203:35: error: 'struct le_file_watcher_o' has no member named 'watch_data'
  195. 203 | instance->watch_data.erase( instance->watch_data.begin() + idx );
  196. | ^~~~~~~~~~
  197. Z:/island/modules/le_file_watcher/le_file_watcher_win32.cpp:203:63: error: 'struct le_file_watcher_o' has no member named 'watch_data'
  198. 203 | instance->watch_data.erase( instance->watch_data.begin() + idx );
  199. | ^~~~~~~~~~
  200. Z:/island/modules/le_file_watcher/le_file_watcher_win32.cpp: In function 'void watch_callback(DWORD, DWORD, LPOVERLAPPED)':
  201. Z:/island/modules/le_file_watcher/le_file_watcher_win32.cpp:241:14: error: 'vector' is not a member of 'std'
  202. 241 | std::vector<uint64_t> callback_file_name_hashes;
  203. | ^~~~~~
  204. Z:/island/modules/le_file_watcher/le_file_watcher_win32.cpp:241:14: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
  205. Z:/island/modules/le_file_watcher/le_file_watcher_win32.cpp:241:29: error: expected primary-expression before '>' token
  206. 241 | std::vector<uint64_t> callback_file_name_hashes;
  207. | ^
  208. Z:/island/modules/le_file_watcher/le_file_watcher_win32.cpp:241:31: error: 'callback_file_name_hashes' was not declared in this scope; did you mean 'callback_filename'?
  209. 241 | std::vector<uint64_t> callback_file_name_hashes;
  210. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  211. | callback_filename
  212. Z:/island/modules/le_file_watcher/le_file_watcher_win32.cpp:275:22: error: 'vector' is not a member of 'std'
  213. 275 | std::vector<uint64_t> c;
  214. | ^~~~~~
  215. Z:/island/modules/le_file_watcher/le_file_watcher_win32.cpp:275:22: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
  216. Z:/island/modules/le_file_watcher/le_file_watcher_win32.cpp:275:37: error: expected primary-expression before '>' token
  217. 275 | std::vector<uint64_t> c;
  218. | ^
  219. Z:/island/modules/le_file_watcher/le_file_watcher_win32.cpp:275:39: error: 'c' was not declared in this scope
  220. 275 | std::vector<uint64_t> c;
  221. | ^
  222. Z:/island/modules/le_file_watcher/le_file_watcher_win32.cpp:293:36: error: 'struct le_file_watcher_o' has no member named 'watch_data'
  223. 293 | if ( idx < watch->watcher->watch_data.size() ) {
  224. | ^~~~~~~~~~
  225. Z:/island/modules/le_file_watcher/le_file_watcher_win32.cpp:302:63: error: 'struct le_file_watcher_o' has no member named 'watch_data'
  226. 302 | for ( auto const& w : watch->watcher->watch_data[ idx ] ) {
  227. | ^~~~~~~~~~
  228. [17/31] Building CXX object le_core/CMakeFiles/le_core.dir/le_api_loader_win32.cpp.obj
  229. FAILED: le_core/CMakeFiles/le_core.dir/le_api_loader_win32.cpp.obj
  230. C:\msys64\ucrt64\bin\c++.exe -IZ:/island -IZ:/island/modules/le_core -IZ:/island/3rdparty/src/glm -IC:/VulkanSDK/1.3.243.0/include -IZ:/island/modules/le_camera -IZ:/island/modules/le_pipeline_builder -IZ:/island/modules/le_renderer -IZ:/island/modules/le_ui_event -IZ:/island/modules/le_window -IZ:/island/modules/le_log -IZ:/island/modules/le_file_watcher -std=gnu++20 -MD -MT le_core/CMakeFiles/le_core.dir/le_api_loader_win32.cpp.obj -MF le_core\CMakeFiles\le_core.dir\le_api_loader_win32.cpp.obj.d -o le_core/CMakeFiles/le_core.dir/le_api_loader_win32.cpp.obj -c Z:/island/modules/le_core/le_api_loader_win32.cpp
  231. Z:/island/modules/le_core/le_api_loader_win32.cpp:235:16: error: redefinition of 'struct _SYSTEM_HANDLE_INFORMATION'
  232. 235 | typedef struct _SYSTEM_HANDLE_INFORMATION {
  233. | ^~~~~~~~~~~~~~~~~~~~~~~~~~
  234. In file included from Z:/island/modules/le_core/le_api_loader_win32.cpp:10:
  235. C:/msys64/ucrt64/include/winternl.h:913:18: note: previous definition of 'struct _SYSTEM_HANDLE_INFORMATION'
  236. 913 | typedef struct _SYSTEM_HANDLE_INFORMATION {
  237. | ^~~~~~~~~~~~~~~~~~~~~~~~~~
  238. Z:/island/modules/le_core/le_api_loader_win32.cpp:238:3: error: conflicting declaration 'typedef int SYSTEM_HANDLE_INFORMATION'
  239. 238 | } SYSTEM_HANDLE_INFORMATION, *PSYSTEM_HANDLE_INFORMATION;
  240. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  241. C:/msys64/ucrt64/include/winternl.h:916:5: note: previous declaration as 'typedef struct _SYSTEM_HANDLE_INFORMATION SYSTEM_HANDLE_INFORMATION'
  242. 916 | } SYSTEM_HANDLE_INFORMATION, *PSYSTEM_HANDLE_INFORMATION;
  243. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  244. Z:/island/modules/le_core/le_api_loader_win32.cpp:238:31: error: conflicting declaration 'typedef int* PSYSTEM_HANDLE_INFORMATION'
  245. 238 | } SYSTEM_HANDLE_INFORMATION, *PSYSTEM_HANDLE_INFORMATION;
  246. | ^~~~~~~~~~~~~~~~~~~~~~~~~~
  247. C:/msys64/ucrt64/include/winternl.h:916:33: note: previous declaration as 'typedef struct _SYSTEM_HANDLE_INFORMATION* PSYSTEM_HANDLE_INFORMATION'
  248. 916 | } SYSTEM_HANDLE_INFORMATION, *PSYSTEM_HANDLE_INFORMATION;
  249. | ^~~~~~~~~~~~~~~~~~~~~~~~~~
  250. Z:/island/modules/le_core/le_api_loader_win32.cpp:241:16: error: redefinition of 'struct _OBJECT_TYPE_INFORMATION'
  251. 241 | typedef struct _OBJECT_TYPE_INFORMATION {
  252. | ^~~~~~~~~~~~~~~~~~~~~~~~
  253. C:/msys64/ucrt64/include/winternl.h:251:18: note: previous definition of 'struct _OBJECT_TYPE_INFORMATION'
  254. 251 | typedef struct _OBJECT_TYPE_INFORMATION {
  255. | ^~~~~~~~~~~~~~~~~~~~~~~~
  256. Z:/island/modules/le_core/le_api_loader_win32.cpp:265:3: error: conflicting declaration 'typedef int OBJECT_TYPE_INFORMATION'
  257. 265 | } OBJECT_TYPE_INFORMATION, *POBJECT_TYPE_INFORMATION;
  258. | ^~~~~~~~~~~~~~~~~~~~~~~
  259. C:/msys64/ucrt64/include/winternl.h:273:5: note: previous declaration as 'typedef struct _OBJECT_TYPE_INFORMATION OBJECT_TYPE_INFORMATION'
  260. 273 | } OBJECT_TYPE_INFORMATION, *POBJECT_TYPE_INFORMATION;
  261. | ^~~~~~~~~~~~~~~~~~~~~~~
  262. Z:/island/modules/le_core/le_api_loader_win32.cpp:265:29: error: conflicting declaration 'typedef int* POBJECT_TYPE_INFORMATION'
  263. 265 | } OBJECT_TYPE_INFORMATION, *POBJECT_TYPE_INFORMATION;
  264. | ^~~~~~~~~~~~~~~~~~~~~~~~
  265. C:/msys64/ucrt64/include/winternl.h:273:31: note: previous declaration as 'typedef struct _OBJECT_TYPE_INFORMATION* POBJECT_TYPE_INFORMATION'
  266. 273 | } OBJECT_TYPE_INFORMATION, *POBJECT_TYPE_INFORMATION;
  267. | ^~~~~~~~~~~~~~~~~~~~~~~~
  268. Z:/island/modules/le_core/le_api_loader_win32.cpp:270:16: error: redefinition of 'struct _OBJECT_ALL_INFORMATION'
  269. 270 | typedef struct _OBJECT_ALL_INFORMATION {
  270. | ^~~~~~~~~~~~~~~~~~~~~~~
  271. C:/msys64/ucrt64/include/winternl.h:275:18: note: previous definition of 'struct _OBJECT_ALL_INFORMATION'
  272. 275 | typedef struct _OBJECT_ALL_INFORMATION {
  273. | ^~~~~~~~~~~~~~~~~~~~~~~
  274. Z:/island/modules/le_core/le_api_loader_win32.cpp:273:3: error: conflicting declaration 'typedef int OBJECT_ALL_INFORMATION'
  275. 273 | } OBJECT_ALL_INFORMATION, *POBJECT_ALL_INFORMATION;
  276. | ^~~~~~~~~~~~~~~~~~~~~~
  277. C:/msys64/ucrt64/include/winternl.h:278:4: note: previous declaration as 'typedef struct _OBJECT_ALL_INFORMATION OBJECT_ALL_INFORMATION'
  278. 278 | }OBJECT_ALL_INFORMATION, *POBJECT_ALL_INFORMATION;
  279. | ^~~~~~~~~~~~~~~~~~~~~~
  280. Z:/island/modules/le_core/le_api_loader_win32.cpp:273:28: error: conflicting declaration 'typedef int* POBJECT_ALL_INFORMATION'
  281. 273 | } OBJECT_ALL_INFORMATION, *POBJECT_ALL_INFORMATION;
  282. | ^~~~~~~~~~~~~~~~~~~~~~~
  283. C:/msys64/ucrt64/include/winternl.h:278:29: note: previous declaration as 'typedef struct _OBJECT_ALL_INFORMATION* POBJECT_ALL_INFORMATION'
  284. 278 | }OBJECT_ALL_INFORMATION, *POBJECT_ALL_INFORMATION;
  285. | ^~~~~~~~~~~~~~~~~~~~~~~
  286. Z:/island/modules/le_core/le_api_loader_win32.cpp: In function 'void* GetLibraryProcAddress(LPCSTR, LPCSTR)':
  287. Z:/island/modules/le_core/le_api_loader_win32.cpp:277:23: error: invalid conversion from 'FARPROC' {aka 'long long int (*)()'} to 'PVOID' {aka 'void*'} [-fpermissive]
  288. 277 | return module ? GetProcAddress( module, ProcName ) : NULL;
  289. | ^
  290. | |
  291. | FARPROC {aka long long int (*)()}
  292. Z:/island/modules/le_core/le_api_loader_win32.cpp: In function 'UCHAR get_file_handle_object_type_index(HANDLE)':
  293. Z:/island/modules/le_core/le_api_loader_win32.cpp:321:72: error: 'struct _OBJECT_ALL_INFORMATION' has no member named 'NumberOfObjectsTypes'; did you mean 'NumberOfObjects'?
  294. 321 | size_t num_elements = ( ( POBJECT_ALL_INFORMATION )( data ) )->NumberOfObjectsTypes;
  295. | ^~~~~~~~~~~~~~~~~~~~
  296. | NumberOfObjects
  297. Z:/island/modules/le_core/le_api_loader_win32.cpp:330:38: error: 'struct _OBJECT_TYPE_INFORMATION' has no member named 'TypeIndex'
  298. 330 | return info->TypeIndex;
  299. | ^~~~~~~~~
  300. Z:/island/modules/le_core/le_api_loader_win32.cpp: In function 'bool close_handles_held_by_process_id(ULONG, const wchar_t*)':
  301. Z:/island/modules/le_core/le_api_loader_win32.cpp:389:44: error: 'struct _SYSTEM_HANDLE_INFORMATION' has no member named 'HandleCount'
  302. 389 | ULONG_PTR NumberOfHandles = pshti->HandleCount;
  303. | ^~~~~~~~~~~
  304. Z:/island/modules/le_core/le_api_loader_win32.cpp:395:45: error: 'struct _SYSTEM_HANDLE_INFORMATION' has no member named 'Handles'; did you mean 'Handle'?
  305. 395 | _SYSTEM_HANDLE* sys_handle = pshti->Handles;
  306. | ^~~~~~~
  307. | Handle
  308. Z:/island/modules/le_core/le_api_loader_win32.cpp:425:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  309. 425 | ( void* )sys_handle->Handle,
  310. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  311. Z:/island/modules/le_core/le_api_loader_win32.cpp:474:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  312. 474 | ( void* )sys_handle->Handle,
  313. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  314. [18/31] Building CXX object le_backend_vk/CMakeFiles/le_backend_vk.dir/le_backend_vk.cpp.obj
  315. FAILED: le_backend_vk/CMakeFiles/le_backend_vk.dir/le_backend_vk.cpp.obj
  316. C:\msys64\ucrt64\bin\c++.exe -DSPIRV_REFLECT_USE_SYSTEM_SPIRV_H -DVK_NO_PROTOTYPES -IZ:/island -IZ:/island/modules/le_core -IZ:/island/3rdparty/src/glm -IC:/VulkanSDK/1.3.243.0/include -IZ:/island/modules/le_camera -IZ:/island/modules/le_pipeline_builder -IZ:/island/modules/le_renderer -IZ:/island/modules/le_ui_event -IZ:/island/modules/le_window -IZ:/island/modules/le_log -IZ:/island/modules/le_file_watcher -IZ:/island/modules/le_backend_vk -IZ:/island/modules/le_shader_compiler -IZ:/island/modules/le_swapchain_vk -std=gnu++20 -MD -MT le_backend_vk/CMakeFiles/le_backend_vk.dir/le_backend_vk.cpp.obj -MF le_backend_vk\CMakeFiles\le_backend_vk.dir\le_backend_vk.cpp.obj.d -o le_backend_vk/CMakeFiles/le_backend_vk.dir/le_backend_vk.cpp.obj -c Z:/island/modules/le_backend_vk/le_backend_vk.cpp
  317. Z:/island/modules/le_backend_vk/le_backend_vk.cpp: In function 'bool backend_clear_frame(le_backend_o*, size_t)':
  318. Z:/island/modules/le_backend_vk/le_backend_vk.cpp:48:36: error: '__FUNCSIG__' was not declared in this scope
  319. 48 | # define __PRETTY_FUNCTION__ __FUNCSIG__
  320. | ^~~~~~~~~~~
  321. Z:/island/modules/le_backend_vk/le_backend_vk.cpp:2078:136: note: in expansion of macro '__PRETTY_FUNCTION__'
  322. 2078 | logger.warn( "%s: abstract physical resource has unknown type (%p) and cannot be deleted. leaking...", __PRETTY_FUNCTION__, r.type );
  323. | ^~~~~~~~~~~~~~~~~~~
  324. Z:/island/modules/le_backend_vk/le_backend_vk.cpp: In lambda function:
  325. Z:/island/modules/le_backend_vk/le_backend_vk.cpp:6799:33: error: 'readlink' was not declared in this scope
  326. 6799 | ssize_t count = readlink( "/proc/self/exe", result, 1024 );
  327. | ^~~~~~~~
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement