Jump to content
  • Advertisement
pranciskus2

DX11 Error Code: D3D11_ERROR_FILE_NOT_FOUND (0X887C0002) Calling: D3DX11 CompileFromFile

This topic is 381 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

Hello, I started to reading DirectX 11 Programming by Frank Luna but I'm encountered with weird problem I'm not able to solve because I even can't find people with exact same problem. As you see I'm using VS2010 and DirectX 11, I mean my setup is exact the same as in the book.

The error occurs in the first sample of the book (BoxDemo.cpp). I think the error is in lines:

HR(D3DX11CreateEffectFromMemory(compiledShader->GetBufferPointer(), compiledShader->GetBufferSize(),
        0, md3dDevice, &mFX));

(See screenshots below).

Could anyone help me? Maybe there are some people with the same error or who solved it.

Thanks in advance.

 

Untitled1.png

Untitled2.png

Untitled3.png

Share this post


Link to post
Share on other sites
Advertisement
27 minutes ago, iedoc said:

Where is "FX/color.fx" relative to your project you are debugging?

Thank you so much!!!!!!!!!!!!!!!!!!! I just linked it from other folder, that was a problem it didn't work. Now I put into the project and it's working now. Thank you, thank you, you can't imagine how much frustration it cost to me!!!

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!