Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /home/benny/work/siglent/glscopeclient/scopehal-apps/lib/scopehal/VulkanInit.cpp: In function ‘bool VulkanInit()’:
- /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&)’
- 167 | auto device = devices[i];
- | ^
- In file included from /home/benny/work/siglent/glscopeclient/scopehal-apps/lib/scopehal/scopehal.h:76,
- from /home/benny/work/siglent/glscopeclient/scopehal-apps/lib/scopehal/VulkanInit.cpp:35:
- /usr/include/vulkan/vulkan_raii.hpp:2814:7: note: declared here
- 2814 | PhysicalDevice( PhysicalDevice const & ) = delete;
- | ^~~~~~~~~~~~~~
- /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&)’
- 356 | auto device = devices[bestDevice];
- | ^
- In file included from /home/benny/work/siglent/glscopeclient/scopehal-apps/lib/scopehal/scopehal.h:76,
- from /home/benny/work/siglent/glscopeclient/scopehal-apps/lib/scopehal/VulkanInit.cpp:35:
- /usr/include/vulkan/vulkan_raii.hpp:2814:7: note: declared here
- 2814 | PhysicalDevice( PhysicalDevice const & ) = delete;
- | ^~~~~~~~~~~~~~
- /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*&)’
- 482 | pNext);
- | ^
- In file included from /usr/include/vulkan/vulkan.hpp:6770,
- from /usr/include/vulkan/vulkan_raii.hpp:11,
- from /home/benny/work/siglent/glscopeclient/scopehal-apps/lib/scopehal/scopehal.h:76,
- from /home/benny/work/siglent/glscopeclient/scopehal-apps/lib/scopehal/VulkanInit.cpp:35:
- /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*)’
- 23444 | DeviceCreateInfo(
- | ^~~~~~~~~~~~~~~~
- /usr/include/vulkan/vulkan_structs.hpp:23444:5: note: candidate expects 5 arguments, 6 provided
- /usr/include/vulkan/vulkan_structs.hpp:23439:5: note: candidate: ‘vk::DeviceCreateInfo::DeviceCreateInfo(const VkDeviceCreateInfo&)’
- 23439 | DeviceCreateInfo( VkDeviceCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT
- | ^~~~~~~~~~~~~~~~
- /usr/include/vulkan/vulkan_structs.hpp:23439:5: note: candidate expects 1 argument, 6 provided
- /usr/include/vulkan/vulkan_structs.hpp:23437:26: note: candidate: ‘constexpr vk::DeviceCreateInfo::DeviceCreateInfo(const vk::DeviceCreateInfo&)’
- 23437 | VULKAN_HPP_CONSTEXPR DeviceCreateInfo( DeviceCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default;
- | ^~~~~~~~~~~~~~~~
- /usr/include/vulkan/vulkan_structs.hpp:23437:26: note: candidate expects 1 argument, 6 provided
- /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*)’
- 23418 | VULKAN_HPP_CONSTEXPR DeviceCreateInfo( VULKAN_HPP_NAMESPACE::DeviceCreateFlags flags_ = {},
- | ^~~~~~~~~~~~~~~~
- /usr/include/vulkan/vulkan_structs.hpp:23419:84: note: no known conversion for argument 2 from ‘vk::DeviceQueueCreateInfo’ to ‘uint32_t’ {aka ‘unsigned int’}
- 23419 | uint32_t queueCreateInfoCount_ = {},
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /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=]
- 584 | LogDebug("ret = %zu\n", ret);
- | ~~^ ~~~
- | | |
- | | int
- | long unsigned int
- | %u
- make[2]: *** [lib/scopehal/CMakeFiles/scopehal.dir/build.make:118: lib/scopehal/CMakeFiles/scopehal.dir/VulkanInit.cpp.o] Error 1
- make[2]: *** Waiting for unfinished jobs....
- make[1]: *** [CMakeFiles/Makefile2:1219: lib/scopehal/CMakeFiles/scopehal.dir/all] Error 2
- make: *** [Makefile:146: all] Error 2
Add Comment
Please, Sign In to add comment