1.你建立的工程使用了预编译功能, cpp最前边要留一行这样的内容:
#include "StdAfx.h"
2.在VS的solution explorer中右键checklist.pb.cc-->属性-->预编译头(precompiled header)->预编译头(precompiled header)-->选择“不使用预编译头”("not using precompiled headers")
1.你建立的工程使用了预编译功能, cpp最前边要留一行这样的内容:
#include "StdAfx.h"
2.在VS的solution explorer中右键checklist.pb.cc-->属性-->预编译头(precompiled header)->预编译头(precompiled header)-->选择“不使用预编译头”("not using precompiled headers")
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。