Archived

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

Dev-C++ problem

This topic is 5432 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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