开发平台(Platform): (Ex: VC++, GCC, Linux, ...)
VC++14 Win64
额外使用到的函数库(Library Used): (Ex: OpenGL, ...)
VulkanSDK 1.0.11
问题(Question):
debug rebuild都是类似错误 (但是release都成功)
44>SPIRV.lib(GlslangToSpv.obj) : error LNK2038: mismatch detected for '_ITERAT
OR_DEBUG_LEVEL': value '0' doesn't match value '2' in spirv_specialization.ob
j
44>SPIRV.lib(GlslangToSpv.obj) : error LNK2038: mismatch detected for 'Runtime
Library': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in
spirv_specialization.obj
44>SPIRV.lib(SpvBuilder.obj) : error LNK2038: mismatch detected for '_ITERATO
R_DEBUG_LEVEL': value '0' doesn't match value '2' in spirv_specialization.obj
44>SPIRV.lib(SpvBuilder.obj) : error LNK2038: mismatch detected for 'RuntimeL
ibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in
spirv_specialization.obj
喂入的资料(Input):
就vulkan sample
预期的正确结果(Expected Output):
45 succeeded
错误结果(Wrong Output):
========== Rebuild All: 6 succeeded, 39 failed, 0 skipped ==========
程式码(Code):(请善用置底文网页, 记得排版)
补充说明(Supplement):
Windows PowerShell都正常
PATH\1.0.11.1\glslang\build> cmake -G "Visual Studio 14 Win64" ..
PATH\1.0.11.1\spirv-tools\build> cmake -G "Visual Studio 14 Win64" ..
PATH\1.0.11.1\Samples\build> cmake -G "Visual Studio 14 Win64" ..
glslang和spirv-tools都rebuild(debug或release) succeeded