KhronosGroup / KhronosGroup/SPIRV-Cross

Obj): error LNK2038: Mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' mismatch value 'MDd_DynamicDebug' (in Car.obj)

Open
#2,341 1 comment 0 reactions 0 assignees View on GitHub
question
Dominant language
GLSL
Stars
2.5k
Forks
713
Avg merge
2d 18h
Merged PRs (30d)
16

Description

Obj): error LNK2038: Mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' mismatch value 'MDd_DynamicDebug' (in Car.obj)

In the process of using these DLLs, I found that:
\Lib \ shaderc_shared.lib
\Lib \ spirv cross core lib
\Lib \ spirv cross glsl.lib
and
\Lib \ shaderc_sharedd.lib
\Lib \ spirv cross cored.lib
\Lib \ spirv cross glsld.lib
They are all the same, they are all MD-DynamicRelease
I want to use the debug version of the DLL because they can be used together with other debug commands.

Contributor guide

No contributing guide indexed for this repository

Research direction

The report names the Lib artifacts shaderc_shared.lib, spirv-cross-core.lib, spirv-cross-glsl.lib and their debug-suffixed variants, but no source file or test. Start by inspecting the Windows build configuration and the RuntimeLibrary settings used to produce these libraries. Done means the debug DLL and libraries link without an MD/MDd mismatch and remain usable with debug builds.

Written by the indexing model from the issue text.

Assessment

Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.