-
Fatal Error c1189
I have solution with two projects.
Each project is compiled successfully.
When I write include at one project to file in the second project I get the fatal error:
Fatal Error c1189 : #error : include 'stdafx.h' before including this file for PCH
What is the problem?
-
Re: Fatal Error c1189
I hate precompiled headers, just disable them in the project settings and it should then compile.
-
Re: Include error
Hi,
#include "stdafx.h" should be the very first include in a source file (*.cpp).
Jeff
-
Re: Include error