Jump to content
  • Advertisement

Archived

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

ji yan

Link Problem

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

Hello: I am writing my first 3D programme but now I encounter a problem. When adding files of D3D Common File Framework, I get the following compiling errors: --------------------Configuration: MyDirect3D - Win32 Debug-------------------- Compiling... d3dapp.cpp c:\dxsdk\samples\multimedia\common\src\d3dapp.cpp(2017) : fatal error C1010: unexpected end of file while looking for precompiled header directive d3dfont.cpp c:\dxsdk\samples\multimedia\common\src\d3dfont.cpp(675) : fatal error C1010: unexpected end of file while looking for precompiled header directive d3dutil.cpp c:\dxsdk\samples\multimedia\common\src\d3dutil.cpp(695) : fatal error C1010: unexpected end of file while looking for precompiled header directive Generating Code... Error executing cl.exe. MyDirect3D.exe - 3 error(s), 0 warning(s) I have no idea why this happened. Does anyone have any sugestions?

Share this post


Link to post
Share on other sites
Advertisement
You activated precompiled headers without including "stdafx.h" (or whatever the pch-header is named). So either disable PCH or include "stdafx.h".

Bye VizOne

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.

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!