4 ms·
I built it, along with a long (long!) detour to build glslc, which AFAICT Debian does not package although it does package libglslang.a (!?). The CMake find_pr
by ncmncm 6y ago
I built it, along with a long (long!) detour to build glslc, which AFAICT Debian does not package although it does package libglslang.a (!?).
The CMake find_program thing was utterly unable to find glslc, even when I placed it in /usr/bin/; I had to hand-edit the build/CMakeCache.txt entry. (^*%^&^$%&% CMake.)
When run, it pops up a window frame for a fractional second and dies with "VulkanInstance: no physical device". Otherwise, nice!
- TazeTSchnitzel 6y ago> AFAICT Debian does not package although it does package libglslang.a (!?) Well, those are different projects. The standalone version of libglslang is glslangValidator.
- jcelerier 6y ago> The CMake find_program thing was utterly unable to find glslc, even when I placed it in /usr/bin/; I had to hand-edit the build/CMakeCache.txt entry. (^*%^&^$%&% CMake.) I checked and the CMake code in this project is wrong: https://cmake.org/cmake/help/latest/command/find_program.html https://cmake.org/cmake/help/latest/command/find_program.htm... it should be find_program(GLSLC_PATH glslc REQUIRED FATAL_ERROR) e.g. here it was calling find_program with "glslc" as variable name in which to put a program called "" I submitted a fix here: https://github.com/cledant/scop_vulkan/pull/1 https://github.com/cledant/scop_vulkan/pull/1