What does fatal compile error C1083: Cannot open s

2019-09-08 08:36发布

问题:

Error 1 fatal error C1083: Cannot open source file: 'FpDebug/BalanceGrabber.pch': No such file or directory c1xx

回答1:

Is one of your cpp files configured to generate the precompiled header? I think this is missing. In the project settings/makefile or whatever you use you have to create the pch (precompiled header) first!



回答2:

Check your path: specifically, does FpDebug/BalanceGrabber.pch exist?

Or can you specify an absolute path for that .pch file? i.e., C:\development\FpDebug/BalanceGrabber.pch



回答3:

The error message is given because a source file is not found during compilation/linking. You nee to check the spelling of the names and the search paths. And of course, check if the file is at the requested location.