unresolved external symbol _IID_ID3D10ShaderReflection

Started by
2 comments, last by yckx 12 years, 9 months ago
So I'm trying to play with shader reflection, and I'm getting this weird unresolved external linker error for [font="Lucida Sans Unicode"]IID_ID3DShaderReflection[/font][font="Arial"].[/font] I'm obviously not including the right LIB file, but I'm including d3dcompiler.lib, which seems (?) like it should be the right LIB. MSDN says D3DReflect requires d3dcompile_xx.dll, so I'm not sure.

I'm kinda stuck on this one. Any assistance would be super neato-keen.
Advertisement
[font=arial, verdana, tahoma, sans-serif][size=2]That's the GUID for the shader reflection interface. You'll also need to link against dxguid.lib[/font]

This bit me too. Would be nice if it were in the docs
Either that, or you're mentioning the wrong type. Your subject says IID_ID3D10ShaderReflection but your post says IID_ID3DShaderReflection

[font="arial, verdana, tahoma, sans-serif"]That's the GUID for the shader reflection interface. You'll also need to link against dxguid.lib[/font]

This bit me too. Would be nice if it were in the docs

Huzzah~! That solved it (and quickly, too). Thanks :D

This topic is closed to new replies.

Advertisement