Advertisement

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

Started by November 03, 2017 11:11 AM
2 comments, last by pranciskus2 7 years, 3 months ago

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

I'm just curious in programming

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

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!!!

I'm just curious in programming

This topic is closed to new replies.

Advertisement