Sign in to follow this  
yckx

unresolved external symbol _IID_ID3D10ShaderReflection

Recommended Posts

yckx    1298
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 [i]seems[/i] (?) like it should be the right LIB. [url="http://msdn.microsoft.com/en-us/library/dd607334%28v=vs.85%29.aspx"]MSDN says D3DReflect requires d3dcompile_xx.dll[/url], so I'm not sure.

I'm kinda stuck on this one. Any assistance would be super neato-keen.

Share this post


Link to post
Share on other sites
RDragon1    1205
[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[/size][/font]

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

Share this post


Link to post
Share on other sites
RDragon1    1205
Either that, or you're mentioning the wrong type. Your subject says IID_ID3D10ShaderReflection but your post says IID_ID3DShaderReflection

Share this post


Link to post
Share on other sites
yckx    1298
[quote name='RDragon1' timestamp='1310696280' post='4835535']
[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[/size][/font]

This bit me too. Would be nice if it were in the docs
[/quote]
Huzzah~! That solved it (and quickly, too). Thanks :D

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this