Guest User

Untitled

a guest
Sep 3rd, 2022
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 5.17 KB | None | 0 0
  1. /home/benny/work/siglent/glscopeclient/scopehal-apps/lib/scopehal/VulkanInit.cpp: In function ‘bool VulkanInit()’:
  2. /home/benny/work/siglent/glscopeclient/scopehal-apps/lib/scopehal/VulkanInit.cpp:167:56: error: use of deleted function ‘vk::raii::PhysicalDevice::PhysicalDevice(const vk::raii::PhysicalDevice&)
  3.   167 |                                 auto device = devices[i];
  4.       |                                                        ^
  5. In file included from /home/benny/work/siglent/glscopeclient/scopehal-apps/lib/scopehal/scopehal.h:76,
  6.                  from /home/benny/work/siglent/glscopeclient/scopehal-apps/lib/scopehal/VulkanInit.cpp:35:
  7. /usr/include/vulkan/vulkan_raii.hpp:2814:7: note: declared here
  8.  2814 |       PhysicalDevice( PhysicalDevice const & ) = delete;
  9.       |       ^~~~~~~~~~~~~~
  10. /home/benny/work/siglent/glscopeclient/scopehal-apps/lib/scopehal/VulkanInit.cpp:356:65: error: use of deleted function ‘vk::raii::PhysicalDevice::PhysicalDevice(const vk::raii::PhysicalDevice&)
  11.   356 |                                 auto device = devices[bestDevice];
  12.       |                                                                 ^
  13. In file included from /home/benny/work/siglent/glscopeclient/scopehal-apps/lib/scopehal/scopehal.h:76,
  14.                  from /home/benny/work/siglent/glscopeclient/scopehal-apps/lib/scopehal/VulkanInit.cpp:35:
  15. /usr/include/vulkan/vulkan_raii.hpp:2814:7: note: declared here
  16.  2814 |       PhysicalDevice( PhysicalDevice const & ) = delete;
  17.       |       ^~~~~~~~~~~~~~
  18. /home/benny/work/siglent/glscopeclient/scopehal-apps/lib/scopehal/VulkanInit.cpp:482:46: error: no matching function for call to ‘vk::DeviceCreateInfo::DeviceCreateInfo(<brace-enclosed initializer list>, vk::DeviceQueueCreateInfo&, <brace-enclosed initializer list>, <brace-enclosed initializer list>, vk::PhysicalDeviceFeatures*, void*&)
  19.   482 |                                         pNext);
  20.       |                                              ^
  21. In file included from /usr/include/vulkan/vulkan.hpp:6770,
  22.                  from /usr/include/vulkan/vulkan_raii.hpp:11,
  23.                  from /home/benny/work/siglent/glscopeclient/scopehal-apps/lib/scopehal/scopehal.h:76,
  24.                  from /home/benny/work/siglent/glscopeclient/scopehal-apps/lib/scopehal/VulkanInit.cpp:35:
  25. /usr/include/vulkan/vulkan_structs.hpp:23444:5: note: candidate: ‘vk::DeviceCreateInfo::DeviceCreateInfo(vk::DeviceCreateFlags, const vk::ArrayProxyNoTemporaries<const vk::DeviceQueueCreateInfo>&, const vk::ArrayProxyNoTemporaries<const char* const>&, const vk::ArrayProxyNoTemporaries<const char* const>&, const vk::PhysicalDeviceFeatures*)
  26. 23444 |     DeviceCreateInfo(
  27.       |     ^~~~~~~~~~~~~~~~
  28. /usr/include/vulkan/vulkan_structs.hpp:23444:5: note:   candidate expects 5 arguments, 6 provided
  29. /usr/include/vulkan/vulkan_structs.hpp:23439:5: note: candidate: ‘vk::DeviceCreateInfo::DeviceCreateInfo(const VkDeviceCreateInfo&)
  30. 23439 |     DeviceCreateInfo( VkDeviceCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT
  31.       |     ^~~~~~~~~~~~~~~~
  32. /usr/include/vulkan/vulkan_structs.hpp:23439:5: note:   candidate expects 1 argument, 6 provided
  33. /usr/include/vulkan/vulkan_structs.hpp:23437:26: note: candidate: ‘constexpr vk::DeviceCreateInfo::DeviceCreateInfo(const vk::DeviceCreateInfo&)
  34. 23437 |     VULKAN_HPP_CONSTEXPR DeviceCreateInfo( DeviceCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default;
  35.       |                          ^~~~~~~~~~~~~~~~
  36. /usr/include/vulkan/vulkan_structs.hpp:23437:26: note:   candidate expects 1 argument, 6 provided
  37. /usr/include/vulkan/vulkan_structs.hpp:23418:26: note: candidate: ‘constexpr vk::DeviceCreateInfo::DeviceCreateInfo(vk::DeviceCreateFlags, uint32_t, const vk::DeviceQueueCreateInfo*, uint32_t, const char* const*, uint32_t, const char* const*, const vk::PhysicalDeviceFeatures*)
  38. 23418 |     VULKAN_HPP_CONSTEXPR DeviceCreateInfo( VULKAN_HPP_NAMESPACE::DeviceCreateFlags flags_                         = {},
  39.       |                          ^~~~~~~~~~~~~~~~
  40. /usr/include/vulkan/vulkan_structs.hpp:23419:84: note:   no known conversion for argument 2 from ‘vk::DeviceQueueCreateInfo’ to ‘uint32_t’ {aka ‘unsigned int’}
  41. 23419 |                                            uint32_t                                queueCreateInfoCount_          = {},
  42.       |                                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  43. /home/benny/work/siglent/glscopeclient/scopehal-apps/lib/scopehal/VulkanInit.cpp:584:27: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 2 has type ‘int’ [-Wformat=]
  44.   584 |         LogDebug("ret = %zu\n", ret);
  45.       |                         ~~^     ~~~
  46.       |                           |     |
  47.       |                           |     int
  48.       |                           long unsigned int
  49.       |                         %u
  50. make[2]: *** [lib/scopehal/CMakeFiles/scopehal.dir/build.make:118: lib/scopehal/CMakeFiles/scopehal.dir/VulkanInit.cpp.o] Error 1
  51. make[2]: *** Waiting for unfinished jobs....
  52. make[1]: *** [CMakeFiles/Makefile2:1219: lib/scopehal/CMakeFiles/scopehal.dir/all] Error 2
  53. make: *** [Makefile:146: all] Error 2
  54.  
Add Comment
Please, Sign In to add comment