Skip to content

Vulkan tutorial tests #1023

Answered by robertosfield
DaveAllerton asked this question in Q&A
Nov 11, 2023 · 7 comments · 4 replies
Discussion options

You must be logged in to vote

The compile errors looks to be a C++ version issue:

/home/pi/Install/include/vsg/maths/vec2.h:121:32: error: ‘is_floating_point_v’ is not a member of ‘std’; did you mean ‘is_floating_point’?
  121 |             if constexpr (std::is_floating_point_v<value_type>)
      |                                ^~~~~~~~~~~~~~~~~~~
      |                                is_floating_point

What compiler version are you using?

Looking at the vsgTutorial/1_SettingTheScene/01_hello_world/CMakeLists.txt:

cmake_minimum_required(VERSION 3.7)

project(hello_world)

find_package(vsg REQUIRED)
find_package(vsgXchange REQUIRED)

add_executable(hello_world hello_world.cpp)

target_link_libraries(hello_world vsg::…

Replies: 7 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by robertosfield
Comment options

You must be logged in to vote
2 replies
@robertosfield
Comment options

@DaveAllerton
Comment options

Comment options

You must be logged in to vote
1 reply
@DaveAllerton
Comment options

Comment options

You must be logged in to vote
1 reply
@DaveAllerton
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants