Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



How to open precompiled header file stating an error no such file found

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 26-06-2011
Member
 
Join Date: Sep 2010
Posts: 77
How to open precompiled header file stating an error no such file found
  

Hi I was currently developing a program in c++ for this I知 using the visual studio 2005 which is an express beta version. While writing the program I had come up with a few issues in my program. Whenever I知 trying to execute the program it states a fatal error C1083 and gives an error message saying that precompiled file which is a header file for 'Debug\test4.pch' saying that file or directory for a file is not found. Please help me regarding this.

Reply With Quote
  #2  
Old 26-06-2011
Member
 
Join Date: May 2009
Posts: 523
Re: How to open precompiled header file stating an error no such file found

You can easily do this manually just go to explorer and then right click on the file name which is given under the source after that from there you select properties then search for precompiled headers and then from there you need to select not using pre compiled header. This will automatically fix you an error if you are still persisting with the same the just make a bit search on the net. You don稚 need to do much just need to do setting in visual c++.
Reply With Quote
  #3  
Old 26-06-2011
Member
 
Join Date: Apr 2009
Posts: 484
Re: How to open precompiled header file stating an error no such file found

If you don稚 get the things done by selecting the option from the file menu then go to the folder where you had saved your project and from there simply delete a debug folder. by doing this it will going to erase all your previous header file make sure that you had not change anything in the precompiled header as when it is compile it state that error as your using the pre compiled header. Hope this will going to help to resolved your error.
Reply With Quote
  #4  
Old 26-06-2011
Member
 
Join Date: May 2009
Posts: 532
Re: How to open precompiled header file stating an error no such file found

Even I used visual c++ for developing the project and whenever I used visual studio for c++ I always disabled the precompiled header. I知 searching for portable code which compiles my program fast. I had even replace my program header file from #include <iostream> now I知 using #include "iostream.h" as a header file as it was an out of date header file. Does anyone know will it effect in my compilation of program or wether iostream.h exits in visual c++ or no.
Reply With Quote
  #5  
Old 26-06-2011
Member
 
Join Date: Mar 2010
Posts: 153
Re: How to open precompiled header file stating an error no such file found

Search for the file stdafx.cpp and change its value to /yc you can do this by opening visual c++ in that go to properties and from there select c/c++ and in that go to precompiled headers in that cerate /yc I知 not sure but maybe this may help you as I知 not much familiar with c++ program. You can delete the header log file if the permission is denied than that mean it is in used with some other program so turn off the entire program or restart your pc then try to delete it.
Reply With Quote
  #6  
Old 26-06-2011
Member
 
Join Date: May 2009
Posts: 524
Re: How to open precompiled header file stating an error no such file found

Just check your program and see wether you had included the header in the VS. After that in visual studio go to tools and from there select the option and then search for the project and solution and from there go to VC++ directories from there you can check for it. I知 not much good in c++ so I don稚 know much about but I usually use visual studio for developing the project using c#.net and sql server 2008.
Reply With Quote
  #7  
Old 27-06-2011
Member
 
Join Date: Apr 2009
Posts: 567
Re: How to open precompiled header file stating an error no such file found

You must 1st understand about the wxWidgets to solve an fatal error wxWidgets is not build to useable libraries when your installing the wxMSW throught the installer. This might be due to lots of configurable elements, which is what exactly the setup.h you referred for it. You can easily build this quickly by doing the things manually search for it on net to how to do it manually or ask someone who know well about it.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How to open precompiled header file stating an error no such file found"
Thread Thread Starter Forum Replies Last Post
File not found error on open and closing project file Umedd Microsoft Project 4 30-03-2012 08:46 PM
Recovery failed stating error factory reset was not found in hp pavilion dv6 Badrinath18 Portable Devices 5 13-07-2011 08:52 PM
Dead space 2 error while installation "Source file not found: (file destination)...Verify that file exists Ucchal Video Games 3 28-01-2011 06:26 AM
Acrobat reader can't open file 'xxxxx.pdf' because it is not a supported file error Vayya Windows Software 4 02-07-2010 07:32 AM
"this file could not be found" - Windows Mail cant open attached file attitude.ashwin Windows Vista Mail 2 11-06-2009 04:14 AM


All times are GMT +5.5. The time now is 11:20 AM.