|
-
October 16th, 2006, 11:03 PM
#1
Error Message
Can any help me out with a problem I am having. It seems that I have an error that I can't figure out. I cannot make a C++ program because i recieve an error: Error 1 fatal error C1083: Cannot open precompiled header file: 'Debug\Program.pch': No such file or directory c:\westwood\cs210\program\program\main.cpp 3
If anyone can help that would be great. I have tried to reinstall but the directory isn't there. I do have VS on my back-up computer and i works fine, but I need it on my main computer.
-
October 16th, 2006, 11:53 PM
#2
Re: Error Message
 Originally Posted by Zoogy83
error: Error 1 fatal error C1083: Cannot open precompiled header file: 'Debug\Program.pch': No such file or directory c:\westwood\cs210\program\program\main.cpp 3
Have you build the project, if you have compiled the class, first build the project and try to compile classes there after.
Thanx
dwurity
-
October 17th, 2006, 12:09 AM
#3
Re: Error Message
Delete your Debug Folder From your WorkSpace and Onve Again rebuild your Project.
Thanx
-
October 17th, 2006, 12:32 AM
#4
Re: Error Message
That still didn't work, it seems that something is missing! The "stdafx" files don't show up. Do you guys have anyother tips for me?
thanks
-
October 17th, 2006, 12:49 AM
#5
Re: Error Message
Some Point from MSDN
Code:
Tips
This error can occur if the file, subdirectory, or disk on which it
resides is read-only. In this case, make the file writable or move the
file to a writable disk. See your operating system documentation for
information on removing the read-only attribute from a file.
This error may be caused by not having enough file handles. Close
some open applications and recompile.
Trying to open a file or directory for which you do not have
permission can cause this error. Move the file to a directory where
you do have access privileges, or ask your network administrator to
grant you access to the file.
If an include file could not be opened, check that the INCLUDE
environment variable is set correctly and that the name of the file is
spelled correctly.
Using double quotation marks around a complete path specification in
a #include directive causes the standard directories to NOT be
searched. See The #include Directive
<_predir_the_.23.include_directive.htm> in the Preprocessor
Reference for more information.
Thanx
Last edited by humptydumpty; October 17th, 2006 at 12:51 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|