fatal error c1010 unexpected Hugoton Kansas

Address 2043 Kensington, Garden City, KS 67846
Phone (620) 626-7664
Website Link
Hours

fatal error c1010 unexpected Hugoton, Kansas

You can either include it into obne of your files, or you remove the options to use precompiled headers for this specific source file. Sincerely, Sam 2006-07-10, 21:52:29 anonymous from Vietnam Hi I am KienJudo from VN, Sorry some thing wrong with the web :-) You should use #include ''stdafx.h'' instead of In the right pane, click Create/Use Precompiled Header, and then click Not Using Precompiled Headers. Don't forget to do this for all solution configurations.

goodluck! :-D 2006-07-17, 22:29:01 anonymous from India hello i am using opencv library in microsoft visual c++ and after linking iam getting the error fatal error C1010: unexpected end of Browse other questions tagged c++ visual-studio compiler-construction header or ask your own question. Did Sputnik 1 have attitude control? 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;

If your source file doesn't contain this directive, you get the C1010 error described above. Martin,           Now i got after setting the precompiled headers off.               It is in Project-> Settings->C/C++->Category->Precompiled headers->not using precompiled headers. Privacy statement Dev Centers Windows Office More... Thanks!

This can be found in Visual Studio under Build -> Configuration Manager. Make space between rows constant Why would a password requirement prohibit a number in the last character? Give me a moment. –user1800967 Nov 21 '13 at 5:54 1 @user1800967 - in VS2010 - Common Properties->Configuration Properties->C/C++->Precompiled Headers ; then Precompiled Header should be Not Using Precomiled Header Please don't PM me for help - and no, I don't do help over instant messengers. 09-22-2008 #5 Mario F.

Choose precompiled Headers. Dev centers Windows Office Visual Studio Microsoft Azure More... It was set to C/C++ Compiler instead of the correct C/C++ header. Because I don't need stdafx.h library, I removed it by going to Project menu, then click Properties or [name of our project] Properties or simply press Alt + F7.

share|improve this answer answered Oct 18 '12 at 6:48 MiddleKay 88212 add a comment| up vote 1 down vote If you do not use precompiled headers in your project, set the 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 Outside of your DOS world, your header file is meaningless. Click on properties.

Recommended Version This documentation is archived and is not being maintained. Thanks once again. It worked!!! Fatal Error C1010 Visual Studio 2008 Other Versions Visual Studio 2015 Visual Studio 2013 Visual Studio 2012 Visual Studio 2010 Visual Studio 2005 Visual Studio .NET 2003 unexpected end of file

When compils it it shows "fatal error C1010: unexpected end of file while looking for precompiled header directive". If you didn't, then make sure #include "stdafx.h" is the first line in your .cpp file, otherwise you will see the same error even if you've included "stdafx.h" in your source How much interest should I pay on a loan from a friend? Why is absolute zero unattainable?

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 Originally Posted by Adak io.h certainly IS included in some modern compilers. Under 'Create/Use Precompiled Headers', select 'Not Using Precompiled Headers' 2006-03-14, 10:53:18 anonymous from United States What if you are writing code that's not windows specific? share|improve this answer answered Jan 15 '12 at 22:59 Wacek 2,82611126 3 This answer solved the problem –Mina Samy Nov 29 '12 at 10:46 I was following the

Thats not possible. On the right side of the window you'll get three properties. Topic archived. All rights reserved.

Top Back to original post Leave a Comment Please sign in to add a comment. current community chat Stack Overflow Meta Stack Overflow your communities Sign up or log in to customize your list. No new replies allowed. Click the Precompiled Headers node.

when I included the stdafx.h it shows 3 erros where as 1 before. Choose precompiled Headers. D.K.Kundu\My Documents\Visual Studio 2008\Projects\constructor\Debug\constructor.exe : fatal error LNK1169: one or more multiply defined symbols found" Sep 22, 2008 at 2:29pm UTC helios (13230) Sigh..................... Please let me know if you still have any issue.

When i created my console application, VS automatically puts a #include "stdafx." directive at the top of the main file. Could any one tell me what's the reason behind and how to fix the problem? To set this compiler option, follow these steps: In the Solution Explorer pane of the project, right-click the project name, and then click Properties. If I include 'stdafx.h' in the source file, UNIX's gcc compiler doesn't have that file.

CornedBee "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code." - How is the Heartbleed exploit even possible? if anyone can help me to fix it then it will be great help for me.i use headers like iostream.h,stdlib.h etc many more. 2006-08-10, 23:30:30 Dinesh from Singapore I am Sunday, November 01, 2009 2:20 PM Reply | Quote 0 Sign in to vote Thanks ..