Fatal Error Stdafx.h No Such File Or Directory Compilation Terminated
Contents |
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 stdafx.h no such file or directory linux Stack Overflow the company Business Learn more about hiring developers or posting ads with stdafx.h no such file or directory mingw us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is rpc.h: no such file or directory a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Error C1083: Cannot open include file: 'stdafx.h' up vote 5 down vote favorite
Stdafx.h Cannot Open Source File
When I compiled this program (from Programmin Launguage 4th edition): main.cpp #include
Get Kubuntu Get Xubuntu Get Lubuntu Get UbuntuStudio Get Mythbuntu Get Edubuntu Get Ubuntu-GNOME Get UbuntuKylin Ubuntu Code of Conduct Ubuntu Wiki Community Wiki Other cannot open source file stdafx cpp no such file or directory Support Launchpad Answers Ubuntu IRC Support AskUbuntu Official Documentation User Documentation Social Media
Stdafx.h Download
Facebook Twitter Useful Links Distrowatch Bugs: Ubuntu PPAs: Ubuntu Web Upd8: Ubuntu OMG! Ubuntu Ubuntu Insights Planet Ubuntu
Gcc Stdafx.h: No Such File Or Directory
Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk stdafx.h missing!! Having an Issue With Posting ? Do http://stackoverflow.com/questions/26330178/error-c1083-cannot-open-include-file-stdafx-h you want to help us debug the posting issues ? < is the place to report it, thanks ! Results 1 to 3 of 3 Thread: stdafx.h missing!! Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode June 15th, 2009 #1 Dark-Byte View Profile View Forum Posts Private Message First Cup of https://ubuntuforums.org/showthread.php?t=1187891 Ubuntu Join Date Jun 2009 Beans 9 stdafx.h missing!! Hi I am getting a problem with the g++compiler because I wrote a program in C++ that makes use of the stdafx.h library and when I try to compile the program it displays an error: test.cc:1:20: error: stdafx.h: No such file or directory How should I fix this? Adv Reply June 15th, 2009 #2 jespdj View Profile View Forum Posts Private Message I Ubuntu, Therefore, I Am Join Date Jun 2006 Location The Netherlands Beans 2,185 DistroUbuntu 12.04 Precise Pangolin Re: stdafx.h missing!! As far as I know, stdafx.h is a Microsoft Windows-specific header file. It does not exist on Linux or other operating systems. What does your code look like? Why does it need stdafx.h? Are you trying to compile a program written for Windows on Ubuntu? Ubuntu 12.04 Adv Reply June 15th, 2009 #3 Zugzwang View Profile View Forum Posts Private Message Ubuntu Cappuccino Scuro Join Date Oct 2007 Beans 1,914 DistroLubuntu 12.10 Quantal Quetzal Re: stdafx.h missing!! Originally Posted by Dark-Byte How should I fix this? Rewrite it such that
Programming Boards C++ Programming stdafx.h: no such file or directory - what to do? Getting started with C or C++ | C Tutorial | C++ Tutorial | C http://cboard.cprogramming.com/cplusplus-programming/122890-stdafx-h-no-such-file-directory-what-do.html and C++ FAQ | Get a compiler | Fixes for common problems Thread: stdafx.h: no such file or directory - what to do? Thread Tools Show Printable Version Email this Page… Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode 12-24-2009 #1 splazz View Profile View Forum Posts Registered User Join Date Dec 2009 Posts 2 stdafx.h: no such file or directory - no such what to do? hi everybody i'm brand new in this area - i have read the C++ tutorial and began with the OpenGL tuts. i have made it as far as "A First Windows Application" (A First Windows Application - Cprogramming.com), where i copied the code example into Code::Blocks to see how it works - but i doesn't :S i get the error: "stdafx.h: No such file or directory" no such file i've searched my entire pc for that file, but it doesnt seems to exist - what should i do? thanks in advance from the all green cpp-programmer merry christmas //splazz 12-24-2009 #2 laserlight View Profile View Forum Posts Visit Homepage C++ Witch Join Date Oct 2003 Location Singapore Posts 25,450 Just remove the line of code that involves "stdafx.h". You can about what it means later as it is not important to you right now. Originally Posted by Bjarne Stroustrup (2000-10-14) I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool. Look up a C++ Reference and learn How To Ask Questions The Smart Way 12-24-2009 #3 Elysia View Profile View Forum Posts C++まいる!Cをこわせ! Join Date Oct 2007 Posts 24,473 Using Visual Studio by any chance? If so, then you might want to look into precompiled headers. Either use it or disable it. http://msdn.microsoft.com/en-us/libr...8VS.71%29.aspx Originall