unexpected end of file while looking for precompiled header directive
-
unexpected end of file while looking for precompiled header directive i have this error when i compile my project on debug mode but when i compile it in release mode it doesn't have this problem. Please help me. i don't know how to debug this and how come the error occurs when I compile it in debug mode and not when I compile it in release mode. What probably is the cause? Does it mean that i have a missing file? I'm new to Visual C++ Programming.
-
unexpected end of file while looking for precompiled header directive i have this error when i compile my project on debug mode but when i compile it in release mode it doesn't have this problem. Please help me. i don't know how to debug this and how come the error occurs when I compile it in debug mode and not when I compile it in release mode. What probably is the cause? Does it mean that i have a missing file? I'm new to Visual C++ Programming.
Put this at the top of every cpp file:
#include "stdafx.h"
John -- modified at 21:25 Friday 10th March, 2006
-
unexpected end of file while looking for precompiled header directive i have this error when i compile my project on debug mode but when i compile it in release mode it doesn't have this problem. Please help me. i don't know how to debug this and how come the error occurs when I compile it in debug mode and not when I compile it in release mode. What probably is the cause? Does it mean that i have a missing file? I'm new to Visual C++ Programming.
delete Debug directory, and delete .clw, .opt, .NCB files. then compile again. libo
-
Put this at the top of every cpp file:
#include "stdafx.h"
John -- modified at 21:25 Friday 10th March, 2006
i did what you have suggested. It resulted to another error. here it is: fatal error C1853: 'Debug/CMMITool.pch' is not a precompiled header file created with this compiler the file which i included the stdafx.h header file is a C source file. this must have caused the other error.
-
unexpected end of file while looking for precompiled header directive i have this error when i compile my project on debug mode but when i compile it in release mode it doesn't have this problem. Please help me. i don't know how to debug this and how come the error occurs when I compile it in debug mode and not when I compile it in release mode. What probably is the cause? Does it mean that i have a missing file? I'm new to Visual C++ Programming.
See the FAQ C1010: unexpected end of file while looking for precompiled header directive[^] --Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | NEW!! PimpFish | CP SearchBar v3.0 | C++ Forum FAQ
-
i did what you have suggested. It resulted to another error. here it is: fatal error C1853: 'Debug/CMMITool.pch' is not a precompiled header file created with this compiler the file which i included the stdafx.h header file is a C source file. this must have caused the other error.
Delete Debug/CMMITool.pch and try again. A pch file may not be used on two different versions of VC++. John