Code::Blocks

User forums => Using Code::Blocks => Topic started by: Honey on February 14, 2018, 04:43:47 pm

Title: trying to include <d3d11.h>
Post by: Honey 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 .
 
Title: Re: trying to include <d3d11.h>
Post by: stahta01 on February 14, 2018, 04:45:07 pm
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F (http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F)