|
-
November 22nd, 2005, 08:18 AM
#1
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?
-
November 22nd, 2005, 09:01 AM
#2
Re: Fatal Error c1189
I hate precompiled headers, just disable them in the project settings and it should then compile.
-
November 23rd, 2005, 01:18 PM
#3
Re: Include error
Hi,
#include "stdafx.h" should be the very first include in a source file (*.cpp).
Jeff
-
November 23rd, 2005, 01:40 PM
#4
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|