Builder 10.4 With TwineCompile5.3.2 about PreHeader Error

TwineCompile - Cut C++Builder compile times by up to 50x!
jomitech
Site Admin
Posts: 2175
Joined: Wed Oct 08, 2008 12:23 am

Re: Builder 10.4 With TwineCompile5.3.2 about PreHeader Error

Post by jomitech »

Make sure that you have pre-compiled headers set to Generate and Use in the project options. See the following screenshot.

Screenshot 2024-07-02 220151.png
(139.72 KiB) Not downloaded yet
Jon
rjsgml3736
Posts: 7
Joined: Sat Jun 29, 2024 1:11 am

Re: Builder 10.4 With TwineCompile5.3.2 about PreHeader Error

Post by rjsgml3736 »

Hello, the preheader settings for the project are configured as shown in the photo you sent, but the preheader is still not compiling and the same error is occurring. I hope the issue can be resolved quickly.
Attachments
PreHeaderSetting.JPG
(75.81 KiB) Not downloaded yet
jomitech
Site Admin
Posts: 2175
Joined: Wed Oct 08, 2008 12:23 am

Re: Builder 10.4 With TwineCompile5.3.2 about PreHeader Error

Post by jomitech »

Please send your .cbproj file to support@jomitech.com - something is configured so that the project is not treating the PCH file as a PCH file.
Jon
jomitech
Site Admin
Posts: 2175
Joined: Wed Oct 08, 2008 12:23 am

Re: Builder 10.4 With TwineCompile5.3.2 about PreHeader Error

Post by jomitech »

Thanks for sending the .cbproj file over. It looks like both ERROR_DEF.H and VS_FMX4_PCH1.h have been set as PCH files in the project. Based on the other settings, it looks like only VS_FMX4_PCH1.h should be. Remove ERROR_DEF.H from the project, so it is no longer treated as a PCH file, and everything should work correctly.
Jon
Post Reply