Ok, so I'm learning DirectX 11 and tried the BoxDemo Code from Frank D Luna's Introduction to Direct3D. But I am getting the following Linker Error :
Effects11.lib(EffectAPI.obj) : error LNK2001: unresolved external symbol D3DCompileFromFile
I have heard that I have to build the Effects11.lib in release and debug mode. And I kinda suck in this too. What I did was go to Samples\C++\Effects11\ folder. Opened the solution in VS2012 and built it got the Effects11.lib in Release and also in Debug mode. Renamed the debug one Effects11d.lib. Placed both the libs in the project folder and added them in the Linker->Input->Additional Dependencies. My target platform is x64 and my include directory is currently pointing to directx include and lib directory likewise.
So what is my problem ? Why the Effects11.lib cannot be found by the compiler ?? Am I doing it right ? Please help me . Thanks in Advance
Edit : So my problem lies may be with d3dcompiler.lib. But I have already added the d3dcompiler.lib in linker->input. But when building the Effects11.lib do I have to add d3dcompiler.lib too ?