Fatal Error C1010 Precompiled Header
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Unexpected end of file error up vote 19 down vote favorite 2 I hope you can help me, cause I have no idea about what's going on. I'm having the following error while trying to add Beecrypt library to my project: fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "stdafx.h"' to your source? Actually I did not forget to add #include "stdafx" to my source. The compiler points the error to be at the end of this .cxx file: #define BEECRYPT_CXX_DLL_EXPORT #ifdef HAVE_CONFIG_H # include "config.h" #endif #include "beecrypt/c++/security/SecureRandom.h" #include "beecrypt/c++/security/SecureRandomSpi.h" #include "beecrypt/c++/security/Security.h" using namespace beecrypt::security; SecureRandom* SecureRandom::getInstance(const String& algorithm) throw (NoSuchAlgorithmException) { Security::spi* tmp = Security::getSpi(algorithm, "SecureRandom"); assert(dynamic_cast
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 reference Dev centers Retired content Samples We’re sorry. The content you requested has been removed. You’ll be auto redirected in 1 second. C/C++ Building Reference C/C++ Build Errors Compiler Fatal 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 http://stackoverflow.com/questions/8862840/unexpected-end-of-file-error Fatal Error C1003 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 https://msdn.microsoft.com/en-us/library/d7fz9ckx(v=vs.90).aspx Fatal Error C1034 Fatal 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 C
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 https://msdn.microsoft.com/en-us/LIbrary/d7fz9ckx(v=vs.110).aspx 9 Documentation APIs and reference Dev centers Retired content Samples We’re sorry. https://software.intel.com/en-us/forums/intel-perceptual-computing-sdk/topic/500961 The content you requested has been removed. You’ll be auto redirected in 1 second. C/C++ Building Reference C/C++ Build Errors Compiler Fatal Errors C999 through C1999 Compiler Fatal Errors C999 through C1999 Fatal Error C1010 Fatal Error C1010 Fatal Error C1010 Fatal Error C1001 Fatal Error fatal error C1002 Fatal Error C1004 Fatal Error C1009 Fatal Error C1010 Fatal Error C1017 Fatal Error C1026 Fatal Error C1033 Fatal Error C1046 Fatal Error C1051 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 C1071 Fatal Error fatal error c1010 C1073 Fatal Error C1075 Fatal Error C1076 Fatal Error C1079 Fatal Error C1080 Fatal Error C1081 Fatal Error C1083 Fatal Error C1084 Fatal Error C1085 Fatal Error C1092 Fatal Error C1093 Fatal Error C1094 Fatal Error C1100 Fatal Error C1107 Fatal Error C1113 Fatal Error C1120 Fatal Error C1121 Fatal Error C1126 Fatal Error C1128 Fatal Error C1189 Fatal Error C1191 Fatal Error C1192 Fatal Error C1197 Fatal Error C1305 Fatal Error C1307 Fatal Error C1308 Fatal Error C1309 Fatal Error C1311 Fatal Error C1313 Fatal Error C1350 Fatal Error C1351 Fatal Error C1382 Fatal Error C1506 Fatal Error C1509 Fatal Error C1600 Fatal Error C1601 Fatal Error C1602 Fatal Error C1603 Fatal Error C1853 Fatal Error C1854 Fatal Error C1900 Fatal Error C1902 Fatal Error C1905 TOC Collapse the table of content Expand the table of content This documentation is archived and is not being maintained. This documentation is archived and is not being maintained. Fatal Error C1010 Visual Studio 2012 Other Versions Visual Studio 2015 Visual Studio 2013 Visua
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 EvangelistsFAQsForums Search form Search You are hereHome › Forums › 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 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 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(util_pipeline_raw.obj) Error 10 error LNK2005: "public: __thiscall std::_Container_base12::~_Container_base12(void)" (??1_Container_base12@std@@QAE@