vulkano-rs/vulkano

Examples Fail to Build Outside of the Vulkano Project

KalevGonvick opened this issue · 2 comments

  • Version of vulkano: 0.34.1
  • OS: Win10
  • GPU: 3080
  • GPU Driver: 551.52

Issue

Taking any example from 0.34.1 Vulcano into an isolated project will not compile because of missing dependencies. Specifically with RecordingCommandBuffer and CommandBufferBeginInfo. I tested triangle and basic-compute-shader, but I assume any example that uses these dependencies will fail.

Building and running the examples within the Vulkano project works correctly. The issue only happens when you try to use the same structs in another project using Vulkano as a dependency. Also, going back to version 0.33.0 of Vulkano the example code has no issues building and running.

Rua commented

RecordingCommandBuffer and CommandBufferBeginInfo are not part of Vulkano 0.34.1. They are only in the unstable version that has not been released yet. You need to use the examples from the last release.

Ah, ok thanks for the quick response! I will stick with the last release version.