LNK2019 link against D3DCompiler problem?

32 Views Asked by At

The two errors are:

Severity Code Description Project File Line Suppression State Details Error LNK2019 unresolved external symbol D3DCompileFromFile referenced in function "public: bool __cdecl GraphicsEngine::createShaders(void)" (?createShaders@GraphicsEngine@@QEAA_NXZ) 3D Graphics Engine C++ at1 C:\Users\User\Desktop\Exam\3D Graphics Engine C++ at1\3D Graphics Engine C++ at1\GraphicsEngine.obj 1

Severity Code Description Project File Line Suppression State Details Error LNK1120 1 unresolved externals 3D Graphics Engine C++ at1 C:\Users\User\Desktop\Exam\3D Graphics Engine C++ at1\x64\Debug\3D Graphics Engine C++ at1.exe 1

The second one is directly caused by the first, and this is the first time I get a linker problem so I don't have an idea how to fix it!

I've seen several problems solved here by changing the project settings but my settings were as they say to be solved, others say to change the order (what they are called or something like that) but I can't find where to do that, so I decided to write here for the help!

0

There are 0 best solutions below