Skip to content

Run TestFramework in HelloWorld Example #1541

Answered by jrouwe
hugarty asked this question in Q&A
Discussion options

You must be logged in to vote

Looks like you're trying to compile on Linux in which case Renderer::sCreate will only exist if JPH_ENABLE_VULKAN is defined. My guess is that it couldn't find the Vulkan SDK so it left the define undefined.

When running cmake for the first time you should see something like:

-- Found Vulkan: /usr/lib/x86_64-linux-gnu/libvulkan.so (found version "1.4.304") found components: glslc glslangValidator

if not, then you can't compile TestFramework since it has no renderer.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@hugarty
Comment options

@jrouwe
Comment options

@hugarty
Comment options

@jrouwe
Comment options

@hugarty
Comment options

Answer selected by hugarty
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants