Created
September 26, 2022 19:08
-
-
Save ld-cd/c016b006d5afe40d8b3b89c2581e710e to your computer and use it in GitHub Desktop.
scopehal error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Consolidate compiler generated dependencies of target graphwidget | |
[ 0%] Built target graphwidget | |
Consolidate compiler generated dependencies of target log | |
[ 1%] Built target log | |
Consolidate compiler generated dependencies of target xptools | |
[ 2%] Built target xptools | |
Consolidate compiler generated dependencies of target scopehal | |
[ 2%] Building CXX object lib/scopehal/CMakeFiles/scopehal.dir/VulkanInit.cpp.o | |
/home/aled/Build/scopehal-apps/lib/scopehal/VulkanInit.cpp: In function ‘bool VulkanInit(bool)’: | |
/home/aled/Build/scopehal-apps/lib/scopehal/VulkanInit.cpp:342:56: error: use of deleted function ‘vk::raii::PhysicalDevice::PhysicalDevice(const vk::raii::PhysicalDevice&)’ | |
342 | auto device = devices[i]; | |
| ^ | |
In file included from /home/aled/Build/scopehal-apps/lib/scopehal/scopehal.h:63, | |
from /home/aled/Build/scopehal-apps/lib/scopehal/VulkanInit.cpp:35: | |
/usr/include/vulkan/vulkan_raii.hpp:2814:7: note: declared here | |
2814 | PhysicalDevice( PhysicalDevice const & ) = delete; | |
| ^~~~~~~~~~~~~~ | |
/home/aled/Build/scopehal-apps/lib/scopehal/VulkanInit.cpp:535:65: error: use of deleted function ‘vk::raii::PhysicalDevice::PhysicalDevice(const vk::raii::PhysicalDevice&)’ | |
535 | auto device = devices[bestDevice]; | |
| ^ | |
/usr/include/vulkan/vulkan_raii.hpp:2814:7: note: declared here | |
2814 | PhysicalDevice( PhysicalDevice const & ) = delete; | |
| ^~~~~~~~~~~~~~ | |
/home/aled/Build/scopehal-apps/lib/scopehal/VulkanInit.cpp:729:46: error: no matching function for call to ‘vk::DeviceCreateInfo::DeviceCreateInfo(<brace-enclosed initializer list>, std::vector<vk::DeviceQueueCreateInfo>&, <brace-enclosed initializer list>, std::vector<const char*>&, vk::PhysicalDeviceFeatures*, void*&)’ | |
729 | pNext); | |
| ^ | |
In file included from /usr/include/vulkan/vulkan.hpp:6770, | |
from /usr/include/vulkan/vulkan_raii.hpp:11: | |
/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 ‘std::vector<vk::DeviceQueueCreateInfo>’ to ‘uint32_t’ {aka ‘unsigned int’} | |
23419 | uint32_t queueCreateInfoCount_ = {}, | |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
make[2]: *** [lib/scopehal/CMakeFiles/scopehal.dir/build.make:118: lib/scopehal/CMakeFiles/scopehal.dir/VulkanInit.cpp.o] Error 1 | |
make[1]: *** [CMakeFiles/Makefile2:1202: lib/scopehal/CMakeFiles/scopehal.dir/all] Error 2 | |
make: *** [Makefile:146: all] Error 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment