一般的解决方案是:
"Create Precompiled Header" should be only on stdafx.cpp.
Event.cpp should have "Use Precompiled Header".
即:只把stdafx.cpp的设成yc,整个工程的设成yu ;
特殊情况:有时候不是stdafx.cpp提示重复,如:
这里只需把对应的该cpp文件设为yc,其他整个工程设为yu;
一般的解决方案是:
"Create Precompiled Header" should be only on stdafx.cpp.
Event.cpp should have "Use Precompiled Header".
即:只把stdafx.cpp的设成yc,整个工程的设成yu ;
特殊情况:有时候不是stdafx.cpp提示重复,如:
这里只需把对应的该cpp文件设为yc,其他整个工程设为yu;