Fatal Error C1010 Stdafx H
Contents |
here for a quick overview of the site fatal error c1010 unexpected end of file Help Center Detailed answers to any questions you might fatal error c1010 unexpected end of file while looking for precompiled header have Meta Discuss the workings and policies of this site About Us Learn more
Fatal Error C1010 In Vc++
about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users
Fatal Error C1010 C++
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 visual studio turn off precompiled header 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
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
How To Turn Off Precompiled Headers In Visual Studio 2015
hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask unexpected end of file while looking for precompiled header directive vc6 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 what are precompiled headers them; it only takes a minute: Sign up How to avoid precompiled headers up vote 31 down vote favorite 5 I am trying to compile a simple VS program in C++ as an assignment for class. We only ever http://stackoverflow.com/questions/8862840/unexpected-end-of-file-error include and I keep getting this error: 1>Assignment.cpp(15): fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "StdAfx.h"' to your source? My program is literally this small... #include
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 https://software.intel.com/en-us/forums/intel-perceptual-computing-sdk/topic/500961 Search You are hereHome › Forums › Archived Forums › http://www.cplusplus.com/forum/beginner/4290/ 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 fatal error 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 fatal error c1010 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@XZ) already defined in libpxcutils_d.lib(util_pipeline_raw.obj) Error 13 error LNK2005: "public: __thiscall std::locale::id::id(unsigned int)" (??0id@locale@std@@QAE@I@Z) already
Express Edition and Turbo C++.On compilation both of them showed 0 errors and 0 warnings.But while running the program VC++ showed: "fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "stdafx.h"' to your source?" and failed to run.But Turbo C++ ran the program smoothly and showed the output. Could any one tell me what's the reason behind and how to fix the problem? My code in VC++: 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#include"stdafx.h" #include