Fatal Error C1010
Contents |
resources Windows Server 2012 resources Programs MSDN subscriptions Overview Benefits Administrators Students Microsoft Imagine Microsoft Student Partners ISV Startups TechRewards Events Community Magazine Forums Blogs Channel 9 Documentation APIs and
Fatal Error C1010 Unexpected End Of File
reference Dev centers Retired content Samples We’re sorry. The content you requested fatal error c1083 has been removed. You’ll be auto redirected in 1 second. C/C++ Building Reference C/C++ Build Errors Compiler Fatal fatal error c1853 Errors C999 through C1999 Compiler Fatal Errors C999 through C1999 Fatal Error C1010 Fatal Error C1010 Fatal Error C1010 Fatal Error C999 Fatal Error C1001 Fatal Error C1002 Fatal Error C1003
Error Lnk2019
Fatal Error C1004 Fatal Error C1005 Fatal Error C1007 Fatal Error C1008 Fatal Error C1009 Fatal Error C1010 Fatal Error C1012 Fatal Error C1013 Fatal Error C1014 Fatal Error C1016 Fatal Error C1017 Fatal Error C1018 Fatal Error C1019 Fatal Error C1020 Fatal Error C1021 Fatal Error C1022 Fatal Error C1023 Fatal Error C1026 Fatal Error C1033 Fatal Error C1034 Fatal
Fatal Error C1189
Error C1035 Fatal Error C1037 Fatal Error C1038 Fatal Error C1045 Fatal Error C1046 Fatal Error C1047 Fatal Error C1051 Fatal Error C1053 Fatal Error C1054 Fatal Error C1055 Fatal Error C1057 Fatal Error C1059 Fatal Error C1060 Fatal Error C1061 Fatal Error C1064 Fatal Error C1065 Fatal Error C1067 Fatal Error C1068 Fatal Error C1070 Fatal Error C1071 Fatal Error C1073 Fatal Error C1074 Fatal Error C1075 Fatal Error C1076 Fatal Error C1077 Fatal Error C1079 Fatal Error C1080 Fatal Error C1081 Fatal Error C1082 Fatal Error C1083 Fatal Error C1084 Fatal Error C1085 Fatal Error C1086 Fatal Error C1087 Fatal Error C1088 Fatal Error C1089 Fatal Error C1091 Fatal Error C1092 Fatal Error C1093 Fatal Error C1094 Fatal Error C1098 Fatal Error C1099 Fatal Error C1100 Fatal Error C1103 Fatal Error C1104 Fatal Error C1107 Fatal Error C1108 Fatal Error C1109 Fatal Error C1113 Fatal Error C1120 Fatal Error C1121 Fatal Error C1126 Fatal Error C1128 Fatal Error C1189 Fatal Error C1190 Fatal Error C1191 Fatal Error C1192 Fatal Error C1196 Fatal Error C1197 Fatal Error C1201 Fatal
SQL Server 2014 Express resources Windows Server 2012 resources Programs MSDN subscriptions Overview Benefits Administrators Students Microsoft Imagine Microsoft Student Partners ISV Startups TechRewards Events Community Magazine fatal error lnk1120 Forums Blogs Channel 9 Documentation APIs and reference Dev centers Retired
Error Lnk2001
content Samples We’re sorry. The content you requested has been removed. You’ll be auto redirected in error c2664 1 second. Ask a question Quick access Forums home Browse forums users FAQ Search related threads Remove From My Forums Answered by: fatal error C1010: unexpected end of https://msdn.microsoft.com/en-us/library/d7fz9ckx(v=vs.80).aspx file while looking for precompiled header. Archived Forums V > Visual C++ Express Edition Question 0 Sign in to vote fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "stdafx.h"' to your source? I am using Visual Studio 2005 Academic Edition. I clicked "Tool"=>Options=>Debugging=>Edit and https://social.msdn.microsoft.com/Forums/en-US/0610b390-69f8-49b9-89af-94ac16c2d0a0/fatal-error-c1010-unexpected-end-of-file-while-looking-for-precompiled-header?forum=Vsexpressvc Continue. Let "Allow precomping" unchecked then. Why does this error occury? Thanks! Tuesday, September 18, 2007 10:21 PM Answers 0 Sign in to vote "Did you forget to add #include "stdafx.h" to your source"? Tuesday, September 18, 2007 11:29 PM Moderator All replies 0 Sign in to vote "Did you forget to add #include "stdafx.h" to your source"? Tuesday, September 18, 2007 11:29 PM Moderator 0 Sign in to vote I have generated source code and was trying to compile in release mode (instead of debug). I got this error. Putting in the #include "stdafx.h" does not fix the problem. Anyone know what is going on and why I am getting this error in Release mode and not in Debug mode? Tuesday, October 09, 2007 2:59 PM 2 Sign in to vote I figured out what the problem was. The entire project needed to be marked as 'Not Using Precompiled Headers' in the property pages. This is under the 'Configurat
LearningModern CodeNetworkingOpen SourceStorageToolsDeveloper TypeEmbedded SystemsGame DevMediaTechnical, Enterprise, HPCWebOSAll ToolsAndroid*HTML5Linux*OS X*Windows*ResourcesCode SamplesContact SupportDocumentationFree SoftwareIntel Registration CenterProduct ForumsSDKsResourcesPartner with IntelAcademic ProgramPartner SpotlightBlack Belt DeveloperDeveloper MeshInnovator ProgramSuccess StoriesLearnBlogBusiness TipsEventsVideosSupportContact SupportDeveloper https://software.intel.com/en-us/forums/intel-perceptual-computing-sdk/topic/500961 EvangelistsFAQsForums Search form Search You are hereHome › Forums › http://www.delphifaq.com/faq/f923_0.htm Archived Forums › Intel® Perceptual Computing SDK (Archived) FacebookLinkedInTwitterDiggDeliciousGoogle Plus VS2013 : error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "stdafx.h"' VS2013 : error C1010: unexpected end of file fatal error while looking for precompiled header. Did you forget to add '#include "stdafx.h"' Rick Blacker Mon, 02/03/2014 - 21:58 Hi all... Using VS2013, trying to create the app that is in the document titled "How to Use the Face Detection Module" Created a new project, typed in the code fatal error c1010 exactly as it appears in the document which is on page 3. There is one difference though. When i created my console application, VS automatically puts a #include "stdafx." directive at the top of the main file. Anyway, I created the source code, tried to compile, I then get the error error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "stdafx.h"' to your source? c:\development\intel\pcsdk\sample\common\src\face_render.cpp So i tried that and it made matters worse with a lot more link errors. So, I did some research on this and ran into this Microsoft article:http://msdn.microsoft.com/en-us/library/d7fz9ckx.aspx I tried both of those suggestions and again, a total mess of errors. Any help will be appreciated! Thanks Error 15 error LNK1169: one or more multiply defined symbols found C:\Users\Rick\Documents\Visual Studio 2013\PerceptualComputing\SimpleCPPConsoleApp\Debug\SimpleCPPConsoleApp.exe Error 9 error LNK2005: "public: __thiscall std::_Container_base12::_Container_base12(void)" (??0_Container_base12@std@@QAE@XZ) already defined in libpxcutils_d.lib(
Functions in traditional C, MFC and .NET1 new comments fatal error C1010 - unexpected end of file while looking for precompiled header directive 56 comments. Current rating: (22 votes). Leave comments and/ or rate it. Question: I try to compile a program with Visual C++ .NET (dot-net) which was originally written for the Apple Macintosh for Objective-C. I keep getting the following error message: "fatal error C1010 - unexpected end of file while looking for precompiled header directive" I looked into the header file but cannot find anything to be missing. Answer: MFC programs use many libraries, requiring the use of many header files. To save time, the compiler tries to precompile most of these header files, and use the predigested data instead of reading through all of these header files on every compilation. There are a number of ways to do this. The standard method for MFC programs is to lump all of these common header file references into one header file ("stdafx.h"). If you just have to ask what "stdafx" means, it comes from the early name of MFC, which was AFX (application framework). When compiling each source (.cpp) file, the compiler skips through the source code, looking for the directive: #include "stdafx.h" Once it finds this directive, it substitutes the precompiled header information and then begins compiling the rest of the file. If your source file doesn't contain this directive, you get the C1010 error described above. The simple solution is to insert the include directive to your source file, before any other library references or other code. Content-type: text/html Send a message to Subject Comments: You are on page 1 of 4, other pages: [1] 2 3 42005-11-05, 08:37:23 anonymous from Canada #include using namespace std; int number1; int number2; int answer; int answer2; int answer3; int answer4; void main() { cout << 'Enter a random number'; cin >> number1; cout << 'Enter another random number'; cin >> number2; answer = number1 + number2; answer2 = number1 - number2; answer3 = number1 * number2; answer4 = number1 / number2; cout << 'Your Sum is: ' << answer << endl; cout << 'Your Difference is: ' << answer2 << endl; cout << 'Your Product is: ' << answer3 << endl; cout << 'Your Quotient is: ' << answer4 << endl; cout << 'Thank you for using Steve's Calculator!' } 2005-11-07, 09:42:28 anonymous from United Kingdom Thanks, the main answer solved my problem, additional source files needed #include 'stdafx.h' at the top of the .cpp file to work 2005-11-21, 22:46:31 sabapathy_80@yahoo.com from Japan possible solution may be: include 'stdafx.h'