Home > Enterprise >  identifier D3DReadFileToBlob is undefined?
identifier D3DReadFileToBlob is undefined?

Time:05-11

#include<D3Dcompiler.h>

void Init()
{
    D3DReadFileToBlob(L"", nullptr);
}

it gives D3DReadFileToBlob is undefined error, i don't think it is a linking error and i read this which i don't get what am i suppose to do (i think that might be the cause)

so what should i do to fix this?

CodePudding user response:

The problem was that i was using both Windows Kits and Directx SDK at the same time and that caused this error, Because i was watching old tutorials i didn't know that i really don't need Directx SDK and i could use Windows Kits which already has everything in it for development of directx 11.

  • Related