Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Chachii on January 24, 2014, 10:59:14 pm

Title: DirectX and Windows API errors?
Post by: Chachii on January 24, 2014, 10:59:14 pm
I'm somewhat new to Code::Blocks, but I've looked in a lot of places for the answer, but can't find out how to work with DirectX without getting "<name>.h is not found" or whatever.  I've set the Global Variables and everything, it's just that I'm probably not setting up the Windows API right with Code::Blocks.

I've downloaded and installed Visual Studio 11 and DirectX SDK 2010, and Windows SDK for Windows 7

I'm running a Windows 7 64bit OS on an AMD processor.

Some of the files I end up missing are "windows.h", "wincodec.h", "winapifamily.h" and "d2d1.h/d3d9.h"
Title: Re: DirectX and Windows API errors?
Post by: stahta01 on January 24, 2014, 11:14:20 pm
Read this link on Full Compiler "Build Log"
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F (http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F)

Post the Full Compiler "Build Log" on a site that supports the Compiler and/or Library you are using.

You can try posting the "Build Log" here; but, you might NOT get any help.

Tim S.