I am trying to build the Vulkan-Samples from the Khronos git repo for Windows. I cloned and built the dependencies glslang and Vulkan-LoaderAndValidationLayers, and followed all the configuration and build steps as described. As far as I could tell there was no issue, but now when I try to generate project files with cmake -G "Visual Studio 14 Win64 ../.."
from within my build directory as described here, I get the following error:
CMake Error at external/libs/glslang/CMakeLists.txt:133 (add_library):
Cannot find source file:
D:/Khronos/glslang/glslang/MachineIndependent/preprocessr/PpMemory.cpp
Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx
CMake Error: CMake can not determine linker language for target: glslang
Indeed, the file is missing, but I wasn't able to find out where it's supposed to come from or what steps I've missed. Any ideas?