Jump to content
  • Advertisement
Sign in to follow this  

Cannot find stdafx.h

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

I was trying to build an example that came with the DX8 SDK, and I keep getting the error "Cannot find stdafx.h..." A thorough search revealed that stdafx.h did indeed exist in every folder linked to (the default compiler directories, common files, and the common files from the CD).

Share this post


Link to post
Share on other sites
Advertisement
this problem can be solved by either add an #include "stdafx.h" in the file where the error is caused or by changing an option in your projectsettings from use precompiled headers to atomatically generate precompiled headers (dont ask me where, i cant check atm)


T2k

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!