Jump to content
  • Advertisement
Sign in to follow this  
cNoob

I Feel Like A Compiler noob Cant Compile Direct x Apps

This topic is 4842 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

ive installed the directx 9.0c SDK and when i make my windows app it works fine then i try adding a bit of dirext x and it wont compile ive set my directories to C:/directxSDK/include and C:/directxSDK/lib but still wont compile please help thanx.

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
Did you add the directx header files to your project? All DirectX projects need to have dxguid.h included in the project (not just in the linker directories). Other headers are needed for different DirectX components:

DirectDraw - ddraw.h
DirectInput - dinput8.h
DirectSound - dsound.h
Direct3D - d3d9.h
...

Note: I am just telling you this off the top of my head, the filenames may not be exactly correct.

Share this post


Link to post
Share on other sites
I don't use C++ but I think the errors would probably be more useful.

If they are linking errors then you know if you haven't set up your folder paths correctly or they might be changes in functions if the code was for a previous revision of DirectX.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!