I am interested in using DirectX to make games. I'm using MinGW, which is a windows command line port of GCC. How would I get it so that DirectX 10 is included in the files? It probably is in the headers, but I don't know which to include because most tutorials online are using an IDE where you configure DirectX in that. Thanks in advance.

Recommended Answers

All 2 Replies

I don't remember exactly, but some years ago I tried the same, and it was a downright pain in the ass to get it to work, so in the end I just went back to the microsoft C++ compiler... it will save you a lot of trouble.

In any case it wasn't just a matter of pointing MinGW to the DirectX include/lib directory...

You need to download the DirectX SDK and then just point your compiler/makefile to the directory that includes the headers/libraries

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.