Author Topic: DirectX and Windows API errors?  (Read 5320 times)

Offline Chachii

  • Single posting newcomer
  • *
  • Posts: 2
DirectX and Windows API errors?
« 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"

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7785
    • My Best Post
Re: DirectX and Windows API errors?
« Reply #1 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

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.
C Programmer working to learn more about C++ and Git.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org