Archived

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

ji yan

Link Problem

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