I have inherited a significant piece of C++ code that compiles as a DLL, and is in turn called by a Fortran model I am running. Up until now I have always run it in Debug configuration, and all seems well.
I am using VS2008 with Intel Fortran integrated therein.
I have no prior experience with PCHs, nor really much with C++, but when I initially switched the config and rebuilt for Release I got messages to the effect of either turn off use PCH or add #include stdAfx. I eventually found that in the Release build /Yu had been automatically turned on, which was not the case for the working Debug versions.
So I turned off use PCH, but now when I try and build the C++ project it appears that none of the hpp files can be found (though at PCH errors have gone).