Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmake confg Warning Policy CMP0077 nvrhi #958

Open
johndoe71rus opened this issue Dec 31, 2024 · 0 comments
Open

cmake confg Warning Policy CMP0077 nvrhi #958

johndoe71rus opened this issue Dec 31, 2024 · 0 comments

Comments

@johndoe71rus
Copy link

lubuntu 22.04
cmake run ok, but with Policy CMP0077 warning
cmake log
RBDOOM-3-BFG_cmake.log

make fall to error exact nvrhi

...
[ 11%] Building CXX object extern/nvrhi/CMakeFiles/nvrhi.dir/src/common/aftermath.cpp.o
[ 11%] Building CXX object extern/nvrhi/CMakeFiles/nvrhi.dir/src/validation/validation-commandlist.cpp.o
[ 11%] Building CXX object extern/nvrhi/CMakeFiles/nvrhi.dir/src/validation/validation-device.cpp.o
[ 12%] Building CXX object extern/nvrhi/CMakeFiles/nvrhi.dir/src/common/sparse-bitset.cpp.o
[ 12%] Linking CXX static library libnvrhi.a
[ 12%] Built target nvrhi
[ 12%] Building CXX object extern/nvrhi/CMakeFiles/nvrhi_vk.dir/src/vulkan/vulkan-allocator.cpp.o
In file included from /home/johndoe/build/game/doom/RBDOOM-3-BFG/neo/extern/nvrhi/src/vulkan/vulkan-allocator.cpp:23:
/home/johndoe/build/game/doom/RBDOOM-3-BFG/neo/extern/nvrhi/src/vulkan/vulkan-backend.h:41:2: error: #error "Vulkan SDK version 1.3.230 or later is required to compile NVRHI"
   41 | #error "Vulkan SDK version 1.3.230 or later is required to compile NVRHI"
      |  ^~~~~
In file included from /home/johndoe/build/game/doom/RBDOOM-3-BFG/neo/extern/nvrhi/src/vulkan/vulkan-allocator.cpp:23:
/home/johndoe/build/game/doom/RBDOOM-3-BFG/neo/extern/nvrhi/src/vulkan/vulkan-backend.h:187:13: error: ‘PhysicalDeviceOpacityMicromapPropertiesEXT’ in namespace ‘vk’ does not name a type; did you mean ‘PhysicalDeviceMultiDrawPropertiesEXT’?
  187 |         vk::PhysicalDeviceOpacityMicromapPropertiesEXT opacityMicromapProperties;
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |             PhysicalDeviceMultiDrawPropertiesEXT
/home/johndoe/build/game/doom/RBDOOM-3-BFG/neo/extern/nvrhi/src/vulkan/vulkan-backend.h:188:13: error: ‘PhysicalDeviceRayTracingInvocationReorderPropertiesNV’ in namespace ‘vk’ does not name a type; did you mean ‘PhysicalDeviceRayTracingPropertiesNV’?
  188 |         vk::PhysicalDeviceRayTracingInvocationReorderPropertiesNV nvRayTracingInvocationReorderProperties;
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |             PhysicalDeviceRayTracingPropertiesNV
/home/johndoe/build/game/doom/RBDOOM-3-BFG/neo/extern/nvrhi/src/vulkan/vulkan-backend.h:1033:13: error: ‘UniqueMicromapEXT’ in namespace ‘vk’ does not name a type
 1033 |         vk::UniqueMicromapEXT opacityMicromap;
      |             ^~~~~~~~~~~~~~~~~
make[2]: *** [extern/nvrhi/CMakeFiles/nvrhi_vk.dir/build.make:76: extern/nvrhi/CMakeFiles/nvrhi_vk.dir/src/vulkan/vulkan-allocator.cpp.o] error 1
make[1]: *** [CMakeFiles/Makefile2:314: extern/nvrhi/CMakeFiles/nvrhi_vk.dir/all] error 2
make: *** [Makefile:136: all] error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant