Dev-C++ problem

Started by
2 comments, last by peter86 21 years, 2 months ago
How do you set up Dev-C++ to compile the DX SDK samples?
Advertisement
follow this page

http://www.bloodshed.net/dev/packages/index.html

download DX and follow the instructions in the wordpad file
And how do I get the libraries linked with Dev-C++?
First off you need to get the headers for either DirectX 8.1 or 9. Once you have the headers, you can just add that dir to your include path.

Now to link the libraries.

I tried linking them by hand using the libs shipped with the dxsdk because their extension is .lib and not .a, but I still got undefined references. So I went in search of libs native to g++.

This is from:
Vigasotech

DirectX 9
DirectX 8.1

Now you can just add these libs to your lib search path, and simply link them like any other lib for g++. For example, you want to link in directdraw? Add '-lddraw' to your linker options.

Goodluck, and tell me if you have any trouble.

[edited by - Arkainium on January 31, 2003 10:01:05 AM]

This topic is closed to new replies.

Advertisement