Jump to content
  • Advertisement
Sign in to follow this  
EvilWeebl

syntax error 'ID3DBlob'

This topic is 2510 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm building an Engine lib and have a function in my Engine.h that looks like this:
HRESULT CompileShaderFromFile(WCHAR* szFileName, LPCSTR szEntryPoint, LPCSTR szShaderModel, ID3DBlob* ppBlobOut);

This Engine project itself doesn't produce any errors but two other projects that access it by its lib produce the error:

error C2061: syntax error : identifier 'ID3DBlob'.

Probably a simple answer but I'm not very good with including libs and dll's and stuff into other projects.

Share this post


Link to post
Share on other sites
Advertisement
I figured it thanks, I wasn't including the DX include and lib directories in my other projects. For some reason I always thought if you referenced the lib of a project that included the directories then it was ok but no, you have to set the directories up again for that project. It was in D3Dcommon.h though so thanks for your help.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!