NVIDIAGameWorks / RTXDI

Other
363 stars 55 forks source link

Ubuntu CMake "No rule to make target" error #14

Closed ghost closed 1 year ago

ghost commented 1 year ago
make -j8
[  0%] Built target ShaderMakeBlob
[  1%] Built target RTXGI-VK
[  3%] Built target imgui
[  4%] Built target jsoncpp_static
[  7%] Built target nvrhi
[  8%] Built target rtxdi-sdk
[ 13%] Built target glfw
[ 14%] Built target ShaderMake
make[2]: *** No rule to make target 'minimal/shaders/shaderCompiler', needed by 'minimal/shaders/CMakeFiles/minimal-sample-shaders'.  Stop.
make[1]: *** [CMakeFiles/Makefile2:1003: minimal/shaders/CMakeFiles/minimal-sample-shaders.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[2]: *** No rule to make target 'shaders/shaderCompiler', needed by 'shaders/CMakeFiles/rtxdi-sample-shaders'.  Stop.
make[1]: *** [CMakeFiles/Makefile2:901: shaders/CMakeFiles/rtxdi-sample-shaders.dir/all] Error 2
[ 19%] Built target nvrhi_vk
[ 23%] Built target donut_core

This is with cmake version 3.26.3

apanteleev commented 1 year ago

Fixed in https://github.com/NVIDIAGameWorks/RTXDI/commit/95d1a4f7c55882247755ad7e765089488e988a8e