error C1010: unexpected end of file while looking for precompiled header.错误处理

error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "stdafx.h"' to your source?  

编译库的时候自己包含一些文件。

解决办法:右键点击工程,选择Property->Configuration Properties->C/C++->Precompiled Header,将Precompiled Header由Use(/Yu)改为Not Using Precompiled Headers即可编过。


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章