Jump to content
  • Advertisement

Archived

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

how do i use precompiled header?

This topic is 5477 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''m using VS.NET. I read an MFC book, and it mentions the goodness of precompiled headers. And since AppWizard, do all the stuff, it becomes no worry for MFC. Since I''m an API guy, I want to do it by myself, make a blank project, create stdafx.h and stdafx.cpp, set the project options "Use Precompiled Headers" and set the following settings:
Create/Use Precompiled Header: Use Precompiled Header (/Yu)
Create/Use PCH Through File:   Stdafx.h
Precompiled Header File:       $(IntDir)/$(TargetName).pch
 
I compile it, errors! can someone help me out?
My compiler generates one error message: "does not compile."

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
This might help:

http://www.cygnus-software.com/papers/precompiledheaders.html

Share this post


Link to post
Share on other sites
quote:
Original post by Anonymous Poster
This might help:

http://www.cygnus-software.com/papers/precompiledheaders.html


Great article.

Share this post


Link to post
Share on other sites

  • 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!