Archived

This topic is now archived and is closed to further replies.

peter86

Dev-C++ problem

Recommended Posts

Arkainium    199
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]

Share this post


Link to post
Share on other sites