title: Using DirectXTex Library
body: <p>I am trying to update my DirectX Project to the new Windows 8.1 sdk (2013 or something) and get rid of DirectX SDK june 2010. I have come far, but I am stuck at a Linker error LNK2001</p>
  
  <p>Error   3   error LNK2001: unresolved external symbol "long __cdecl DirectX::CreateDDSTextureFromFile(struct ID3D11Device *,wchar_t const *,struct ID3D11Resource * *,struct ID3D11ShaderResourceView * *,unsigned int,enum DirectX::DDS_ALPHA_MODE *)" (?CreateDDSTextureFromFile@DirectX@@YAJPAUID3D11Device@@PB_WPAPAUID3D11Resource@@PAPAUID3D11ShaderResourceView@@IPAW4DDS_ALPHA_MODE@1@@Z)   C:\Users\DimmerFan\documents\visual studio 2013\Projects\MikaelD3D\MikaelD3D\TextureClass.obj   MikaelD3D</p>
  
  <p>I guess that doesnt say much. This is the code with the error:</p>
  
  <pre><code>HRESULT result;
  
  result = DirectX::CreateDDSTextureFromFile(device, filename, nullptr, &amp;m_texture, 0, nullptr);
  if (FAILED(result))
  {
      return false;
  }
  
  return true;
  </code></pre>
  
  <p>Where I get this function <code>DirectX::CreateDDSTextureFromFile</code> from the DirectXTex SDK.
  However I somehow fail to include this library to my Project. I dont know what could have gone wrong. 
  Intellisence pops up and Everything looks good. I have included the D:\DirectXTex\DDSTextureLoader To my Include Directorys and I am including <code>#include &lt;DDSTextureLoader.h&gt;</code> Thanks for any help about this error</p>
  
  <p>//Mikael Törnqvist</p>