Skip to content
Snippets Groups Projects
  1. Oct 13, 2024
  2. Sep 16, 2024
  3. Jul 23, 2024
  4. Jul 22, 2024
  5. Jul 19, 2024
  6. Jul 04, 2024
  7. Jun 11, 2024
  8. Sep 19, 2023
  9. Aug 18, 2023
  10. Aug 11, 2023
  11. Jul 12, 2023
  12. Mar 19, 2023
  13. Feb 16, 2023
  14. Nov 30, 2022
  15. Oct 17, 2022
  16. Jul 13, 2022
  17. Jul 08, 2022
  18. Jun 23, 2022
  19. Apr 15, 2022
  20. Dec 07, 2021
  21. Oct 08, 2021
  22. Sep 28, 2021
  23. Sep 17, 2021
  24. Sep 15, 2021
  25. Sep 14, 2021
  26. Sep 11, 2021
  27. Aug 31, 2021
  28. Jul 15, 2021
  29. Jun 25, 2021
  30. Jun 24, 2021
    • Vanessa Karolek's avatar
      [#60][Fix] fix MSVC build error · 0b50e7e7
      Vanessa Karolek authored
      Here the output, if this is not fixed:
      
      C:\Users\Vayuni\workspace\git\cg-fp_vulkan\vkcv-framework\modules\gui\src\vkcv\gui\GUI.cpp(76): error C2440: '=': cannot convert from 'const vk::Instance' to 'VkInstance'
      C:\Users\Vayuni\workspace\git\cg-fp_vulkan\vkcv-framework\modules\gui\src\vkcv\gui\GUI.cpp(76): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
      C:\Users\Vayuni\workspace\git\cg-fp_vulkan\vkcv-framework\modules\gui\src\vkcv\gui\GUI.cpp(77): error C2440: '=': cannot convert from 'const vk::PhysicalDevice' to 'VkPhysicalDevice'
      C:\Users\Vayuni\workspace\git\cg-fp_vulkan\vkcv-framework\modules\gui\src\vkcv\gui\GUI.cpp(77): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
      C:\Users\Vayuni\workspace\git\cg-fp_vulkan\vkcv-framework\modules\gui\src\vkcv\gui\GUI.cpp(78): error C2440: '=': cannot convert from 'const vk::Device' to 'VkDevice'
      C:\Users\Vayuni\workspace\git\cg-fp_vulkan\vkcv-framework\modules\gui\src\vkcv\gui\GUI.cpp(78): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
      C:\Users\Vayuni\workspace\git\cg-fp_vulkan\vkcv-framework\modules\gui\src\vkcv\gui\GUI.cpp(80): error C2440: '=': cannot convert from 'const vk::Queue' to 'VkQueue'
      C:\Users\Vayuni\workspace\git\cg-fp_vulkan\vkcv-framework\modules\gui\src\vkcv\gui\GUI.cpp(80): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
      C:\Users\Vayuni\workspace\git\cg-fp_vulkan\vkcv-framework\modules\gui\src\vkcv\gui\GUI.cpp(81): error C2440: '=': cannot convert from 'nullptr' to 'VkPipelineCache'
      C:\Users\Vayuni\workspace\git\cg-fp_vulkan\vkcv-framework\modules\gui\src\vkcv\gui\GUI.cpp(81): note: A native nullptr can only be converted to bool or, using reinterpret_cast, to an integral type
      C:\Users\Vayuni\workspace\git\cg-fp_vulkan\vkcv-framework\modules\gui\src\vkcv\gui\GUI.cpp(82): error C2440: '=': cannot convert from 'vk::DescriptorPool' to 'VkDescriptorPool'
      C:\Users\Vayuni\workspace\git\cg-fp_vulkan\vkcv-framework\modules\gui\src\vkcv\gui\GUI.cpp(82): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
      C:\Users\Vayuni\workspace\git\cg-fp_vulkan\vkcv-framework\modules\gui\src\vkcv\gui\GUI.cpp(140): error C2664: 'bool ImGui_ImplVulkan_Init(ImGui_ImplVulkan_InitInfo *,VkRenderPass)': cannot convert argument 2 from 'vk::RenderPass' to 'VkRenderPass'
      C:\Users\Vayuni\workspace\git\cg-fp_vulkan\vkcv-framework\modules\gui\src\vkcv\gui\GUI.cpp(140): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
      C:\Users\Vayuni\workspace\git\cg-fp_vulkan\vkcv-framework\modules\gui\lib\imgui/backends/imgui_impl_vulkan.h(65): note: see declaration of 'ImGui_ImplVulkan_Init'
      C:\Users\Vayuni\workspace\git\cg-fp_vulkan\vkcv-framework\modules\gui\src\vkcv\gui\GUI.cpp(145): error C2664: 'bool ImGui_ImplVulkan_CreateFontsTexture(VkCommandBuffer)': cannot convert argument 1 from 'const vk::CommandBuffer' to 'VkCommandBuffer'
      C:\Users\Vayuni\workspace\git\cg-fp_vulkan\vkcv-framework\modules\gui\src\vkcv\gui\GUI.cpp(145): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
      C:\Users\Vayuni\workspace\git\cg-fp_vulkan\vkcv-framework\modules\gui\lib\imgui/backends/imgui_impl_vulkan.h(69): note: see declaration of 'ImGui_ImplVulkan_CreateFontsTexture'
      C:\Users\Vayuni\workspace\git\cg-fp_vulkan\vkcv-framework\modules\gui\src\vkcv\gui\GUI.cpp(233): error C2664: 'void ImGui_ImplVulkan_RenderDrawData(ImDrawData *,VkCommandBuffer,VkPipeline)': cannot convert argument 2 from 'const vk::CommandBuffer' to 'VkCommandBuffer'
      C:\Users\Vayuni\workspace\git\cg-fp_vulkan\vkcv-framework\modules\gui\src\vkcv\gui\GUI.cpp(233): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
      C:\Users\Vayuni\workspace\git\cg-fp_vulkan\vkcv-framework\modules\gui\lib\imgui/backends/imgui_impl_vulkan.h(68): note: see declaration of 'ImGui_ImplVulkan_RenderDrawData'
      NMAKE : fatal error U1077: 'C:\PROGRA~2\MICROS~2\2019\COMMUN~1\VC\Tools\MSVC\1428~1.299\bin\Hostx86\x86\cl.exe' : return code '0x2'
      Stop.
      NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\bin\HostX86\x86\nmake.exe"' : return code '0x2'
      Stop.
      NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\bin\HostX86\x86\nmake.exe"' : return code '0x2'
      Stop.
      NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\bin\HostX86\x86\nmake.exe"' : return code '0x2'
      Stop.
      0b50e7e7
  31. Jun 18, 2021
  32. Jun 17, 2021
  33. Jun 16, 2021
Loading