Hello all,
I recently migrated my build environment to the SDK 3.5 from the one sent
with CW R6 on Windows.
However, despite following the directions in the Stationary, I am unable to
get precompiled headers to work on my C++ project.
When I add the PalmOS.pch file, it compiles it fine but says:
Error : ### Error while creating precompiled headerfile (OSErr -120) ###
Project: Abologna.mcp, Target: Abologna, Source File: PalmOS.pch
It does this if I add the file in the Incs dir to my project or another copy
of it in my source tree to my project.
As that file isn't built, the "PalmOS_Headers" prefix file doesn't work
either, so nothing compiles.
Without these precompiled headers, my build takes (not quite, but close)
forever. It has to run through over 200,000 lines of headers each file to be
compiled, and it greatly slows things down.
Does anyone have any suggestions for getting Precompiled Headers to work
with 3.5 and a C++ project?
Thanks,
Doug
Here is the note from the PalmOS.pch file:
* To use precompiled headers, add this file to your application project,
* and add the output filename ("PalmOS_Headers" for device builds, or
* "PalmOS_Sim_Headers" for simulator builds) to the "Prefix File" field
* of the "C/C++ Language" project settings panel.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html