Author Topic: trying to include <d3d11.h>  (Read 683 times)

Offline Honey

  • Single posting newcomer
  • *
  • Posts: 1
trying to include <d3d11.h>
« on: February 14, 2018, 04:43:47 pm »
hello I'm new to C::B ,I'm trying to include <d3d11.h> but I keep getting the error :

no such file or directory

after some search I found that I need the Directx SDK which is exists in the windows SDK so I download the windows sdk , but it seams that I need to link it somehow to C::B .

I already know that I need to go to Settings->Compiler->Search Directory  , but I don't know whats linked to what , and if there is any extra steps .
 

Online stahta01

  • Lives here!
  • ****
  • Posts: 6636
    • My Best Post
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org