KhronosGroup / Vulkan-Samples

One stop solution for all Vulkan samples
Apache License 2.0
4.33k stars 648 forks source link

I am a beginner, emmmmm. #966

Closed GongXiangXYZ closed 8 months ago

GongXiangXYZ commented 8 months ago

I just git clone,cmake, open the .sln and F5, it can run,but I can see no sample. (My pc is ok, it can run https://github.com/SaschaWillems/Vulkan

image

image

SaschaWillems commented 8 months ago

You need to specify the sample you want to run as an argument, e.g.

sample hello_triangle

We're working on improving the help message to make this more clear. The message currently displayed isn't very helpful.

GongXiangXYZ commented 8 months ago

ok, I got it.

It would be better that push F5 then see some samples. :)

SaschaWillems commented 8 months ago

That's technically not possible. This repo is differently structured than my samples (where each sample is a separate project). But we'll try to improve at least the messaging, so users can easily see how they can run a sample and what samples are available. The current wall of text in cases like yours aren't very helpful.

GongXiangXYZ commented 8 months ago

That's technically not possible. This repo is differently structured than my samples (where each sample is a separate project). But we'll try to improve at least the messaging, so users can easily see how they can run a sample and what samples are available. The current wall of text in cases like yours aren't very helpful.

that error line make me nervous, "Why ? I did nothing.", BTW thanks for your reply.

SaschaWillems commented 8 months ago

Yes, that error is misleading. We'll fix that with #968